Okay, I may be able to reliably reproduce this by rapidly turning on and
off the kill switch while moving the mouse. I just had it happen again
and now my mouse doesn't work at all. In the process I learned that the
kernel somehow gracefully fails from null pointer dereference now.

[849133.198340] iwlagn 0000:02:00.0: RF_KILL bit toggled to disable radio.
[849133.306905] usb 1-1.4: USB disconnect, device number 30
[849133.307090] btusb_intr_complete: hci0 urb ffff88009f94f300 failed to 
resubmit (19)
[849133.307269] btusb_bulk_complete: hci0 urb ffff88009f94f9c0 failed to 
resubmit (19)
[849133.307276] btusb_bulk_complete: hci0 urb ffff88012f9850c0 failed to 
resubmit (19)
[849135.673333] iwlagn 0000:02:00.0: RF_KILL bit toggled to enable radio.
[849136.064300] usb 1-1.4: new full speed USB device number 31 using ehci_hcd
[849141.240485] input: VGP-BMS15 as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/input55
[849141.240785] generic-bluetooth 0005:054C:042B.002F: input,hidraw0: BLUETOOTH 
HID v1.29 Mouse [VGP-BMS15] on 78:DD:08:B7:3C:25
[849984.091176] iwlagn 0000:02:00.0: RF_KILL bit toggled to disable radio.
[849984.147929] usb 1-1.4: USB disconnect, device number 31
[849984.148059] btusb_intr_complete: hci0 urb ffff88009fb0bf00 failed to 
resubmit (19)
[849984.148165] btusb_bulk_complete: hci0 urb ffff88009fb0bcc0 failed to 
resubmit (19)
[849984.148171] btusb_bulk_complete: hci0 urb ffff88009fb0bd80 failed to 
resubmit (19)
[849984.166025] ------------[ cut here ]------------
[849984.166042] WARNING: at /build/buildd/linux-3.0.0/kernel/workqueue.c:994 
__queue_work+0x306/0x320()
[849984.166048] Hardware name: 514328U
[849984.166052] Modules linked in: msr btrfs libcrc32c ufs qnx4 hfsplus hfs 
minix ntfs vfat msdos fat jfs xfs reiserfs serpent usb_storage uas cdc_acm 
ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt hidp hid joydev bnep 
rfcomm parport_pc ppdev arc4 snd_hda_codec_hdmi snd_hda_codec_conexant 
snd_hda_intel snd_hda_codec thinkpad_acpi snd_hwdep snd_pcm snd_seq_midi 
snd_rawmidi snd_seq_midi_event btusb snd_seq bluetooth iwlagn snd_timer 
snd_seq_device mac80211 psmouse cfg80211 serio_raw snd intel_ips soundcore 
snd_page_alloc mei(C) nvram tpm_tis binfmt_misc lp parport dm_crypt wmi e1000e 
i915 ahci drm_kms_helper libahci drm i2c_algo_bit video
[849984.166172] Pid: 14877, comm: khidpd_054c042b Tainted: G         C  
3.0.0-12-generic #20-Ubuntu
[849984.166176] Call Trace:
[849984.166187]  [<ffffffff8105e83f>] warn_slowpath_common+0x7f/0xc0
[849984.166194]  [<ffffffff8105e89a>] warn_slowpath_null+0x1a/0x20
[849984.166201]  [<ffffffff8107a256>] __queue_work+0x306/0x320
[849984.166209]  [<ffffffff81186785>] ? mntput_no_expire+0xa5/0xf0
[849984.166215]  [<ffffffff8107a2d5>] queue_work_on+0x25/0x30
[849984.166221]  [<ffffffff8107a31f>] queue_work+0x1f/0x30
[849984.166241]  [<ffffffffa02c97e3>] hci_conn_del_sysfs+0x23/0x30 [bluetooth]
[849984.166256]  [<ffffffffa02bcac5>] hci_conn_put_device+0x25/0x30 [bluetooth]
[849984.166266]  [<ffffffffa03980d6>] hidp_session+0x376/0x4a0 [hidp]
[849984.166274]  [<ffffffff810572e0>] ? try_to_wake_up+0x200/0x200
[849984.166282]  [<ffffffff810572e0>] ? try_to_wake_up+0x200/0x200
[849984.166292]  [<ffffffffa0397d60>] ? hidp_recv_ctrl_frame+0xf0/0xf0 [hidp]
[849984.166302]  [<ffffffff8108120c>] kthread+0x8c/0xa0
[849984.166312]  [<ffffffff815f33e4>] kernel_thread_helper+0x4/0x10
[849984.166320]  [<ffffffff81081180>] ? flush_kthread_worker+0xa0/0xa0
[849984.166328]  [<ffffffff815f33e0>] ? gs_change+0x13/0x13
[849984.166333] ---[ end trace 664b069d306a7db9 ]---
[849988.013232] iwlagn 0000:02:00.0: RF_KILL bit toggled to enable radio.
[849988.440307] usb 1-1.4: new full speed USB device number 32 using ehci_hcd
[849989.712881] ------------[ cut here ]------------
[849989.712896] WARNING: at /build/buildd/linux-3.0.0/fs/sysfs/dir.c:455 
sysfs_add_one+0xc0/0xf0()
[849989.712900] Hardware name: 514328U
[849989.712902] sysfs: cannot create duplicate filename 
'/class/bluetooth/hci0:11'
[849989.712905] Modules linked in: msr btrfs libcrc32c ufs qnx4 hfsplus hfs 
minix ntfs vfat msdos fat jfs xfs reiserfs serpent usb_storage uas cdc_acm 
ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt hidp hid joydev bnep 
rfcomm parport_pc ppdev arc4 snd_hda_codec_hdmi snd_hda_codec_conexant 
snd_hda_intel snd_hda_codec thinkpad_acpi snd_hwdep snd_pcm snd_seq_midi 
snd_rawmidi snd_seq_midi_event btusb snd_seq bluetooth iwlagn snd_timer 
snd_seq_device mac80211 psmouse cfg80211 serio_raw snd intel_ips soundcore 
snd_page_alloc mei(C) nvram tpm_tis binfmt_misc lp parport dm_crypt wmi e1000e 
i915 ahci drm_kms_helper libahci drm i2c_algo_bit video
[849989.712992] Pid: 14324, comm: kworker/u:0 Tainted: G        WC  
3.0.0-12-generic #20-Ubuntu
[849989.712996] Call Trace:
[849989.713006]  [<ffffffff8105e83f>] warn_slowpath_common+0x7f/0xc0
[849989.713011]  [<ffffffff8105e936>] warn_slowpath_fmt+0x46/0x50
[849989.713017]  [<ffffffff811d8690>] sysfs_add_one+0xc0/0xf0
[849989.713022]  [<ffffffff811d9045>] sysfs_do_create_link+0x125/0x210
[849989.713028]  [<ffffffff811d85f8>] ? sysfs_add_one+0x28/0xf0
[849989.713033]  [<ffffffff811d9143>] sysfs_create_link+0x13/0x20
[849989.713043]  [<ffffffff813ca399>] device_add_class_symlinks+0x89/0xe0
[849989.713048]  [<ffffffff811d78d6>] ? sysfs_create_file+0x26/0x30
[849989.713054]  [<ffffffff813cbcb8>] device_add+0x228/0x3e0
[849989.713059]  [<ffffffff813cba6b>] ? device_private_init+0x5b/0x80
[849989.713075]  [<ffffffffa02c95d0>] ? __match_tty+0x40/0x40 [bluetooth]
[849989.713087]  [<ffffffffa02c9633>] add_conn+0x63/0x110 [bluetooth]
[849989.713099]  [<ffffffffa02c95d0>] ? __match_tty+0x40/0x40 [bluetooth]
[849989.713107]  [<ffffffff8107c09a>] process_one_work+0x11a/0x480
[849989.713112]  [<ffffffff8107cd65>] worker_thread+0x165/0x370
[849989.713117]  [<ffffffff8107cc00>] ? manage_workers.isra.30+0x130/0x130
[849989.713122]  [<ffffffff8108120c>] kthread+0x8c/0xa0
[849989.713130]  [<ffffffff815f33e4>] kernel_thread_helper+0x4/0x10
[849989.713135]  [<ffffffff81081180>] ? flush_kthread_worker+0xa0/0xa0
[849989.713140]  [<ffffffff815f33e0>] ? gs_change+0x13/0x13
[849989.713143] ---[ end trace 664b069d306a7dba ]---
[849989.713179] add_conn: Failed to register connection device
[849989.752934] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000039
[849989.756423] IP: [<ffffffff811d87f5>] sysfs_create_dir+0x35/0xc0
[849989.758220] PGD 0 
[849989.759959] Oops: 0000 [#1] SMP 
[849989.761732] CPU 0 
[849989.761748] Modules linked in: msr btrfs libcrc32c ufs qnx4 hfsplus hfs 
minix ntfs vfat msdos fat jfs xfs reiserfs serpent usb_storage uas cdc_acm 
ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt hidp hid joydev bnep 
rfcomm parport_pc ppdev arc4 snd_hda_codec_hdmi snd_hda_codec_conexant 
snd_hda_intel snd_hda_codec thinkpad_acpi snd_hwdep snd_pcm snd_seq_midi 
snd_rawmidi snd_seq_midi_event btusb snd_seq bluetooth iwlagn snd_timer 
snd_seq_device mac80211 psmouse cfg80211 serio_raw snd intel_ips soundcore 
snd_page_alloc mei(C) nvram tpm_tis binfmt_misc lp parport dm_crypt wmi e1000e 
i915 ahci drm_kms_helper libahci drm i2c_algo_bit video
[849989.772026] 
[849989.774193] Pid: 1128, comm: bluetoothd Tainted: G        WC  
3.0.0-12-generic #20-Ubuntu LENOVO 514328U/514328U
[849989.776458] RIP: 0010:[<ffffffff811d87f5>]  [<ffffffff811d87f5>] 
sysfs_create_dir+0x35/0xc0
[849989.778714] RSP: 0018:ffff88012d621ab8  EFLAGS: 00010246
[849989.780936] RAX: ffff8801313621b0 RBX: ffff880084401898 RCX: 
ffff8800844018a0
[849989.783189] RDX: ffff880058bb4c28 RSI: 0000000000000000 RDI: 
ffff880084401898
[849989.785458] RBP: ffff88012d621ae8 R08: 0000000000000000 R09: 
ffff88012f089540
[849989.787713] R10: 0000000000000000 R11: ffffc90000002000 R12: 
0000000000000000
[849989.789971] R13: 0000000000000000 R14: ffff880084401ad8 R15: 
00000000ffffffea
[849989.792215] FS:  00007ff5f25e6740(0000) GS:ffff880137c00000(0000) 
knlGS:0000000000000000
[849989.794446] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[849989.796697] CR2: 0000000000000039 CR3: 000000012f76f000 CR4: 
00000000000006f0
[849989.798977] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
[849989.801274] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
0000000000000400
[849989.803580] Process bluetoothd (pid: 1128, threadinfo ffff88012d620000, 
task ffff88012e1c4560)
[849989.805921] Stack:
[849989.808246]  ffff88012d621ad8 ffff88013701d138 ffff88012d621ae8 
ffff880084401898
[849989.810626]  ffff8801313621b0 0000000000000000 ffff88012d621b28 
ffffffff812e9d01
[849989.812997]  ffff88012d621b38 ffff880084401898 ffff8801313621b0 
0000000000000000
[849989.815358] Call Trace:
[849989.817707]  [<ffffffff812e9d01>] kobject_add_internal+0xb1/0x200
[849989.820108]  [<ffffffff812ea1c7>] kobject_add+0x67/0xc0
[849989.822479]  [<ffffffff813cbb8d>] device_add+0xfd/0x3e0
[849989.824839]  [<ffffffffa0379d12>] hid_add_device+0x82/0x110 [hid]
[849989.827197]  [<ffffffffa0398ffb>] hidp_add_connection+0x34b/0x5b0 [hidp]
[849989.829563]  [<ffffffff81081cb0>] ? add_wait_queue+0x60/0x60
[849989.831924]  [<ffffffffa0399801>] hidp_sock_ioctl+0x241/0x2d0 [hidp]
[849989.834298]  [<ffffffff81284086>] ? security_sk_alloc+0x16/0x20
[849989.836676]  [<ffffffff814c66c3>] ? sk_prot_alloc+0x83/0x210
[849989.839064]  [<ffffffff81153e9c>] ? kmem_cache_alloc_trace+0x10c/0x140
[849989.841474]  [<ffffffff812b696c>] ? apparmor_file_alloc_security+0x2c/0x60
[849989.843903]  [<ffffffff814c0110>] sock_do_ioctl+0x30/0x70
[849989.846340]  [<ffffffff814c1199>] sock_ioctl+0x79/0x2f0
[849989.848769]  [<ffffffff8117939a>] do_vfs_ioctl+0x8a/0x340
[849989.851198]  [<ffffffff811796e1>] sys_ioctl+0x91/0xa0
[849989.853627]  [<ffffffff814c3480>] ? sys_socket+0x40/0x70
[849989.856062]  [<ffffffff815f22c2>] system_call_fastpath+0x16/0x1b
[849989.858499] Code: 83 ec 18 66 66 66 66 90 48 85 ff 48 89 fb 0f 84 98 00 00 
00 48 8b 47 18 49 c7 c4 20 8e a4 81 48 85 c0 74 04 4c 8b 60 30 45 31 ed 
[849989.858671]  80 7c 24 39 00 75 5b 48 89 df e8 8b 1f 11 00 48 85 c0 74 66 
[849989.863836] RIP  [<ffffffff811d87f5>] sysfs_create_dir+0x35/0xc0
[849989.866494]  RSP <ffff88012d621ab8>
[849989.869150] CR2: 0000000000000039
[849989.939122] ---[ end trace 664b069d306a7dbb ]---

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

Title:
  sysfs: cannot create duplicate filename '/class/bluetooth/hci0:1 2'

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to