[Bug 922405] New: 1 minute delay until USB thumb drive is usable
http://bugzilla.opensuse.org/show_bug.cgi?id=922405 Bug ID: 922405 Summary: 1 minute delay until USB thumb drive is usable Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: triffterer@web.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 626897 --> http://bugzilla.opensuse.org/attachment.cgi?id=626897&action=edit Output of dmesg when plugging in the device I have trouble with a USB thumb drive on openSUSE 13.2, which used to work flawlessly under openSUSE 13.1. It takes about a minute from plugging the device in until it is usable properly. The thumb drive supports USB 3.0, but the problems occurs both on USB 3.0 and 2.0 plugs. When I plug the device in, the Kernel apparently recognizes it rather quickly, as the dmesg output suggests. The device files /dev/sdb and /dev/sdb1 also turn up quickly. Nevertheless, it takes about 60 seconds until the device shows up in the device menu of KDE. Upon further investigation, I found out that the device is unusable until the kernel "resets" it, as you can see in the attached dmesg output. There you can also see the delay between "Attached SCSI removable disk" and "reset high-speed USB device number 12 using xhci_hcd". When checking the device with "udevadm info /dev/sdb", I noticed that during the 60-second wait period, the output is rather small. After the device works properly, the output is much longer (see attachment). For further testing, I tried to read the partition table by executing "fdisk -l /dev/sdb" directly after plugging in the device. But fdisk hangs without producing any output until the 60 seconds are over, after which it produces the proper output and shows the one FAT32 partition on the thumb drive. The output of "lsusb -vvv -d 13fe:5500" is also attached to this bug report. When executed before the device works, lsusb also hangs a few seconds and shows "(error)" instead of some attributes, e.g. iSerial. In addition, it is rather annoying if the stick is plugged in while openSUSE 13.2 is booting: In this case, both the initrd and the systemd-udev-settle.service wait 60 seconds (determined by "systemd-analyze plot") until the stick is ready, so the overall boot time is increased by 2 minutes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
--- Comment #1 from Tobias Triffterer
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
--- Comment #2 from Tobias Triffterer
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
--- Comment #3 from Tobias Triffterer
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
--- Comment #4 from Tobias Triffterer
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
http://bugzilla.opensuse.org/show_bug.cgi?id=922405#c10
Tobias Triffterer
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
http://bugzilla.opensuse.org/show_bug.cgi?id=922405#c11
Oliver Neukum
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
http://bugzilla.opensuse.org/show_bug.cgi?id=922405#c12
--- Comment #12 from Tobias Triffterer
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
http://bugzilla.opensuse.org/show_bug.cgi?id=922405#c13
--- Comment #13 from Oliver Neukum
Using my patched kernel or the stock one?
The stock kernel -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=922405
http://bugzilla.opensuse.org/show_bug.cgi?id=922405#c27
Tobias Triffterer
participants (1)
-
bugzilla_noreply@novell.com