While having apport collection info about upower, it made the kernel crash with nullpointer deref in kernel proc khidpd. Reboot failed, kernel was semi-hung afterwords. I suspect the crash might be triggered by reading/probing stuff about bluetooth or whatever. I have no time at the moment to report this as a separate bug, sorry. Traces appended below. [ 1053.449584] ------------[ cut here ]------------ [ 1053.449593] WARNING: at /build/buildd/linux-3.5.0/fs/sysfs/dir.c:529 sysfs_add_one+0xca/0x100() [ 1053.449595] Hardware name: P5E WS Pro [ 1053.449596] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1.1/8-1.1:1.0/bluetooth/hci0/hci0:11' [ 1053.449598] Modules linked in: joydev hidp parport_pc ppdev rfcomm bnep dm_crypt snd_hda_codec_hdmi kvm_intel kvm gpio_ich btusb microcode bluetooth nvidia(PO) snd_hda_codec_realtek snd_seq_midi serio_raw snd_rawmidi mceusb rc_core lpc_ich snd_seq_midi_event snd_seq asus_atk0110 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_device snd_timer mac_hid shpchp snd coretemp soundcore snd_page_alloc x38_edac edac_core lp parport hid_generic firewire_ohci firewire_core usbhid crc_itu_t hid pata_marvell sky2 usb_storage [ 1053.449640] Pid: 62, comm: kworker/u:5 Tainted: P O 3.5.0-19-generic #30-Ubuntu [ 1053.449642] Call Trace: [ 1053.449648] [] warn_slowpath_common+0x7f/0xc0 [ 1053.449651] [] warn_slowpath_fmt+0x46/0x50 [ 1053.449655] [] sysfs_add_one+0xca/0x100 [ 1053.449658] [] create_dir+0x78/0xd0 [ 1053.449661] [] sysfs_create_dir+0x86/0xe0 [ 1053.449665] [] kobject_add_internal+0x9c/0x220 [ 1053.449668] [] ? vsnprintf+0x461/0x600 [ 1053.449672] [] ? update_group_power+0x26/0x1c0 [ 1053.449675] [] kobject_add+0x67/0xc0 [ 1053.449680] [] device_add+0x106/0x6c0 [ 1053.449683] [] ? dev_set_name+0x41/0x50 [ 1053.449694] [] hci_conn_add_sysfs+0x45/0x80 [bluetooth] [ 1053.449702] [] hci_conn_complete_evt.isra.47+0xd0/0x390 [bluetooth] [ 1053.449709] [] hci_event_packet+0x1720/0x2580 [bluetooth] [ 1053.449713] [] ? default_spin_lock_flags+0x9/0x10 [ 1053.449719] [] hci_rx_work+0x1bb/0x310 [bluetooth] [ 1053.449724] [] ? _raw_spin_lock+0xe/0x20 [ 1053.449727] [] process_one_work+0x12a/0x420 [ 1053.449733] [] ? hci_send_frame+0x90/0x90 [bluetooth] [ 1053.449736] [] worker_thread+0x12e/0x2f0 [ 1053.449739] [] ? manage_workers.isra.26+0x200/0x200 [ 1053.449742] [] kthread+0x93/0xa0 [ 1053.449746] [] kernel_thread_helper+0x4/0x10 [ 1053.449749] [] ? kthread_freezable_should_stop+0x70/0x70 [ 1053.449752] [] ? gs_change+0x13/0x13 [ 1053.449754] ---[ end trace 9e712b7e826b5280 ]--- [ 1053.449756] ------------[ cut here ]------------ [ 1053.449760] WARNING: at /build/buildd/linux-3.5.0/lib/kobject.c:196 kobject_add_internal+0x204/0x220() [ 1053.449761] Hardware name: P5E WS Pro [ 1053.449763] kobject_add_internal failed for hci0:11 with -EEXIST, don't try to register things with the same name in the same directory. [ 1053.449764] Modules linked in: joydev hidp parport_pc ppdev rfcomm bnep dm_crypt snd_hda_codec_hdmi kvm_intel kvm gpio_ich btusb microcode bluetooth nvidia(PO) snd_hda_codec_realtek snd_seq_midi serio_raw snd_rawmidi mceusb rc_core lpc_ich snd_seq_midi_event snd_seq asus_atk0110 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_device snd_timer mac_hid shpchp snd coretemp soundcore snd_page_alloc x38_edac edac_core lp parport hid_generic firewire_ohci firewire_core usbhid crc_itu_t hid pata_marvell sky2 usb_storage [ 1053.449797] Pid: 62, comm: kworker/u:5 Tainted: P W O 3.5.0-19-generic #30-Ubuntu [ 1053.449798] Call Trace: [ 1053.449802] [] warn_slowpath_common+0x7f/0xc0 [ 1053.449805] [] warn_slowpath_fmt+0x46/0x50 [ 1053.449808] [] kobject_add_internal+0x204/0x220 [ 1053.449811] [] ? vsnprintf+0x461/0x600 [ 1053.449814] [] ? update_group_power+0x26/0x1c0 [ 1053.449818] [] kobject_add+0x67/0xc0 [ 1053.449821] [] device_add+0x106/0x6c0 [ 1053.449824] [] ? dev_set_name+0x41/0x50 [ 1053.449832] [] hci_conn_add_sysfs+0x45/0x80 [bluetooth] [ 1053.449839] [] hci_conn_complete_evt.isra.47+0xd0/0x390 [bluetooth] [ 1053.449846] [] hci_event_packet+0x1720/0x2580 [bluetooth] [ 1053.449850] [] ? default_spin_lock_flags+0x9/0x10 [ 1053.449856] [] hci_rx_work+0x1bb/0x310 [bluetooth] [ 1053.449859] [] ? _raw_spin_lock+0xe/0x20 [ 1053.449862] [] process_one_work+0x12a/0x420 [ 1053.449868] [] ? hci_send_frame+0x90/0x90 [bluetooth] [ 1053.449871] [] worker_thread+0x12e/0x2f0 [ 1053.449874] [] ? manage_workers.isra.26+0x200/0x200 [ 1053.449877] [] kthread+0x93/0xa0 [ 1053.449880] [] kernel_thread_helper+0x4/0x10 [ 1053.449883] [] ? kthread_freezable_should_stop+0x70/0x70 [ 1053.449886] [] ? gs_change+0x13/0x13 [ 1053.449888] ---[ end trace 9e712b7e826b5281 ]--- [ 1053.449890] Bluetooth: Failed to register connection device [ 1058.084018] power_supply hid-00:07:61:76:C9:F1-battery: driver failed to report `capacity' property: -5 [ 1063.084016] power_supply hid-00:07:61:76:C9:F1-battery: driver failed to report `capacity' property: -5 [ 1063.101078] ------------[ cut here ]------------ [ 1063.101087] WARNING: at /build/buildd/linux-3.5.0/lib/kobject.c:200 kobject_add_internal+0xff/0x220() [ 1063.101089] Hardware name: P5E WS Pro [ 1063.101091] kobject_add_internal failed for 0005:046D:B309.0003 (error: -2 parent: hci0:11) [ 1063.101092] Modules linked in: joydev hidp parport_pc ppdev rfcomm bnep dm_crypt snd_hda_codec_hdmi kvm_intel kvm gpio_ich btusb microcode bluetooth nvidia(PO) snd_hda_codec_realtek snd_seq_midi serio_raw snd_rawmidi mceusb rc_core lpc_ich snd_seq_midi_event snd_seq asus_atk0110 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_device snd_timer mac_hid shpchp snd coretemp soundcore snd_page_alloc x38_edac edac_core lp parport hid_generic firewire_ohci firewire_core usbhid crc_itu_t hid pata_marvell sky2 usb_storage [ 1063.101136] Pid: 1159, comm: bluetoothd Tainted: P W O 3.5.0-19-generic #30-Ubuntu [ 1063.101138] Call Trace: [ 1063.101145] [] warn_slowpath_common+0x7f/0xc0 [ 1063.101148] [] warn_slowpath_fmt+0x46/0x50 [ 1063.101152] [] kobject_add_internal+0xff/0x220 [ 1063.101155] [] kobject_add+0x67/0xc0 [ 1063.101159] [] device_add+0x106/0x6c0 [ 1063.101167] [] hid_add_device+0x1e4/0x470 [hid] [ 1063.101171] [] hidp_add_connection+0x3fc/0x8e0 [hidp] [ 1063.101175] [] ? finish_wait+0x80/0x80 [ 1063.101179] [] hidp_sock_ioctl+0x247/0x2f0 [hidp] [ 1063.101184] [] sock_do_ioctl+0x30/0x70 [ 1063.101187] [] sock_ioctl+0x7d/0x2b0 [ 1063.101191] [] ? get_empty_filp+0x8c/0x190 [ 1063.101194] [] do_vfs_ioctl+0x99/0x590 [ 1063.101198] [] ? sock_alloc_file+0xa4/0x120 [ 1063.101202] [] ? _raw_spin_lock+0xe/0x20 [ 1063.101206] [] ? fd_install+0x66/0x80 [ 1063.101209] [] sys_ioctl+0x99/0xa0 [ 1063.101212] [] ? sys_socket+0x40/0x70 [ 1063.101216] [] system_call_fastpath+0x16/0x1b [ 1063.101219] ---[ end trace 9e712b7e826b5282 ]--- [ 1063.101281] VFS: Close: file count is 0 [ 1063.600110] BUG: unable to handle kernel NULL pointer dereference at (null) [ 1063.600117] IP: [] __ticket_spin_lock+0x9/0x30 [ 1063.600124] PGD 22f26a067 PUD 21b3ce067 PMD 0 [ 1063.600128] Oops: 0002 [#1] SMP [ 1063.600132] CPU 3 [ 1063.600134] Modules linked in: joydev hidp parport_pc ppdev rfcomm bnep dm_crypt snd_hda_codec_hdmi kvm_intel kvm gpio_ich btusb microcode bluetooth nvidia(PO) snd_hda_codec_realtek snd_seq_midi serio_raw snd_rawmidi mceusb rc_core lpc_ich snd_seq_midi_event snd_seq asus_atk0110 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_device snd_timer mac_hid shpchp snd coretemp soundcore snd_page_alloc x38_edac edac_core lp parport hid_generic firewire_ohci firewire_core usbhid crc_itu_t hid pata_marvell sky2 usb_storage [ 1063.600172] [ 1063.600175] Pid: 3925, comm: khidpd_046db309 Tainted: P W O 3.5.0-19-generic #30-Ubuntu System manufacturer P5E WS Pro/P5E WS Pro [ 1063.600179] RIP: 0010:[] [] __ticket_spin_lock+0x9/0x30 [ 1063.600183] RSP: 0018:ffff8801f39e5d60 EFLAGS: 00010082 [ 1063.600185] RAX: 0000000000010000 RBX: 0000000000000282 RCX: 00000000000019ff [ 1063.600187] RDX: 0000000000000000 RSI: 0000000000000282 RDI: 0000000000000000 [ 1063.600188] RBP: ffff8801f39e5d60 R08: ffff8801f39e4000 R09: ffffffff81e4ca00 [ 1063.600190] R10: 00000000000075e2 R11: 0000000000000000 R12: ffff8801f39e5ea0 [ 1063.600192] R13: 0000000000000000 R14: ffff880233d492d0 R15: 0000000000000000 [ 1063.600194] FS: 0000000000000000(0000) GS:ffff88023fd80000(0000) knlGS:0000000000000000 [ 1063.600197] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 1063.600198] CR2: 0000000000000000 CR3: 000000021b3d1000 CR4: 00000000000007e0 [ 1063.600200] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1063.600202] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 1063.600204] Process khidpd_046db309 (pid: 3925, threadinfo ffff8801f39e4000, task ffff8802133f4500) [ 1063.600206] Stack: [ 1063.600207] ffff8801f39e5d70 ffffffff8103fa39 ffff8801f39e5d90 ffffffff816833be [ 1063.600212] ffff8801f39e5e88 ffff8801f39e5ea0 ffff8801f39e5dc0 ffffffff81076861 [ 1063.600216] ffff880233d49200 ffff880233d49200 0000000000000000 ffff8801f9edd400 [ 1063.600220] Call Trace: [ 1063.600224] [] default_spin_lock_flags+0x9/0x10 [ 1063.600230] [] _raw_spin_lock_irqsave+0x2e/0x40 [ 1063.600234] [] finish_wait+0x41/0x80 [ 1063.600239] [] hidp_session+0x5c5/0x8f0 [hidp] [ 1063.600243] [] ? __dequeue_entity+0x2f/0x50 [ 1063.600247] [] ? try_to_wake_up+0x2a0/0x2a0 [ 1063.600249] [] ? try_to_wake_up+0x2a0/0x2a0 [ 1063.600252] [] ? finish_wait+0x80/0x80 [ 1063.600256] [] ? hidp_input_report.isra.4+0x290/0x290 [hidp] [ 1063.600259] [] kthread+0x93/0xa0 [ 1063.600263] [] kernel_thread_helper+0x4/0x10 [ 1063.600266] [] ? kthread_freezable_should_stop+0x70/0x70 [ 1063.600269] [] ? gs_change+0x13/0x13 [ 1063.600270] Code: 00 00 48 c7 c1 91 f7 03 81 48 c7 c2 8e f7 03 81 e9 dd fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 b8 00 00 01 00 48 89 e5 0f c1 07 89 c1 c1 e9 10 66 39 c1 89 ca 74 11 0f 1f 80 00 00 [ 1063.600309] RIP [] __ticket_spin_lock+0x9/0x30 [ 1063.600312] RSP [ 1063.600313] CR2: 0000000000000000 [ 1063.600316] ---[ end trace 9e712b7e826b5283 ]--- [ 1150.391395] usbcore: deregistering interface driver btusb [ 1150.393598] Bluetooth: hci0 urb ffff88022ee03cc0 failed to resubmit (2)