Comment 0 for bug 888828

Revision history for this message
James M. Leddy (jm-leddy) wrote : sysfs: cannot create duplicate filename '/class/bluetooth/hci0:1 2'

Came back to my computer and started moving my bluetooth mouse around, got this Oops:

[182074.145691] ------------[ cut here ]------------
[182074.145703] WARNING: at /build/buildd/linux-3.0.0/fs/sysfs/dir.c:455 sysfs_a
dd_one+0xc0/0xf0()
[182074.145705] Hardware name: 514328U
[182074.145706] sysfs: cannot create duplicate filename '/class/bluetooth/hci0:1
2'
[182074.145708] Modules linked in: nls_utf8 isofs serpent msr usb_storage uas hi
dp hid joydev bnep rfcomm parport_pc ppdev arc4 snd_hda_codec_hdmi snd_hda_codec
_conexant snd_hda_intel snd_hda_codec thinkpad_acpi btusb snd_hwdep snd_seq_midi
 snd_rawmidi snd_pcm bluetooth iwlagn mac80211 snd_seq_midi_event psmouse serio_
raw intel_ips cfg80211 snd_seq snd_page_alloc snd_timer snd_seq_device mei(C) sn
d tpm_tis soundcore nvram binfmt_misc lp parport dm_crypt ahci libahci i915 drm_
kms_helper e1000e drm i2c_algo_bit video wmi
[182074.145752] Pid: 30238, comm: kworker/u:8 Tainted: G WC 3.0.0-12-gen
eric #20-Ubuntu
[182074.145754] Call Trace:
[182074.145762] [<ffffffff8105e83f>] warn_slowpath_common+0x7f/0xc0
[182074.145765] [<ffffffff8105e936>] warn_slowpath_fmt+0x46/0x50
[182074.145768] [<ffffffff811d8690>] sysfs_add_one+0xc0/0xf0
[182074.145772] [<ffffffff811d9045>] sysfs_do_create_link+0x125/0x210
[182074.145775] [<ffffffff811d85f8>] ? sysfs_add_one+0x28/0xf0
[182074.145778] [<ffffffff811d9143>] sysfs_create_link+0x13/0x20
[182074.145785] [<ffffffff813ca399>] device_add_class_symlinks+0x89/0xe0
[182074.145788] [<ffffffff811d78d6>] ? sysfs_create_file+0x26/0x30
[182074.145791] [<ffffffff813cbcb8>] device_add+0x228/0x3e0
[182074.145793] [<ffffffff813cba6b>] ? device_private_init+0x5b/0x80
[182074.145803] [<ffffffffa02fc5d0>] ? __match_tty+0x40/0x40 [bluetooth]
[182074.145810] [<ffffffffa02fc633>] add_conn+0x63/0x110 [bluetooth]
[182074.145816] [<ffffffffa02fc5d0>] ? __match_tty+0x40/0x40 [bluetooth]
[182074.145822] [<ffffffff8107c09a>] process_one_work+0x11a/0x480
[182074.145825] [<ffffffff8107cd65>] worker_thread+0x165/0x370
[182074.145827] [<ffffffff8107cc00>] ? manage_workers.isra.30+0x130/0x130
[182074.145831] [<ffffffff8108120c>] kthread+0x8c/0xa0
[182074.145836] [<ffffffff815f33e4>] kernel_thread_helper+0x4/0x10
[182074.145839] [<ffffffff81081180>] ? flush_kthread_worker+0xa0/0xa0
[182074.145841] [<ffffffff815f33e0>] ? gs_change+0x13/0x13
[182074.145843] ---[ end trace 66790f2bdb06b760 ]---
[182074.145870] add_conn: Failed to register connection device
[182074.296220] iwlagn 0000:02:00.0: iwlagn_tx_agg_start on ra = c4:3d:c7:a7:ac:
ea tid = 0
[182074.363644] BUG: unable to handle kernel NULL pointer dereference at 0000000
000000039
[182074.365957] IP: [<ffffffff811d87f5>] sysfs_create_dir+0x35/0xc0
[182074.367184] PGD 0
[182074.368374] Oops: 0000 [#1] SMP
[182074.369563] CPU 0
[182074.369572] Modules linked in: nls_utf8 isofs serpent msr usb_storage uas hi
dp hid joydev bnep rfcomm parport_pc ppdev arc4 snd_hda_codec_hdmi snd_hda_codec
_conexant snd_hda_intel snd_hda_codec thinkpad_acpi btusb snd_hwdep snd_seq_midi
 snd_rawmidi snd_pcm bluetooth iwlagn mac80211 snd_seq_midi_event psmouse serio_
raw intel_ips cfg80211 snd_seq snd_page_alloc snd_timer snd_seq_device mei(C) snd tpm_tis soundcore nvram binfmt_misc lp parport dm_crypt ahci libahci i915 drm_kms_helper e1000e drm i2c_algo_bit video wmi
[182074.374868]
[182074.376218] Pid: 1137, comm: bluetoothd Tainted: G WC 3.0.0-12-generic #20-Ubuntu LENOVO 514328U/514328U
[182074.377626] RIP: 0010:[<ffffffff811d87f5>] [<ffffffff811d87f5>] sysfs_create_dir+0x35/0xc0
[182074.379051] RSP: 0018:ffff88012f97dab8 EFLAGS: 00010246
[182074.380465] RAX: ffff8800655c19b0 RBX: ffff880063dad898 RCX: ffff880063dad8a0
[182074.381903] RDX: ffff88000699f028 RSI: 0000000000000000 RDI: ffff880063dad898
[182074.383307] RBP: ffff88012f97dae8 R08: 0000000000000000 R09: ffff88012c56e780
[182074.384873] R10: 0000000000000000 R11: ffffc90000002000 R12: 0000000000000000
[182074.386496] R13: 0000000000000000 R14: ffff880063dadad8 R15: 00000000ffffffea
[182074.388076] FS: 00007f7812b09740(0000) GS:ffff880137c00000(0000) knlGS:0000000000000000
[182074.389566] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[182074.391012] CR2: 0000000000000039 CR3: 0000000130a16000 CR4: 00000000000006f0
[182074.392478] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[182074.393949] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[182074.395426] Process bluetoothd (pid: 1137, threadinfo ffff88012f97c000, task ffff88012c2f0000)
[182074.396938] Stack:
[182074.398400] ffff88012f97dad8 ffff88013701d138 ffff88012f97dae8 ffff880063dad898
[182074.399908] ffff8800655c19b0 0000000000000000 ffff88012f97db28 ffffffff812e9d01
[182074.401443] ffff88012f97db38 ffff880063dad898 ffff8800655c19b0 0000000000000000
[182074.403024] Call Trace:
[182074.404587] [<ffffffff812e9d01>] kobject_add_internal+0xb1/0x200
[182074.406148] [<ffffffff812ea1c7>] kobject_add+0x67/0xc0
[182074.407700] [<ffffffff813cbb8d>] device_add+0xfd/0x3e0
[182074.409264] [<ffffffffa039dd12>] hid_add_device+0x82/0x110 [hid]
[182074.410825] [<ffffffffa0365ffb>] hidp_add_connection+0x34b/0x5b0 [hidp]
[182074.412386] [<ffffffff81081cb0>] ? add_wait_queue+0x60/0x60
[182074.413951] [<ffffffffa0366801>] hidp_sock_ioctl+0x241/0x2d0 [hidp]
[182074.415520] [<ffffffff81284086>] ? security_sk_alloc+0x16/0x20
[182074.417119] [<ffffffff814c66c3>] ? sk_prot_alloc+0x83/0x210
[182074.418680] [<ffffffff81153e9c>] ? kmem_cache_alloc_trace+0x10c/0x140
[182074.420277] [<ffffffff812b696c>] ? apparmor_file_alloc_security+0x2c/0x60
[182074.421815] [<ffffffff814c0110>] sock_do_ioctl+0x30/0x70
[182074.423340] [<ffffffff814c1199>] sock_ioctl+0x79/0x2f0
[182074.424885] [<ffffffff8117939a>] do_vfs_ioctl+0x8a/0x340
[182074.426420] [<ffffffff811796e1>] sys_ioctl+0x91/0xa0
[182074.428000] [<ffffffff814c3480>] ? sys_socket+0x40/0x70
[182074.429531] [<ffffffff815f22c2>] system_call_fastpath+0x16/0x1b
[182074.431063] 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
[182074.431185] 80 7c 24 39 00 75 5b 48 89 df e8 8b 1f 11 00 48 85 c0 74 66
[182074.434564] RIP [<ffffffff811d87f5>] sysfs_create_dir+0x35/0xc0
[182074.436272] RSP <ffff88012f97dab8>
[182074.437971] CR2: 0000000000000039
[182074.509450] ---[ end trace 66790f2bdb06b761 ]---

Now my mouse doesn't work, and oddly the scroll on my synaptics touchpad got broken. I'm not sure if I can reproduce this issue.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-bluetooth 3.2.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Thu Nov 10 19:10:12 2011
ExecutablePath: /usr/bin/bluetooth-applet
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-bluetooth
UpgradeStatus: No upgrade log present (probably fresh install)