OOPS: "Unable to handle kernel NULL pointer dereference"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
First reboot after installation of hardy-proposed kernel 2.6.24-21-generic fails with a hang during boot that required a power-button hard reset of the system:
--------
kernel: [ 75.748594] NFSD: Using /var/lib/
kernel: [ 75.764148] NFSD: starting 90-second grace period
kernel: [ 79.397303] sysfs: duplicate filename 'acl0007613B8698' can not be created
kernel: [ 79.397312] WARNING: at /build/
kernel: [ 79.397319] Pid: 3662, comm: btaddconn Tainted: P 2.6.24-21-generic #1
kernel: [ 79.397322]
kernel: [ 79.397323] Call Trace:
kernel: [ 79.397367] [sysfs_
kernel: [ 79.397379] [create_
kernel: [ 79.397403] [sysfs_
kernel: [ 79.397411] [kobject_
kernel: [ 79.397419] [kobject_
kernel: [ 79.397436] [bluetooth:
kernel: [ 79.397476] [bluetooth:
kernel: [ 79.397494] [bluetooth:
kernel: [ 79.397501] [run_workqueue+
kernel: [ 79.397506] [worker_
kernel: [ 79.397516] [worker_
kernel: [ 79.397524] [worker_
kernel: [ 79.397535] [<ffffffff80253
kernel: [ 79.397547] [worker_
kernel: [ 79.397557] [worker_
kernel: [ 79.397564] [kthread+0x4b/0x80] kthread+0x4b/0x80
kernel: [ 79.397576] [child_
kernel: [ 79.397611] [kthread+0x0/0x80] kthread+0x0/0x80
kernel: [ 79.397618] [child_
kernel: [ 79.397629]
kernel: [ 79.397634] kobject_add failed for acl0007613B8698 with -EEXIST, don't try to register things with the same name in the same directory.
... more stack-traces ...
kernel: [ 79.429785] Bluetooth: L2CAP ver 2.9
kernel: [ 79.429793] Bluetooth: L2CAP socket layer initialized
kernel: [ 79.543781] Bluetooth: RFCOMM socket layer initialized
kernel: [ 79.543799] Bluetooth: RFCOMM TTY layer initialized
kernel: [ 79.543802] Bluetooth: RFCOMM ver 1.8
kernel: [ 79.560748] Bluetooth: BNEP (Ethernet Emulation) ver 1.2
kernel: [ 79.560754] Bluetooth: BNEP filters: protocol multicast
kernel: [ 79.561345] pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
kernel: [ 80.169016] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
kernel: [ 80.170016] Unable to handle kernel NULL pointer dereference at 0000000000000038 RIP:
kernel: [ 80.170084] [sysfs_
kernel: [ 80.170255] PGD 69c0d067 PUD 69c0c067 PMD 0
kernel: [ 80.170465] Oops: 0000 [1] SMP
kernel: [ 80.170623] CPU 0
kernel: [ 80.170729] Modules linked in: hidp hid bnep rfcomm l2cap nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp bridge kvm_intel kvm ppdev ipv6 acpi_cpufreq cpufreq_stats cpufreq_
kernel: p pci_hotplug dm_multipath ext3 jbd mbcache sha256_generic aes_x86_64 cbc blkcipher nls_iso8859_1 nls_cp437 vfat fat usb_storage libusual sg sd_mod sr_mod cdrom ata_piix pata_acpi ata_generic libata scsi_mod e100 mii ohci1394 ieee1394 ehci_hcd dm_crypt uhci_hcd usbcore dm_mirror dm_snapshot dm_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse
kernel: [ 80.178170] Pid: 6950, comm: bluetoothd-serv Tainted: P 2.6.24-21-generic #1
kernel: [ 80.178242] RIP: 0010:[sysfs_
kernel: [ 80.178376] RSP: 0018:ffff810069
kernel: [ 80.178444] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000008
kernel: [ 80.178514] RDX: ffff810069c11fd8 RSI: 0000000000000000 RDI: ffffffff80598560
kernel: [ 80.178583] RBP: ffff810069c11a78 R08: 0000000000000000 R09: ffff81007d2acb88
kernel: [ 80.178654] R10: 0000000000000000 R11: 0000000000000000 R12: 00000000fffffff4
kernel: [ 80.178724] R13: 0000000000000000 R14: ffff810069c11ad0 R15: 000000000000000f
kernel: [ 80.178795] FS: 00007fa8799f078
kernel: [ 80.178875] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
kernel: [ 80.178943] CR2: 0000000000000038 CR3: 000000006af4b000 CR4: 00000000000026e0
kernel: [ 80.179012] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kernel: [ 80.179083] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
kernel: [ 80.179153] Process bluetoothd-serv (pid: 6950, threadinfo ffff810069c10000, task ffff81007d0f17a0)
kernel: [ 80.179234] Stack: 0000000000000000 ffff81006acb5ec0 ffff810069c6a910 ffffffff803040f5
kernel: [ 80.179571] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
kernel: [ 80.179855] ffff81006acb5ec0 ffff81006acb5ec0 ffffffff805ac528 0000000000000000
kernel: [ 80.180077] Call Trace:
kernel: [ 80.180210] [create_
kernel: [ 80.180301] [sysfs_
kernel: [ 80.180376] [kobject_
kernel: [ 80.180449] [kobject_
kernel: [ 80.180530] [pci_hotplug:
kernel: [ 80.180610] [kobject_
kernel: [ 80.180695] [bluetooth:
kernel: [ 80.180793] [sony_laptop:
kernel: [ 80.180883] [<ffffffff88eb6
kernel: [ 80.180962] [jbd:__
kernel: [ 80.181076] [<ffffffff88ec0
kernel: [ 80.181180] [<ffffffff88ec0
kernel: [ 80.181310] [getname+
kernel: [ 80.181389] [dm_mod:
kernel: [ 80.181481] [sys_sendto+
kernel: [ 80.181581] [sock_ioctl+
kernel: [ 80.181665] [do_ioctl+
kernel: [ 80.181744] [vfs_ioctl+
kernel: [ 80.181830] [sys_ioctl+
kernel: [ 80.181919] [system_
kernel: [ 80.182022]
kernel: [ 80.182087]
kernel: [ 80.182087] Code: 48 8b 73 38 48 8b 3d a9 8c 39 00 48 89 d9 48 c7 c2 70 37 30
kernel: [ 80.183291] RIP [sysfs_
kernel: [ 80.183412] RSP <ffff810069c11a58>
kernel: [ 80.183477] CR2: 0000000000000038
kernel: [ 80.183589] ---[ end trace 4490a3b46edafac8 ]---
kernel: [ 83.933065] ADDRCONF(
kernel: [ 83.946350] ADDRCONF(
--------
The second boot (with kernel options "quiet splash" removed) was successful. The same section of the kern.log shows:
kernel: [ 75.657927] NFSD: Using /var/lib/
kernel: [ 75.671760] NFSD: starting 90-second grace period
kernel: [ 79.392995] Bluetooth: L2CAP ver 2.9
kernel: [ 79.393001] Bluetooth: L2CAP socket layer initialized
kernel: [ 79.517473] Bluetooth: RFCOMM socket layer initialized
kernel: [ 79.517494] Bluetooth: RFCOMM TTY layer initialized
kernel: [ 79.517497] Bluetooth: RFCOMM ver 1.8
kernel: [ 79.603184] Bluetooth: BNEP (Ethernet Emulation) ver 1.2
kernel: [ 79.603191] Bluetooth: BNEP filters: protocol multicast
kernel: [ 79.603804] pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
kernel: [ 99.392195] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Changed in linux: | |
assignee: | chrisccoulson → intuitivenipple |
Changed in linux: | |
assignee: | intuitivenipple → nobody |
Changed in linux: | |
assignee: | intuitivenipple → nobody |
I've now seen several more instances of this crash, both during start-up and after the system has been running for some time.
When it occurs in a user session it has always killed all user input via the (PS/2-style) keyboard (not a Bluetooth keyboard). All user-space keyboard active fails with only the mouse (ironically, a Bluetooth mouse!) operating.
In addition, the GUI will fail to respond to many actions such as displaying the taskbar (I have it set to auto-hide), the shutdown/ log-off/ suspend/ hibernate/ lock menu buttons do not cause their actions to fire, and slowly the system will become unresponsive.
Even Sys-Rq key sequences fail to cause their expected actions although, if at a tty screen, the kernel sys-log will show the key-pressed were received by the kernel.
Here's the /var/log/kern.log for a mid-session crash:
kernel: [78323.255743] Unable to handle kernel NULL pointer dereference at 0000000000000020 RIP: del+0x18/ 0x80] klist_del+0x18/0x80 conservative cpufreq_userspace cpufreq_powersave cpufreq_ondemand freq_table sbs sbshc dock container iptable_filter ip_tables x_tables sbp2 parport_pc lp parport arc4 ecb joydev pcmcia hci_usb snd_hda_intel bluetooth snd_pcm_oss snd_mixer_oss nvidia(P) iwl3945 snd_pcm iwlwifi_mac80211 snd_page_alloc snd_hwdep snd_seq_dummy pcspkr cfg80211 snd_seq_oss evdev i2c_core sony_laptop iTCO_wdt snd_seq_midi tifm_7xx1 iTCO_vendor_support snd_rawmidi snd_seq_midi_event serio_raw video output snd_seq psmouse tifm_core button snd_timer snd_seq_device yenta_ del+0x18/ 0x80] [klist_ del+0x18/ 0x80] klist_del+0x18/0x80 de5e30 EFLAGS: 00010286
kernel: [78323.255752] [klist_
kernel: [78323.255764] PGD 56ed8067 PUD 63565067 PMD 0
kernel: [78323.255770] Oops: 0000 [2] SMP
kernel: [78323.255775] CPU 0
kernel: [78323.255778] Modules linked in: snd_usb_audio snd_usb_lib ov51x_jpeg uvcvideo isofs udf hidp hid r5u870 usbcam videodev v4l1_compat compat_ioctl32 v4l2_common videobuf_dma_sg videobuf_core tun binfmt_misc af_packet bnep rfcomm l2cap nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp bridge kvm_intel kvm ppdev ipv6 acpi_cpufreq cpufreq_stats cpufreq_
kernel: ocket rsrc_nonstatic pcmcia_core battery ac snd shpchp pci_hotplug intel_agp soundcore dm_multipath ext3 jbd mbcache sha256_generic aes_x86_64 cbc blkcipher nls_iso8859_1 nls_cp437 vfat fat usb_storage libusual sg sr_mod sd_mod cdrom ata_piix pata_acpi dm_crypt ata_generic ohci1394 libata scsi_mod e100 mii ieee1394 ehci_hcd uhci_hcd usbcore dm_mirror dm_snapshot dm_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse
kernel: [78323.255947] Pid: 9, comm: events/0 Tainted: P D 2.6.24-21-generic #1
kernel: [78323.255951] RIP: 0010:[klist_
kernel: [78323.255959] RSP: 0018:ffff81007b
kernel: [78323.255963] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffffffffd8
kernel: [78323.255967] RDX: 0000000000000000 RSI: ffff81007bde5e30 RDI: ffff8100652aa5c0
kernel: [78323.255971] RBP: ffff8100652aa598 R08: ffff81007bde4000 R09: 0000000000000000
kernel: [78323.255974] R10: ffff810001013fe0 R11: 0000000000000001 R12: ffff8100652aa5c0
kernel: [7...