dmesg error in xfs_aops.c on kernel 3.14.21
Hi,
I'm running 3.14.21, and got these traces in dmesg; they appear to be from xfs:
[56180.816526] ------------[ cut here ]------------ [56180.816550] WARNING: CPU: 5 PID: 67 at fs/xfs/xfs_aops.c:1172 xfs_vm_releasepage+0x9e/0xb0 [xfs]() [56180.816551] Modules linked in: bsd_comp ppp_synctty ppp_async crc_ccitt ppp_generic slhc nvidia(PO) nct6775 hwmon_vid nfsd ipv6 ipt_MASQUERADE xt_conntrack iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables pcmcia pcmcia_core nls_utf8 isofs agpgart fuse or51132 snd_usb_audio snd_usbmidi_lib cx88_dvb videobuf_dvb dvb_core cx88_vp3054_i2c snd_hwdep snd_pcm ir_mce_kbd_decoder ir_lirc_codec lirc_dev ir_sony_decoder ir_nec_decoder ir_sanyo_decoder ir_rc6_decoder ir_rc5_decoder ir_jvc_decoder snd_rawmidi rc_hauppauge tuner_simple tuner_types tda9887 tda8290 tuner snd_seq_device x86_pkg_temp_thermal snd_timer coretemp cx8800 kvm_intel cx8802 cx88xx tveeprom btcx_risc videobuf_dma_sg videobuf_core snd i2c_algo_bit rc_core kvm crc32c_intel v4l2_common i2c_dev usb_storage r8169 videodev i2c_i801 processor microcode soundcore thermal_sys i2c_core mii lpc_ich hwmon mfd_core evdev mxm_wmi wmi button loop hid_generic xhci_hcd uhci_hcd ohci_hcd ehci_pci ehci_hcd usbhid hid pata_jmicron xfs ext3 jbd ext2 mbcache raid456 async_raid6_recov async_memcpy async_pq raid6_pq async_xor xor async_tx [last unloaded: nvidia] [56180.816581] CPU: 5 PID: 67 Comm: kswapd0 Tainted: P O 3.14.21be-dirty #1 [56180.816582] Hardware name: System manufacturer System Product Name/SABERTOOTH X79, BIOS 4608 12/24/2013 [56180.816583] 00000000 00000000 e8ff5d48 c14d69b3 00000000 e8ff5d78 c104348e c15d9f44 [56180.816586] 00000005 00000043 f3b72e77 00000494 f3afbdbe f3afbdbe f3afbd20 00000000 [56180.816588] edcd43c0 e8ff5d88 c1043552 00000009 00000000 e8ff5db0 f3afbdbe 00000000 [56180.816590] Call Trace: [56180.816594] [<c14d69b3>] dump_stack+0x41/0x52 [56180.816597] [<c104348e>] warn_slowpath_common+0x7e/0xa0 [56180.816604] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.816609] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.816615] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.816616] [<c1043552>] warn_slowpath_null+0x22/0x30 [56180.816621] [<f3afbdbe>] xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.816627] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.816629] [<c10ebdd3>] try_to_release_page+0x33/0x50 [56180.816632] [<c10fbfca>] shrink_active_list+0x28a/0x290 [56180.816634] [<c10fc453>] shrink_zone+0x483/0x6f0 [56180.816636] [<c10f8f49>] ? zone_balanced+0x29/0x70 [56180.816637] [<c10fcfae>] kswapd+0x3fe/0x890 [56180.816639] [<c10fcbb0>] ? try_to_free_pages+0x4f0/0x4f0 [56180.816642] [<c1060121>] kthread+0xa1/0xc0 [56180.816644] [<c14dd137>] ret_from_kernel_thread+0x1b/0x28 [56180.816646] [<c1060080>] ? kthread_create_on_node+0x110/0x110 [56180.816647] ---[ end trace f7821664f1bc8f4b ]--- [56180.821101] ------------[ cut here ]------------ [56180.821109] WARNING: CPU: 5 PID: 67 at fs/xfs/xfs_aops.c:1172 xfs_vm_releasepage+0x9e/0xb0 [xfs]() [56180.821110] Modules linked in: bsd_comp ppp_synctty ppp_async crc_ccitt ppp_generic slhc nvidia(PO) nct6775 hwmon_vid nfsd ipv6 ipt_MASQUERADE xt_conntrack iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables pcmcia pcmcia_core nls_utf8 isofs agpgart fuse or51132 snd_usb_audio snd_usbmidi_lib cx88_dvb videobuf_dvb dvb_core cx88_vp3054_i2c snd_hwdep snd_pcm ir_mce_kbd_decoder ir_lirc_codec lirc_dev ir_sony_decoder ir_nec_decoder ir_sanyo_decoder ir_rc6_decoder ir_rc5_decoder ir_jvc_decoder snd_rawmidi rc_hauppauge tuner_simple tuner_types tda9887 tda8290 tuner snd_seq_device x86_pkg_temp_thermal snd_timer coretemp cx8800 kvm_intel cx8802 cx88xx tveeprom btcx_risc videobuf_dma_sg videobuf_core snd i2c_algo_bit rc_core kvm crc32c_intel v4l2_common i2c_dev usb_storage r8169 videodev i2c_i801 processor microcode soundcore thermal_sys i2c_core mii lpc_ich hwmon mfd_core evdev mxm_wmi wmi button loop hid_generic xhci_hcd uhci_hcd ohci_hcd ehci_pci ehci_hcd usbhid hid pata_jmicron xfs ext3 jbd ext2 mbcache raid456 async_raid6_recov async_memcpy async_pq raid6_pq async_xor xor async_tx [last unloaded: nvidia] [56180.821137] CPU: 5 PID: 67 Comm: kswapd0 Tainted: P W O 3.14.21be-dirty #1 [56180.821138] Hardware name: System manufacturer System Product Name/SABERTOOTH X79, BIOS 4608 12/24/2013 [56180.821138] 00000000 00000000 e8ff5d48 c14d69b3 00000000 e8ff5d78 c104348e c15d9f44 [56180.821140] 00000005 00000043 f3b72e77 00000494 f3afbdbe f3afbdbe f3afbd20 00000000 [56180.821143] f07f2660 e8ff5d88 c1043552 00000009 00000000 e8ff5db0 f3afbdbe 00000000 [56180.821145] Call Trace: [56180.821146] [<c14d69b3>] dump_stack+0x41/0x52 [56180.821148] [<c104348e>] warn_slowpath_common+0x7e/0xa0 [56180.821154] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.821160] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.821165] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.821167] [<c1043552>] warn_slowpath_null+0x22/0x30 [56180.821172] [<f3afbdbe>] xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.821177] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.821179] [<c10ebdd3>] try_to_release_page+0x33/0x50 [56180.821181] [<c10fbfca>] shrink_active_list+0x28a/0x290 [56180.821182] [<c10fc453>] shrink_zone+0x483/0x6f0 [56180.821184] [<c10f8f49>] ? zone_balanced+0x29/0x70 [56180.821186] [<c10fcfae>] kswapd+0x3fe/0x890 [56180.821188] [<c10fcbb0>] ? try_to_free_pages+0x4f0/0x4f0 [56180.821189] [<c1060121>] kthread+0xa1/0xc0 [56180.821191] [<c14dd137>] ret_from_kernel_thread+0x1b/0x28 [56180.821192] [<c1060080>] ? kthread_create_on_node+0x110/0x110 [56180.821193] ---[ end trace f7821664f1bc8f4c ]---
Can anyone tell me what these mean and if they might be bad?
thanks,
Bill
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 7 lines · BillStuff
Hi,
I'm running 3.14.21, and got these traces in dmesg; they appear to be from xfs:
[56180.816526] ------------[ cut here ]------------ [56180.816550] WARNING: CPU: 5 PID: 67 at fs/xfs/xfs_aops.c:1172
if (WARN_ON(delalloc)) return 0;
So this generally looks like stale delalloc blocks on a page that is reclaimed/invalidated or otherwise expected to be clean. We've been seeing this a lot over the past few kernel releases and there have been a variety of fixes in error paths and such so it's hard to say precisely what might be causing this. Some examples:
aad3f375 xfs: xfs_vm_write_end truncates too much on failure 72ab70a1 xfs: write failure beyond EOF truncates too much data 4ab9ed57 xfs: kill buffers over failed write ranges properly
It looks like those are in the stable tree as of 3.15, so you could give that a try and see if it helps. Otherwise, can you post xfs_info for the filesytem? Do you have particular workloads or sequences of operations that tend to reproduce this?
Brian
Quoted 99 lines
xfs_vm_releasepage+0x9e/0xb0[xfs]()[56180.816551] Modules linked in: bsd_comp ppp_synctty ppp_async crc_ccitt
ppp_genericslhc nvidia(PO) nct6775hwmon_vidnfsd ipv6ipt_MASQUERADExt_conntrackiptable_natnf_conntrack_ipv4nf_defrag_ipv4nf_nat_ipv4nf_natnf_conntrackiptable_filterip_tablesx_tablespcmciapcmcia_corenls_utf8isofs agpgart fuse or51132snd_usb_audiosnd_usbmidi_libcx88_dvbvideobuf_dvbdvb_corecx88_vp3054_i2csnd_hwdepsnd_pcmir_mce_kbd_decoderir_lirc_codeclirc_devir_sony_decoderir_nec_decoderir_sanyo_decoderir_rc6_decoderir_rc5_decoderir_jvc_decodersnd_rawmidirc_hauppaugetuner_simpletuner_typestda9887 tda8290 tunersnd_seq_devicex86_pkg_temp_thermalsnd_timercoretemp cx8800kvm_intelcx8802 cx88xx tveeprombtcx_riscvideobuf_dma_sgvideobuf_coresndi2c_algo_bitrc_corekvmcrc32c_intelv4l2_commoni2c_devusb_storager8169 videodevi2c_i801processor microcode soundcorethermal_sysi2c_coremiilpc_ichhwmonmfd_coreevdevmxm_wmiwmi button loophid_genericxhci_hcduhci_hcdohci_hcdehci_pciehci_hcdusbhid hidpata_jmicronxfs ext3 jbd ext2 mbcache raid456async_raid6_recovasync_memcpyasync_pqraid6_pqasync_xorxorasync_tx[last unloaded: nvidia][56180.816581] CPU: 5 PID: 67 Comm: kswapd0 Tainted: P O 3.14.21be-dirty #1 [56180.816582] Hardware name: System manufacturer System Product Name/SABERTOOTH X79, BIOS 4608 12/24/2013 [56180.816583] 00000000 00000000 e8ff5d48 c14d69b3 00000000 e8ff5d78 c104348e c15d9f44 [56180.816586] 00000005 00000043 f3b72e77 00000494 f3afbdbe f3afbdbe f3afbd20 00000000 [56180.816588] edcd43c0 e8ff5d88 c1043552 00000009 00000000 e8ff5db0 f3afbdbe 00000000 [56180.816590] Call Trace: [56180.816594] [<c14d69b3>] dump_stack+0x41/0x52 [56180.816597] [<c104348e>] warn_slowpath_common+0x7e/0xa0 [56180.816604] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.816609] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.816615] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.816616] [<c1043552>] warn_slowpath_null+0x22/0x30 [56180.816621] [<f3afbdbe>] xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.816627] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.816629] [<c10ebdd3>] try_to_release_page+0x33/0x50 [56180.816632] [<c10fbfca>] shrink_active_list+0x28a/0x290 [56180.816634] [<c10fc453>] shrink_zone+0x483/0x6f0 [56180.816636] [<c10f8f49>] ? zone_balanced+0x29/0x70 [56180.816637] [<c10fcfae>] kswapd+0x3fe/0x890 [56180.816639] [<c10fcbb0>] ? try_to_free_pages+0x4f0/0x4f0 [56180.816642] [<c1060121>] kthread+0xa1/0xc0 [56180.816644] [<c14dd137>] ret_from_kernel_thread+0x1b/0x28 [56180.816646] [<c1060080>] ? kthread_create_on_node+0x110/0x110 [56180.816647] ---[ end trace f7821664f1bc8f4b ]--- [56180.821101] ------------[ cut here ]------------ [56180.821109] WARNING: CPU: 5 PID: 67 at fs/xfs/xfs_aops.c:1172 xfs_vm_releasepage+0x9e/0xb0 [xfs]() [56180.821110] Modules linked in: bsd_comp ppp_synctty ppp_async crc_ccitt
ppp_genericslhc nvidia(PO) nct6775hwmon_vidnfsd ipv6ipt_MASQUERADExt_conntrackiptable_natnf_conntrack_ipv4nf_defrag_ipv4nf_nat_ipv4nf_natnf_conntrackiptable_filterip_tablesx_tablespcmciapcmcia_corenls_utf8isofs agpgart fuse or51132snd_usb_audiosnd_usbmidi_libcx88_dvbvideobuf_dvbdvb_corecx88_vp3054_i2csnd_hwdepsnd_pcmir_mce_kbd_decoderir_lirc_codeclirc_devir_sony_decoderir_nec_decoderir_sanyo_decoderir_rc6_decoderir_rc5_decoderir_jvc_decodersnd_rawmidirc_hauppaugetuner_simpletuner_typestda9887 tda8290 tunersnd_seq_devicex86_pkg_temp_thermalsnd_timercoretemp cx8800kvm_intelcx8802 cx88xx tveeprombtcx_riscvideobuf_dma_sgvideobuf_coresndi2c_algo_bitrc_corekvmcrc32c_intelv4l2_commoni2c_devusb_storager8169 videodevi2c_i801processor microcode soundcorethermal_sysi2c_coremiilpc_ichhwmonmfd_coreevdevmxm_wmiwmi button loophid_genericxhci_hcduhci_hcdohci_hcdehci_pciehci_hcdusbhid hidpata_jmicronxfs ext3 jbd ext2 mbcache raid456async_raid6_recovasync_memcpyasync_pqraid6_pqasync_xorxorasync_tx[last unloaded: nvidia][56180.821137] CPU: 5 PID: 67 Comm: kswapd0 Tainted: P W O 3.14.21be-dirty #1 [56180.821138] Hardware name: System manufacturer System Product Name/SABERTOOTH X79, BIOS 4608 12/24/2013 [56180.821138] 00000000 00000000 e8ff5d48 c14d69b3 00000000 e8ff5d78 c104348e c15d9f44 [56180.821140] 00000005 00000043 f3b72e77 00000494 f3afbdbe f3afbdbe f3afbd20 00000000 [56180.821143] f07f2660 e8ff5d88 c1043552 00000009 00000000 e8ff5db0 f3afbdbe 00000000 [56180.821145] Call Trace: [56180.821146] [<c14d69b3>] dump_stack+0x41/0x52 [56180.821148] [<c104348e>] warn_slowpath_common+0x7e/0xa0 [56180.821154] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.821160] [<f3afbdbe>] ? xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.821165] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.821167] [<c1043552>] warn_slowpath_null+0x22/0x30 [56180.821172] [<f3afbdbe>] xfs_vm_releasepage+0x9e/0xb0 [xfs] [56180.821177] [<f3afbd20>] ? xfs_count_page_state+0x60/0x60 [xfs] [56180.821179] [<c10ebdd3>] try_to_release_page+0x33/0x50 [56180.821181] [<c10fbfca>] shrink_active_list+0x28a/0x290 [56180.821182] [<c10fc453>] shrink_zone+0x483/0x6f0 [56180.821184] [<c10f8f49>] ? zone_balanced+0x29/0x70 [56180.821186] [<c10fcfae>] kswapd+0x3fe/0x890 [56180.821188] [<c10fcbb0>] ? try_to_free_pages+0x4f0/0x4f0 [56180.821189] [<c1060121>] kthread+0xa1/0xc0 [56180.821191] [<c14dd137>] ret_from_kernel_thread+0x1b/0x28 [56180.821192] [<c1060080>] ? kthread_create_on_node+0x110/0x110 [56180.821193] ---[ end trace f7821664f1bc8f4c ]---Can anyone tell me what these mean and if they might be bad?
Quoted 7 lines
thanks,
Bill_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 22 lines · Brian Foster
Quoted 7 lines · BillStuff
Hi,
I'm running 3.14.21, and got these traces in dmesg; they appear to be from xfs:
[56180.816526] ------------[ cut here ]------------ [56180.816550] WARNING: CPU: 5 PID: 67 at fs/xfs/xfs_aops.c:1172if (WARN_ON(delalloc)) return 0;So this generally looks like stale delalloc blocks on a page that is reclaimed/invalidated or otherwise expected to be clean. We've been seeing this a lot over the past few kernel releases and there have been a variety of fixes in error paths and such so it's hard to say precisely what might be causing this. Some examples:
aad3f375xfs:xfs_vm_write_endtruncates too much on failure72ab70a1xfs: write failure beyond EOF truncates too much data4ab9ed57xfs: kill buffers over failed write ranges properly
Quoted 7 lines
It looks like those are in the stable tree as of 3.15, so you could give that a try and see if it helps. Otherwise, can you post
xfs_infofor the filesytem? Do you have particular workloads or sequences of operations that tend to reproduce this?Brian
Thanks Brian,
I'll try out those fixes.
The filesystem is home theater recordings on a 6 disk raid5 array:
meta-data=/dev/md3 isize=256 agcount=81, agsize=15237264 blks
= sectsz=4096 attr=2
data = bsize=4096 blocks=1218981920, imaxpct=5
= sunit=16 swidth=80 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal bsize=4096 blocks=32768, version=2
= sectsz=4096 sunit=1 blks, lazy-count=0
realtime =none extsz=131072 blocks=0, rtextents=0I believe it was just starting a recording when I got this message.
-Bill
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 28 lines · BillStuff
Quoted 27 lines · Brian Foster
Quoted 7 lines · BillStuff
Hi,
I'm running 3.14.21, and got these traces in dmesg; they appear to be from xfs:
[56180.816526] ------------[ cut here ]------------ [56180.816550] WARNING: CPU: 5 PID: 67 at fs/xfs/xfs_aops.c:1172if (WARN_ON(delalloc)) return 0;So this generally looks like stale delalloc blocks on a page that is reclaimed/invalidated or otherwise expected to be clean. We've been seeing this a lot over the past few kernel releases and there have been a variety of fixes in error paths and such so it's hard to say precisely what might be causing this. Some examples:
aad3f375xfs:xfs_vm_write_endtruncates too much on failure72ab70a1xfs: write failure beyond EOF truncates too much data4ab9ed57xfs: kill buffers over failed write ranges properlyIt looks like those are in the stable tree as of 3.15, so you could give that a try and see if it helps. Otherwise, can you post
xfs_infofor the filesytem? Do you have particular workloads or sequences of operations that tend to reproduce this?
Quoted 6 lines
Quoted 2 lines
Brian
Thanks Brian,
I'll try out those fixes.
It might be better to move to a more recent stable kernel if you can, as there could have been other fixes that I've missed.
Quoted 12 lines
The filesystem is home theater recordings on a 6 disk raid5 array:
meta-data=/dev/md3 isize=256 agcount=81, agsize=15237264
blks= sectsz=4096 attr=2 data = bsize=4096 blocks=1218981920, imaxpct=5 = sunit=16 swidth=80 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=32768, version=2 = sectsz=4096 sunit=1 blks, lazy-count=0 realtime =none extsz=131072 blocks=0, rtextents=0
Quoted 2 lines
I believe it was just starting a recording when I got this message.
So creation of a new file? I guess that could mean reclaim of an old page to free up memory or something of that sort had detected it. If so, the problem could have originated any time in the past.
Brian
Quoted 6 lines
-Bill
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs