Public bug reported: Suddenly got this warning in dmesg: Mar 4 23:08:39 laptop-jl kernel: [19951.767731] ------------[ cut here ]------------ Mar 4 23:08:39 laptop-jl kernel: [19951.767751] WARNING: at /build/buildd/linux-3.2.0/fs/sysfs/inode.c:323 sysfs_hash_and_remove+0xa9/0xb0() Mar 4 23:08:39 laptop-jl kernel: [19951.767759] Hardware name: Dell System XPS L502X Mar 4 23:08:39 laptop-jl kernel: [19951.767764] sysfs: can not remove 'bsg', no directory Mar 4 23:08:39 laptop-jl kernel: [19951.767769] Modules linked in: xfs ses enclosure dm_crypt nls_iso8859_1 nls_cp437 vfat fat usb_storage ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp bbswitch(O) bnep rfcomm parport_pc ppdev nfsd nfs binfmt_misc lockd fscache auth_rpcgss nfs_acl sunrpc snd_hda_codec_hdmi snd_hda_codec_realtek joydev arc4 dell_wmi sparse_keymap cdc_ether cdc_wdm usbnet cdc_acm snd_hda_intel snd_hda_codec snd_hwdep dell_laptop dcdbas snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event btusb bluetooth snd_seq uvcvideo psmouse videodev serio_raw v4l2_compat_ioctl32 snd_timer snd_seq_device iwlwifi snd mac80211 cfg80211 soundcore snd_page_alloc ttm mxm_wmi wmi i915 drm_kms_helper mei(C) drm mac_hid i2c_algo_bit video lp parport usbhid hid r8169 [last unloaded: nouveau] Mar 4 23:08:39 laptop-jl kernel: [19951.767986] Pid: 47, comm: khubd Tainted: G WC O 3.2.0-17-generic #27-Ubuntu Mar 4 23:08:39 laptop-jl kernel: [19951.767993] Call Trace: Mar 4 23:08:39 laptop-jl kernel: [19951.768012] [<ffffffff8106723f>] warn_slowpath_common+0x7f/0xc0 Mar 4 23:08:39 laptop-jl kernel: [19951.768024] [<ffffffff81067336>] warn_slowpath_fmt+0x46/0x50 Mar 4 23:08:39 laptop-jl kernel: [19951.768035] [<ffffffff811ea869>] sysfs_hash_and_remove+0xa9/0xb0 Mar 4 23:08:39 laptop-jl kernel: [19951.768048] [<ffffffff811ecf66>] sysfs_remove_link+0x26/0x30 Mar 4 23:08:39 laptop-jl kernel: [19951.768062] [<ffffffff812fa13c>] bsg_unregister_queue+0x4c/0x90 Mar 4 23:08:39 laptop-jl kernel: [19951.768078] [<ffffffff8142b4d9>] __scsi_remove_device+0xa9/0xd0 Mar 4 23:08:39 laptop-jl kernel: [19951.768089] [<ffffffff81429e64>] scsi_forget_host+0x64/0x70 Mar 4 23:08:39 laptop-jl kernel: [19951.768103] [<ffffffff8141f05f>] scsi_remove_host+0x6f/0x120 Mar 4 23:08:39 laptop-jl kernel: [19951.768122] [<ffffffffa021a72d>] quiesce_and_remove_host+0x6d/0xc0 [usb_storage] Mar 4 23:08:39 laptop-jl kernel: [19951.768138] [<ffffffffa021a7a2>] usb_stor_disconnect+0x22/0x40 [usb_storage] Mar 4 23:08:39 laptop-jl kernel: [19951.768153] [<ffffffff81494a82>] usb_unbind_interface+0x52/0x180 Mar 4 23:08:39 laptop-jl kernel: [19951.768168] [<ffffffff813f1afc>] __device_release_driver+0x7c/0xe0 Mar 4 23:08:39 laptop-jl kernel: [19951.768180] [<ffffffff813f1b8c>] device_release_driver+0x2c/0x40 Mar 4 23:08:39 laptop-jl kernel: [19951.768192] [<ffffffff813f1638>] bus_remove_device+0x78/0xb0 Mar 4 23:08:39 laptop-jl kernel: [19951.768203] [<ffffffff813eec0d>] device_del+0x12d/0x1b0 Mar 4 23:08:39 laptop-jl kernel: [19951.768214] [<ffffffff814927af>] usb_disable_device+0xaf/0x1d0 Mar 4 23:08:39 laptop-jl kernel: [19951.768227] [<ffffffff8148b4e8>] usb_disconnect+0x98/0x140 Mar 4 23:08:39 laptop-jl kernel: [19951.768241] [<ffffffff8148c350>] hub_port_connect_change+0xa0/0x6e0 Mar 4 23:08:39 laptop-jl kernel: [19951.768254] [<ffffffff81489a7a>] ? hub_port_finish_reset.isra.17+0x6a/0x140 Mar 4 23:08:39 laptop-jl kernel: [19951.768267] [<ffffffff8148ce54>] hub_events+0x4c4/0x620 Mar 4 23:08:39 laptop-jl kernel: [19951.768282] [<ffffffff816566bc>] ? __schedule+0x3cc/0x6f0 Mar 4 23:08:39 laptop-jl kernel: [19951.768295] [<ffffffff8148cfe5>] hub_thread+0x35/0x180 Mar 4 23:08:39 laptop-jl kernel: [19951.768303] [<ffffffff8108ae20>] ? add_wait_queue+0x60/0x60 Mar 4 23:08:39 laptop-jl kernel: [19951.768312] [<ffffffff8148cfb0>] ? hub_events+0x620/0x620 Mar 4 23:08:39 laptop-jl kernel: [19951.768319] [<ffffffff8108a38c>] kthread+0x8c/0xa0 Mar 4 23:08:39 laptop-jl kernel: [19951.768329] [<ffffffff81663374>] kernel_thread_helper+0x4/0x10 Mar 4 23:08:39 laptop-jl kernel: [19951.768337] [<ffffffff8108a300>] ? flush_kthread_worker+0xa0/0xa0 Mar 4 23:08:39 laptop-jl kernel: [19951.768345] [<ffffffff81663370>] ? gs_change+0x13/0x13 Mar 4 23:08:39 laptop-jl kernel: [19951.768350] ---[ end trace 3cfa9e8ed85c7a33 ]---
There is already a fix for this in kernel GIT: http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=37b40adf2d1b4a5e51323be73ccf8ddcf3f15dd3 Could this be applied in Precise kernel? ** Affects: linux (Ubuntu) Importance: Undecided Status: Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946928 Title: sysfs: can not remove 'bsg', no directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/946928/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs