Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580216 - sys-kernel/gentoo-sources-4.4.5: BUG: Bad page state in process xfs_fsr pfn:58ece
Summary: sys-kernel/gentoo-sources-4.4.5: BUG: Bad page state in process xfs_fsr pfn:...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-16 11:54 UTC by Jochen Schlick
Modified: 2017-10-04 19:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schlick 2016-04-16 11:54:57 UTC
dmesg shows:


[384939.327236] BUG: Bad page state in process xfs_fsr  pfn:58ece
[384939.327239] page:ffffea000163b380 count:-1 mapcount:0 mapping:          (null) index:0x0
[384939.327241] flags: 0x1fff8000000000()
[384939.327242] page dumped because: nonzero _count
[384939.327243] Modules linked in: usblp squashfs nf_log_ipv4 nf_log_common xt_LOG xt_nat ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_recent xt_comment xt_iprange iptable_nat nf_nat_ipv4 nf_nat ipt_REJECT nf_reject_ipv4 xt_addrtype xt_mark iptable_mangle nf_conntrack_ftp nf_conntrack_sip nf_conntrack_irc nf_conntrack_snmp nf_conntrack_tftp nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_sane nf_conntrack_h323 ts_kmp nf_conntrack_amanda nf_conntrack_pptp nf_conntrack_proto_gre xt_tcpudp xt_CT iptable_raw xt_multiport nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables x_tables cpufreq_ondemand cpufreq_userspace cpufreq_powersave veth bridge stp llc tun ipv6 nct6775 hwmon_vid binfmt_misc intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp mxm_wmi kvm_intel
[384939.327274]  kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel snd_hda_codec_hdmi serio_raw joydev uio_pdrv_genirq pcspkr fjes snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer i2c_i801 i915 drm_kms_helper lpc_ich drm battery video button intel_gtt snd shpchp wmi aesni_intel lrw glue_helper ablk_helper cryptd aes_x86_64 iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi vmxnet3 tg3 libphy sky2 r8169 pcnet32 mii igb ptp pps_core dca i2c_algo_bit e1000 bnx2 atl1c fuse nfs lockd grace sunrpc fscache jfs reiserfs btrfs multipath dm_raid dm_snapshot dm_bufio dm_crypt dm_mirror dm_region_hash dm_log hid_sunplus hid_sony hid_samsung hid_pl hid_petalynx hid_logitech_dj hid_gyration sl811_hcd usbhid xhci_pci xhci_hcd ohci_hcd uhci_hcd
[384939.327316]  usb_storage ehci_pci ehci_hcd usbcore usb_common scsi_transport_fc sx8 cciss 3w_xxxx dmx3191d sym53c8xx gdth advansys initio BusLogic aic7xxx aic79xx scsi_transport_spi sg sata_inic162x sata_mv ata_piix sata_sil24 pata_marvell pata_oldpiix pata_mpiix
[384939.327330] CPU: 1 PID: 24722 Comm: xfs_fsr Tainted: G    B           4.4.5-gentoo #1
[384939.327331] Hardware name: MSI MS-7924/Z97M-G43(MS-7924), BIOS V1.8 12/26/2014
[384939.327332]  0000000000000000 ffff880237597800 ffffffff813818d3 ffffea000163b380
[384939.327335]  ffffffff819d8910 ffff880237597828 ffffffff8110e721 ffffffff819d88ee
[384939.327337]  ffffea000163b3c0 ffff88041fdda780 ffff8802375978f0 ffffffff81111c4a
[384939.327339] Call Trace:
[384939.327344]  [<ffffffff813818d3>] dump_stack+0x63/0x90
[384939.327347]  [<ffffffff8110e721>] bad_page+0xc1/0x110
[384939.327350]  [<ffffffff81111c4a>] get_page_from_freelist+0x37a/0x9c0
[384939.327353]  [<ffffffff812a6fd9>] ? xfs_buf_read_map+0x29/0xd0
[384939.327355]  [<ffffffff81112512>] __alloc_pages_nodemask+0x192/0xa40
[384939.327357]  [<ffffffff81111d2e>] ? get_page_from_freelist+0x45e/0x9c0
[384939.327360]  [<ffffffff810a2cf9>] ? down_trylock+0x29/0x40
[384939.327362]  [<ffffffff812a67f2>] ? _xfs_buf_find+0x142/0x2d0
[384939.327364]  [<ffffffff8115be77>] ? __kmalloc+0xa7/0x120
[384939.327367]  [<ffffffff81151637>] alloc_pages_current+0x87/0x110
[384939.327369]  [<ffffffff812a554f>] xfs_buf_allocate_memory+0x1df/0x2d0
[384939.327371]  [<ffffffff812a6a3b>] xfs_buf_get_map+0xbb/0x160
[384939.327373]  [<ffffffff812a6fd9>] xfs_buf_read_map+0x29/0xd0
[384939.327375]  [<ffffffff812a70cd>] xfs_buf_readahead_map+0x4d/0x70
[384939.327378]  [<ffffffff8128294e>] xfs_btree_reada_bufs+0x4e/0x50
[384939.327380]  [<ffffffff812b89c3>] xfs_bulkstat_ichunk_ra.isra.5+0xd3/0x110
[384939.327382]  [<ffffffff81280e0d>] ? xfs_btree_rec_addr+0xd/0x20
[384939.327384]  [<ffffffff812b8f76>] xfs_bulkstat+0x2d6/0x6f0
[384939.327386]  [<ffffffff812b8c80>] ? xfs_bulkstat_one_int+0x280/0x280
[384939.327389]  [<ffffffff812aeeec>] xfs_ioc_bulkstat+0xcc/0x180
[384939.327391]  [<ffffffff812b11c2>] xfs_file_ioctl+0x712/0xaf0
[384939.327392]  [<ffffffff812b4dbe>] ? xfs_iunlock+0x3e/0xa0
[384939.327394]  [<ffffffff8108f6b8>] ? update_curr+0xa8/0xf0
[384939.327396]  [<ffffffff8108bc07>] ? __enqueue_entity+0x67/0x70
[384939.327398]  [<ffffffff81092dff>] ? set_next_entity+0x9f/0x810
[384939.327400]  [<ffffffff8108c38d>] ? pick_next_entity+0xad/0x190
[384939.327403]  [<ffffffff8100e6e4>] ? __switch_to+0x264/0x560
[384939.327406]  [<ffffffff81188a75>] do_vfs_ioctl+0x2b5/0x490
[384939.327408]  [<ffffffff81192010>] ? __fget_light+0x40/0x60
[384939.327410]  [<ffffffff81188cc4>] SyS_ioctl+0x74/0x80
[384939.327414]  [<ffffffff817356f6>] entry_SYSCALL_64_fastpath+0x16/0x75

The concerning XFS-partitions (all with V5 disk format) are correct (at least xfs_repair said this)
Comment 1 Jochen Schlick 2016-05-08 22:34:39 UTC
- the concerning 1TB partition is on an Intenso 3TB external USB harddisk
 (maybe a hardware/USB/SATA issue)
- reformatting with XFS doesn't help. After copying the data to this partition again, xfs_fsr still fails with the bad page state.
- It's definitely not a disk format V5 issue - it happens with older format too.
Comment 2 Mike Pagano gentoo-dev 2017-03-03 00:35:15 UTC
Is this still an issue with later kernels?