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]  [<ffffffff81051c1f>] warn_slowpath_common+0x7f/0xc0
[ 1053.449651]  [<ffffffff81051d16>] warn_slowpath_fmt+0x46/0x50
[ 1053.449655]  [<ffffffff811f2baa>] sysfs_add_one+0xca/0x100
[ 1053.449658]  [<ffffffff811f2dd8>] create_dir+0x78/0xd0
[ 1053.449661]  [<ffffffff811f3166>] sysfs_create_dir+0x86/0xe0
[ 1053.449665]  [<ffffffff8132b14c>] kobject_add_internal+0x9c/0x220
[ 1053.449668]  [<ffffffff813342c1>] ? vsnprintf+0x461/0x600
[ 1053.449672]  [<ffffffff8108e116>] ? update_group_power+0x26/0x1c0
[ 1053.449675]  [<ffffffff8132b607>] kobject_add+0x67/0xc0
[ 1053.449680]  [<ffffffff8141cc66>] device_add+0x106/0x6c0
[ 1053.449683]  [<ffffffff8141b4b1>] ? dev_set_name+0x41/0x50
[ 1053.449694]  [<ffffffffa0bb4465>] hci_conn_add_sysfs+0x45/0x80 [bluetooth]
[ 1053.449702]  [<ffffffffa0ba7550>] hci_conn_complete_evt.isra.47+0xd0/0x390 
[bluetooth]
[ 1053.449709]  [<ffffffffa0baa1e0>] hci_event_packet+0x1720/0x2580 [bluetooth]
[ 1053.449713]  [<ffffffff8103fa39>] ? default_spin_lock_flags+0x9/0x10
[ 1053.449719]  [<ffffffffa0b9e84b>] hci_rx_work+0x1bb/0x310 [bluetooth]
[ 1053.449724]  [<ffffffff816830ae>] ? _raw_spin_lock+0xe/0x20
[ 1053.449727]  [<ffffffff8107086a>] process_one_work+0x12a/0x420
[ 1053.449733]  [<ffffffffa0b9e690>] ? hci_send_frame+0x90/0x90 [bluetooth]
[ 1053.449736]  [<ffffffff8107140e>] worker_thread+0x12e/0x2f0
[ 1053.449739]  [<ffffffff810712e0>] ? manage_workers.isra.26+0x200/0x200
[ 1053.449742]  [<ffffffff81075f03>] kthread+0x93/0xa0
[ 1053.449746]  [<ffffffff8168c624>] kernel_thread_helper+0x4/0x10
[ 1053.449749]  [<ffffffff81075e70>] ? kthread_freezable_should_stop+0x70/0x70
[ 1053.449752]  [<ffffffff8168c620>] ? 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]  [<ffffffff81051c1f>] warn_slowpath_common+0x7f/0xc0
[ 1053.449805]  [<ffffffff81051d16>] warn_slowpath_fmt+0x46/0x50
[ 1053.449808]  [<ffffffff8132b2b4>] kobject_add_internal+0x204/0x220
[ 1053.449811]  [<ffffffff813342c1>] ? vsnprintf+0x461/0x600
[ 1053.449814]  [<ffffffff8108e116>] ? update_group_power+0x26/0x1c0
[ 1053.449818]  [<ffffffff8132b607>] kobject_add+0x67/0xc0
[ 1053.449821]  [<ffffffff8141cc66>] device_add+0x106/0x6c0
[ 1053.449824]  [<ffffffff8141b4b1>] ? dev_set_name+0x41/0x50
[ 1053.449832]  [<ffffffffa0bb4465>] hci_conn_add_sysfs+0x45/0x80 [bluetooth]
[ 1053.449839]  [<ffffffffa0ba7550>] hci_conn_complete_evt.isra.47+0xd0/0x390 
[bluetooth]
[ 1053.449846]  [<ffffffffa0baa1e0>] hci_event_packet+0x1720/0x2580 [bluetooth]
[ 1053.449850]  [<ffffffff8103fa39>] ? default_spin_lock_flags+0x9/0x10
[ 1053.449856]  [<ffffffffa0b9e84b>] hci_rx_work+0x1bb/0x310 [bluetooth]
[ 1053.449859]  [<ffffffff816830ae>] ? _raw_spin_lock+0xe/0x20
[ 1053.449862]  [<ffffffff8107086a>] process_one_work+0x12a/0x420
[ 1053.449868]  [<ffffffffa0b9e690>] ? hci_send_frame+0x90/0x90 [bluetooth]
[ 1053.449871]  [<ffffffff8107140e>] worker_thread+0x12e/0x2f0
[ 1053.449874]  [<ffffffff810712e0>] ? manage_workers.isra.26+0x200/0x200
[ 1053.449877]  [<ffffffff81075f03>] kthread+0x93/0xa0
[ 1053.449880]  [<ffffffff8168c624>] kernel_thread_helper+0x4/0x10
[ 1053.449883]  [<ffffffff81075e70>] ? kthread_freezable_should_stop+0x70/0x70
[ 1053.449886]  [<ffffffff8168c620>] ? 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]  [<ffffffff81051c1f>] warn_slowpath_common+0x7f/0xc0
[ 1063.101148]  [<ffffffff81051d16>] warn_slowpath_fmt+0x46/0x50
[ 1063.101152]  [<ffffffff8132b1af>] kobject_add_internal+0xff/0x220
[ 1063.101155]  [<ffffffff8132b607>] kobject_add+0x67/0xc0
[ 1063.101159]  [<ffffffff8141cc66>] device_add+0x106/0x6c0
[ 1063.101167]  [<ffffffffa0042f04>] hid_add_device+0x1e4/0x470 [hid]
[ 1063.101171]  [<ffffffffa0ac4c9c>] hidp_add_connection+0x3fc/0x8e0 [hidp]
[ 1063.101175]  [<ffffffff810768a0>] ? finish_wait+0x80/0x80
[ 1063.101179]  [<ffffffffa0ac5727>] hidp_sock_ioctl+0x247/0x2f0 [hidp]
[ 1063.101184]  [<ffffffff8155af20>] sock_do_ioctl+0x30/0x70
[ 1063.101187]  [<ffffffff8155afdd>] sock_ioctl+0x7d/0x2b0
[ 1063.101191]  [<ffffffff811835ac>] ? get_empty_filp+0x8c/0x190
[ 1063.101194]  [<ffffffff81193ad9>] do_vfs_ioctl+0x99/0x590
[ 1063.101198]  [<ffffffff8155b624>] ? sock_alloc_file+0xa4/0x120
[ 1063.101202]  [<ffffffff816830ae>] ? _raw_spin_lock+0xe/0x20
[ 1063.101206]  [<ffffffff8117fb96>] ? fd_install+0x66/0x80
[ 1063.101209]  [<ffffffff81194069>] sys_ioctl+0x99/0xa0
[ 1063.101212]  [<ffffffff8155dee0>] ? sys_socket+0x40/0x70
[ 1063.101216]  [<ffffffff8168b329>] 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: [<ffffffff8103f989>] __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:[<ffffffff8103f989>]  [<ffffffff8103f989>] 
__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]  [<ffffffff8103fa39>] default_spin_lock_flags+0x9/0x10
[ 1063.600230]  [<ffffffff816833be>] _raw_spin_lock_irqsave+0x2e/0x40
[ 1063.600234]  [<ffffffff81076861>] finish_wait+0x41/0x80
[ 1063.600239]  [<ffffffffa0ac3d05>] hidp_session+0x5c5/0x8f0 [hidp]
[ 1063.600243]  [<ffffffff8108a89f>] ? __dequeue_entity+0x2f/0x50
[ 1063.600247]  [<ffffffff81087cb0>] ? try_to_wake_up+0x2a0/0x2a0
[ 1063.600249]  [<ffffffff81087cb0>] ? try_to_wake_up+0x2a0/0x2a0
[ 1063.600252]  [<ffffffff810768a0>] ? finish_wait+0x80/0x80
[ 1063.600256]  [<ffffffffa0ac3740>] ? hidp_input_report.isra.4+0x290/0x290 
[hidp]
[ 1063.600259]  [<ffffffff81075f03>] kthread+0x93/0xa0
[ 1063.600263]  [<ffffffff8168c624>] kernel_thread_helper+0x4/0x10
[ 1063.600266]  [<ffffffff81075e70>] ? kthread_freezable_should_stop+0x70/0x70
[ 1063.600269]  [<ffffffff8168c620>] ? 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 <f0> 0f 
c1 07 89 c1 c1 e9 10 66 39 c1 89 ca 74 11 0f 1f 80 00 00 
[ 1063.600309] RIP  [<ffffffff8103f989>] __ticket_spin_lock+0x9/0x30
[ 1063.600312]  RSP <ffff8801f39e5d60>
[ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1086746

Title:
  Bluetooth keyboard battery interpreted as laptop battery

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1086746/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to