bug in slab.c
Hi,
My Dell Latitude D520 just dies with this BUG:
----------8<----------8<----------8<----------8<----------
Jul 29 09:30:00 localhost kernel: ------------[ cut here ]------------ Jul 29 09:30:00 localhost kernel: kernel BUG at mm/slab.c:2980! Jul 29 09:30:00 localhost kernel: invalid opcode: 0000 [#1] Jul 29 09:30:00 localhost kernel: PREEMPT SMP Jul 29 09:30:00 localhost kernel: Modules linked in: button psmouse hidp rfcomm l2cap hci_vhci dtl1_cs btuart_cs bt3c_cs bluecard_cs bf
usb bcm203x hci_uart michael_mic arc4 ecb ieee80211_crypt_tkip ieee80211_crypt_ccmp ipw3945 ieee80211 ieee80211_crypt i915 drm cpufreq_ ondemand cpufreq_userspace cpufreq_powersave speedstep_centrino freq_table nfs nfsd exportfs lockd nfs_acl sunrpc ac battery sbp2 loop pcmcia firmware_class snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_timer yenta_socket hci_usb rsrc_nonstatic snd serio_raw sound core bluetooth i2c_i801 intel_agp pcmcia_core snd_page_alloc i2c_core rtc pcspkr evdev ext3 jbd mbcache sha256 aes cbc blkcipher usbhid
dm_crypt dm_mirror dm_snapshot dm_mod sd_mod ohci1394 ieee1394 ata_piix b44 mii libata scsi_mod ehci_hcd uhci_hcd usbcore thermal proc
essor fan
Jul 29 09:30:00 localhost kernel: CPU: 1 Jul 29 09:30:00 localhost kernel: EIP: 0060:[<c0163ac4>] Not tainted VLI Jul 29 09:30:00 localhost kernel: EFLAGS: 00210046 (2.6.22.1 #1) Jul 29 09:30:00 localhost kernel: EIP is at cache_alloc_refill+0xeb/0x447 Jul 29 09:30:00 localhost kernel: eax: 0000000f ebx: 00000005 ecx: dffff4c0 edx: dffff4c0 Jul 29 09:30:00 localhost kernel: esi: e451e000 edi: 00000026 ebp: c18ea800 esp: edbedd90 Jul 29 09:30:00 localhost kernel: ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 Jul 29 09:30:00 localhost kernel: Process firefox-bin (pid: 3865, ti=edbec000 task=dfc02a50 task.ti=edbec000) Jul 29 09:30:00 localhost kernel: Stack: 0000000f 000004d0 dffff4c0 dfffd2c0 00000000 00000000 00000001 00200202 Jul 29 09:30:00 localhost kernel: d63a0218 e60df3c0 dffff4c0 00200286 ef84c6c0 000004d0 c0163e6f ef84c6c0 Jul 29 09:30:00 localhost kernel: 00000040 c0246212 00000000 dfcc2c40 e2c91740 000004d0 efd29740 00000000 Jul 29 09:30:00 localhost kernel: Call Trace: Jul 29 09:30:00 localhost kernel: [<c0163e6f>] __kmalloc+0x4f/0x58 Jul 29 09:30:00 localhost kernel: [<c0246212>] __alloc_skb+0x49/0xf5 Jul 29 09:30:00 localhost kernel: [<c0242bef>] sock_alloc_send_skb+0x6e/0x196 Jul 29 09:30:00 localhost kernel: [<c029a7d2>] unix_stream_sendmsg+0x14d/0x309 Jul 29 09:30:00 localhost kernel: [<c02401d3>] sock_aio_write+0xf9/0x105 Jul 29 09:30:00 localhost kernel: [<c016677b>] do_sync_write+0xc7/0x10a Jul 29 09:30:00 localhost kernel: [<c0131fac>] autoremove_wake_function+0x0/0x35 Jul 29 09:30:00 localhost kernel: [<c02405a2>] sock_ioctl+0x1a2/0x1c1 Jul 29 09:30:00 localhost kernel: [<c0240400>] sock_ioctl+0x0/0x1c1 Jul 29 09:30:00 localhost kernel: [<c0166f73>] vfs_write+0xbc/0x12a Jul 29 09:30:00 localhost kernel: [<c01674ea>] sys_write+0x41/0x67 Jul 29 09:30:00 localhost kernel: [<c0103d42>] sysenter_past_esp+0x5f/0x85 Jul 29 09:30:00 localhost kernel: ======================= Jul 29 09:30:00 localhost kernel: Code: 8b 30 39 c6 75 19 c7 40 38 01 00 00 00 8b 70 10 8b 44 24 0c 83 c0 10 39 c6 0f 84 9e 00 00 00 8b 54 24 08 8b 42 20 39 46 10 72 2d <0f> 0b eb fe 8b 44 24 08 8b 5e 14 8b 4d 00 8b 50 14 8b 04 24 0f Jul 29 09:30:00 localhost kernel: EIP: [<c0163ac4>] cache_alloc_refill+0xeb/0x447 SS:ESP 0068:edbedd90 Jul 29 09:30:00 localhost kernel: note: firefox-bin[3865] exited with preempt_count 1 Jul 29 09:30:03 localhost kernel: ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels)
----------8<----------8<----------8<----------8<----------
root@thebe:~# uname -a Linux thebe 2.6.22.1 #1 SMP PREEMPT Fri Jul 13 08:23:52 CEST 2007 i686 GNU/Linux
The only non-standard thing is the ipw drivers (ipw3945-1.2.1).
Robert
Signature · 5 lines
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9Quoted 3 lines · On Sun, 29 Jul 2007 09:37:39 +0200 Robert Schwebel <[email protected]>…
Hi,
My Dell Latitude D520 just dies with this BUG:
Reproducible, I assume.
Quoted 42 lines
----------8<----------8<----------8<----------8<----------
Jul 29 09:30:00 localhost kernel: ------------[ cut here ]------------ Jul 29 09:30:00 localhost kernel: kernel BUG at mm/slab.c:2980! Jul 29 09:30:00 localhost kernel: invalid opcode: 0000 [#1] Jul 29 09:30:00 localhost kernel: PREEMPT SMP Jul 29 09:30:00 localhost kernel: Modules linked in: button psmouse hidp rfcomm l2cap hci_vhci dtl1_cs btuart_cs bt3c_cs bluecard_cs bfusb bcm203x
hci_uartmichael_micarc4 ecbieee80211_crypt_tkipieee80211_crypt_ccmpipw3945 ieee80211ieee80211_crypti915 drmcpufreq_ondemandcpufreq_userspacecpufreq_powersavespeedstep_centrinofreq_tablenfs nfsd exportfs lockdnfs_aclsunrpc ac battery sbp2 loop pcmciafirmware_classsnd_hda_intelsnd_pcm_osssnd_mixer_osssnd_pcmsnd_timeryenta_sockethci_usbrsrc_nonstaticsndserio_rawsound core bluetoothi2c_i801intel_agppcmcia_coresnd_page_alloci2c_corertc pcspkr evdev ext3 jbd mbcache sha256 aes cbc blkcipher usbhid
dm_cryptdm_mirrordm_snapshotdm_modsd_modohci1394 ieee1394ata_piixb44 mii libatascsi_modehci_hcduhci_hcdusbcore thermal proc
essor fanJul 29 09:30:00 localhost kernel: CPU: 1 Jul 29 09:30:00 localhost kernel: EIP: 0060:[<c0163ac4>] Not tainted VLI Jul 29 09:30:00 localhost kernel: EFLAGS: 00210046 (2.6.22.1 #1) Jul 29 09:30:00 localhost kernel: EIP is at cache_alloc_refill+0xeb/0x447 Jul 29 09:30:00 localhost kernel: eax: 0000000f ebx: 00000005 ecx: dffff4c0 edx: dffff4c0 Jul 29 09:30:00 localhost kernel: esi: e451e000 edi: 00000026 ebp: c18ea800 esp: edbedd90 Jul 29 09:30:00 localhost kernel: ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 Jul 29 09:30:00 localhost kernel: Process firefox-bin (pid: 3865, ti=edbec000 task=dfc02a50 task.ti=edbec000) Jul 29 09:30:00 localhost kernel: Stack: 0000000f 000004d0 dffff4c0 dfffd2c0 00000000 00000000 00000001 00200202 Jul 29 09:30:00 localhost kernel: d63a0218 e60df3c0 dffff4c0 00200286 ef84c6c0 000004d0 c0163e6f ef84c6c0 Jul 29 09:30:00 localhost kernel: 00000040 c0246212 00000000 dfcc2c40 e2c91740 000004d0 efd29740 00000000 Jul 29 09:30:00 localhost kernel: Call Trace: Jul 29 09:30:00 localhost kernel: [<c0163e6f>] __kmalloc+0x4f/0x58 Jul 29 09:30:00 localhost kernel: [<c0246212>] __alloc_skb+0x49/0xf5 Jul 29 09:30:00 localhost kernel: [<c0242bef>] sock_alloc_send_skb+0x6e/0x196 Jul 29 09:30:00 localhost kernel: [<c029a7d2>] unix_stream_sendmsg+0x14d/0x309 Jul 29 09:30:00 localhost kernel: [<c02401d3>] sock_aio_write+0xf9/0x105 Jul 29 09:30:00 localhost kernel: [<c016677b>] do_sync_write+0xc7/0x10a Jul 29 09:30:00 localhost kernel: [<c0131fac>] autoremove_wake_function+0x0/0x35 Jul 29 09:30:00 localhost kernel: [<c02405a2>] sock_ioctl+0x1a2/0x1c1 Jul 29 09:30:00 localhost kernel: [<c0240400>] sock_ioctl+0x0/0x1c1 Jul 29 09:30:00 localhost kernel: [<c0166f73>] vfs_write+0xbc/0x12a Jul 29 09:30:00 localhost kernel: [<c01674ea>] sys_write+0x41/0x67 Jul 29 09:30:00 localhost kernel: [<c0103d42>] sysenter_past_esp+0x5f/0x85 Jul 29 09:30:00 localhost kernel: ======================= Jul 29 09:30:00 localhost kernel: Code: 8b 30 39 c6 75 19 c7 40 38 01 00 00 00 8b 70 10 8b 44 24 0c 83 c0 10 39 c6 0f 84 9e 00 00 00 8b 54 24 08 8b 42 20 39 46 10 72 2d <0f> 0b eb fe 8b 44 24 08 8b 5e 14 8b 4d 00 8b 50 14 8b 04 24 0f Jul 29 09:30:00 localhost kernel: EIP: [<c0163ac4>] cache_alloc_refill+0xeb/0x447 SS:ESP 0068:edbedd90 Jul 29 09:30:00 localhost kernel: note: firefox-bin[3865] exited with preempt_count 1 Jul 29 09:30:03 localhost kernel: ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels)
Quoted 7 lines
----------8<----------8<----------8<----------8<----------
root@thebe:~# uname -a Linux thebe 2.6.22.1 #1 SMP PREEMPT Fri Jul 13 08:23:52 CEST 2007 i686 GNU/LinuxThe only non-standard thing is the ipw drivers (ipw3945-1.2.1).
Have you tried testing a kernel which doesn't have those drivers?
(It'd be a clever little driver to cause that BUG though)
Quoted 3 lines · Andrew Morton
Quoted 1 line
My Dell Latitude D520 just dies with this BUG:
Reproducible, I assume.
No, happened only one time.
Quoted 3 lines
Have you tried testing a kernel which doesn't have those drivers?
(It'd be a clever little driver to cause that BUG though)
Yup :-) It didn't happen again in the meantime, but anyway. I'll keep you informed.
Robert
Signature · 5 lines
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9Quoted 6 lines · Robert Schwebel
Quoted 3 lines · Andrew Morton
Quoted 1 line
My Dell Latitude D520 just dies with this BUG:
Reproducible, I assume.
No, happened only one time.
Looks like the slab header was corrupted. If this can be reproduced then you need to enable slub debugging to find the kernel function that corrupts memory.
Otherwise it could be bad memory?
Quoted 3 lines · Christoph Lameter
Looks like the slab header was corrupted. If this can be reproduced then you need to enable slub debugging to find the kernel function that corrupts memory.
Yup, I'll try that if it happens again.
Quoted 1 line
Otherwise it could be bad memory?
Hmm, the box is relatively new, but one never knows. Ah, and it was after I've resumed the machine from suspend-to-disk, but not right after the start but some minutes later.
Robert
Signature · 5 lines
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9