Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39620 - [linux] crash in Kernel 3.13 when unplugin usb disk

Attached to Project: Arch Linux
Opened by Hatem Masmoudi (hmasmoudi) - Tuesday, 25 March 2014, 15:31 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 13 August 2014, 06:58 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
------------[ cut here ]------------
[ 1374.217552] WARNING: CPU: 1 PID: 930 at fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()
[ 1374.217554] sysfs group ffffffff81895c40 not found for kobject 'target6:0:0'
[ 11.195209] systemd-udevd[164]: renamed network interface wlan0 to wlp2s0
[ 1374.217556] Modules linked in:
[ 1374.217557] nls_cp437 vfat fat usb_storage vboxdrv(O) fuse intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp arc4 brcmsmac kvm_intel cordic kvm btusb brcmutil bluetooth joydev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev b43 media mac80211 cfg80211 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel mousedev dell_wmi sparse_keymap ppdev ssb cryptd iTCO_wdt iTCO_vendor_support dell_laptop snd_hda_codec_hdmi rfkill pcmcia dcdbas microcode i915 tg3 yenta_socket pcmcia_rsrc snd_hda_codec_idt snd_hda_intel pcmcia_core ptp pps_core libphy bcma intel_agp intel_gtt pcspkr drm_kms_helper psmouse snd_hda_codec snd_hwdep drm evdev snd_pcm snd_page_alloc snd_timer snd i2c_i801 i2c_algo_bit i2c_core wmi parport_pc parport shpchp lpc_ich mei_me mei thermal
[ 1374.217611] video battery ac serio_raw soundcore button processor ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod hid_generic usbhid hid atkbd libps2 ahci libahci libata sdhci_pci scsi_mod firewire_ohci sdhci firewire_core mmc_core crc_itu_t i8042 serio ehci_pci ehci_hcd usbcore usb_common
[ 1374.217634] CPU: 1 PID: 930 Comm: umount Tainted: G O 3.13.7-1-ARCH #1
[ 1374.217636] Hardware name: Dell Inc. Latitude E5520/0KCT5J, BIOS A14 12/26/2013
[ 1374.217638] 0000000000000009 ffff880079cf1b40 ffffffff81513754 ffff880079cf1b88
[ 1374.217641] ffff880079cf1b78 ffffffff81061a3d 0000000000000000 ffffffff81895c40
[ 1374.217644] ffff8800c2159438 ffff880128156190 ffff8800ae2a6800 ffff880079cf1bd8
[ 1374.217647] Call Trace:
[ 1374.217653] [<ffffffff81513754>] dump_stack+0x4d/0x6f
[ 1374.217658] [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
[ 1374.217661] [<ffffffff81061aac>] warn_slowpath_fmt+0x4c/0x50
[ 1374.217664] [<ffffffff815188de>] ? mutex_unlock+0xe/0x10
[ 1374.217667] [<ffffffff812192ce>] ? sysfs_get_dirent_ns+0x4e/0x70
[ 1374.217670] [<ffffffff8121a456>] sysfs_remove_group+0xc6/0xd0
[ 1374.217676] [<ffffffff813b7323>] dpm_sysfs_remove+0x43/0x50
[ 1374.217679] [<ffffffff813ad1a5>] device_del+0x45/0x1c0
[ 1374.217689] [<ffffffffa00ed2b7>] scsi_target_reap_usercontext+0x27/0x40 [scsi_mod]
[ 1374.217693] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
[ 1374.217700] [<ffffffffa00ee5d4>] scsi_target_reap+0xc4/0xf0 [scsi_mod]
[ 1374.217707] [<ffffffffa00f0558>] scsi_device_dev_release_usercontext+0x188/0x1c0 [scsi_mod]
[ 1374.217710] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
[ 1374.217716] [<ffffffffa00f03cc>] scsi_device_dev_release+0x1c/0x20 [scsi_mod]
[ 1374.217719] [<ffffffff813ac6e2>] device_release+0x32/0xa0
[ 1374.217724] [<ffffffff812b6be7>] kobject_cleanup+0x77/0x1b0
[ 1374.217727] [<ffffffff812b6a68>] kobject_put+0x28/0x60
[ 1374.217730] [<ffffffff813acae7>] put_device+0x17/0x20
[ 1374.217737] [<ffffffffa00e45eb>] scsi_device_put+0x3b/0x50 [scsi_mod]
[ 1374.217742] [<ffffffffa01c87e0>] scsi_disk_put+0x30/0x50 [sd_mod]
[ 1374.217747] [<ffffffffa01c96a1>] sd_release+0x31/0x70 [sd_mod]
[ 1374.217751] [<ffffffff811dc7bc>] __blkdev_put+0x17c/0x1b0
[ 1374.217756] [<ffffffff811dc757>] __blkdev_put+0x117/0x1b0
[ 1374.217759] [<ffffffff811dd11e>] blkdev_put+0x4e/0x140
[ 1374.217762] [<ffffffff811a5fb4>] kill_block_super+0x44/0x70
[ 1374.217765] [<ffffffff811a627d>] deactivate_locked_super+0x3d/0x60
[ 1374.217767] [<ffffffff811a6836>] deactivate_super+0x46/0x60
[ 1374.217771] [<ffffffff811c2535>] mntput_no_expire+0xe5/0x170
[ 1374.217774] [<ffffffff811c3790>] SyS_umount+0x90/0x3c0
[ 1374.217778] [<ffffffff8151dd7e>] ? do_page_fault+0xe/0x10
[ 1374.217781] [<ffffffff81521b6d>] system_call_fastpath+0x1a/0x1f
[ 1374.217783] ---[ end trace 3229332528cca07f ]---


Additional info:
Linux Latitude-E5520 3.13.7-1-ARCH #1 SMP PREEMPT Mon Mar 24 20:06:08 CET 2014 x86_64 GNU/Linux

Present also in 3.13.6 version.

Steps to reproduce:
1- Plug USB Disk
2- Unplug USB Disk
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 13 August 2014, 06:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.15 and up
Comment by Thomas Bächler (brain0) - Tuesday, 25 March 2014, 16:32 GMT
Please reproduce this bug without vboxdrv loaded.
Comment by Jan de Groot (JGC) - Tuesday, 25 March 2014, 23:16 GMT
[ 9266.145962] usb 2-2: USB disconnect, device number 2
[ 9266.163769] ------------[ cut here ]------------
[ 9266.163780] WARNING: CPU: 0 PID: 4848 at fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()
[ 9266.163783] sysfs group ffffffff81895c40 not found for kobject 'target7:0:0'
[ 9266.163785] Modules linked in: nls_cp437 vfat fat fuse ctr ccm joydev mousedev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core ums_realtek videodev usb_storage media btusb bluetooth iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap intel_rapl dell_laptop x86_pkg_temp_thermal dcdbas intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crct10dif_common crc32_pclmul arc4 crc32c_intel ghash_clmulni_intel cryptd microcode iwldvm evdev psmouse serio_raw pcspkr mac80211 i2c_i801 iwlwifi r8169 cfg80211 snd_hda_codec_hdmi mii snd_hda_codec_idt rfkill wmi i915 intel_agp intel_gtt snd_hda_intel drm_kms_helper snd_hda_codec drm snd_hwdep snd_pcm video battery ac snd_page_alloc i2c_algo_bit thermal snd_timer mei_me button i2c_core mei snd soundcore shpchp processor lpc_ich nfs lockd sunrpc fscache
[ 9266.163836] ext4 crc16 mbcache jbd2 sr_mod sd_mod cdrom atkbd libps2 ahci libahci libata scsi_mod xhci_hcd i8042 serio ehci_pci ehci_hcd usbcore usb_common
[ 9266.163850] CPU: 0 PID: 4848 Comm: umount Not tainted 3.13.6-2-ARCH #1
[ 9266.163851] Hardware name: Dell Inc. Vostro 3350/0CXHNM, BIOS A08 03/22/2012
[ 9266.163853] 0000000000000009 ffff8800b7937b40 ffffffff81513274 ffff8800b7937b88
[ 9266.163856] ffff8800b7937b78 ffffffff81061a3d 0000000000000000 ffffffff81895c40
[ 9266.163858] ffff8801dd8ef438 ffff8800b78ee190 ffff8802031cb000 ffff8800b7937bd8
[ 9266.163861] Call Trace:
[ 9266.163867] [<ffffffff81513274>] dump_stack+0x4d/0x6f
[ 9266.163871] [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
[ 9266.163874] [<ffffffff81061aac>] warn_slowpath_fmt+0x4c/0x50
[ 9266.163878] [<ffffffff8151843e>] ? mutex_unlock+0xe/0x10
[ 9266.163881] [<ffffffff8121925e>] ? sysfs_get_dirent_ns+0x4e/0x70
[ 9266.163884] [<ffffffff8121a3e6>] sysfs_remove_group+0xc6/0xd0
[ 9266.163890] [<ffffffff813b7033>] dpm_sysfs_remove+0x43/0x50
[ 9266.163895] [<ffffffff813aceb5>] device_del+0x45/0x1c0
[ 9266.163906] [<ffffffffa00c52b7>] scsi_target_reap_usercontext+0x27/0x40 [scsi_mod]
[ 9266.163910] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
[ 9266.163917] [<ffffffffa00c65d4>] scsi_target_reap+0xc4/0xf0 [scsi_mod]
[ 9266.163923] [<ffffffffa00c8558>] scsi_device_dev_release_usercontext+0x188/0x1c0 [scsi_mod]
[ 9266.163926] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
[ 9266.163931] [<ffffffffa00c83cc>] scsi_device_dev_release+0x1c/0x20 [scsi_mod]
[ 9266.163934] [<ffffffff813ac3f2>] device_release+0x32/0xa0
[ 9266.163938] [<ffffffff812b6b47>] kobject_cleanup+0x77/0x1b0
[ 9266.163941] [<ffffffff812b69c8>] kobject_put+0x28/0x60
[ 9266.163944] [<ffffffff813ac7f7>] put_device+0x17/0x20
[ 9266.163949] [<ffffffffa00bc5eb>] scsi_device_put+0x3b/0x50 [scsi_mod]
[ 9266.163954] [<ffffffffa016b7e0>] scsi_disk_put+0x30/0x50 [sd_mod]
[ 9266.163959] [<ffffffffa016c6a1>] sd_release+0x31/0x70 [sd_mod]
[ 9266.163963] [<ffffffff811dc75c>] __blkdev_put+0x17c/0x1b0
[ 9266.163966] [<ffffffff811dc6f7>] __blkdev_put+0x117/0x1b0
[ 9266.163969] [<ffffffff811dd0be>] blkdev_put+0x4e/0x140
[ 9266.163972] [<ffffffff811a5f64>] kill_block_super+0x44/0x70
[ 9266.163975] [<ffffffff811a622d>] deactivate_locked_super+0x3d/0x60
[ 9266.163977] [<ffffffff811a67e6>] deactivate_super+0x46/0x60
[ 9266.163981] [<ffffffff811c24d5>] mntput_no_expire+0xe5/0x170
[ 9266.163983] [<ffffffff811c3730>] SyS_umount+0x90/0x3c0
[ 9266.163987] [<ffffffff8151d8be>] ? do_page_fault+0xe/0x10
[ 9266.163990] [<ffffffff815216ad>] system_call_fastpath+0x1a/0x1f
[ 9266.163992] ---[ end trace 63675ba33a804e16 ]---
Comment by Hatem Masmoudi (hmasmoudi) - Friday, 28 March 2014, 07:26 GMT

Loading...