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 [details]
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: