Re: Slow USB storage device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 15 Jan 2010, Linus Torvalds wrote:
> 
> > After all has settled, does:
> >  devkit-disks --dump
> > print anything useful about this device?
> 
> Appended. 

Heh. That part actually also shows the real problem:

> Showing information for /org/freedesktop/DeviceKit/Disks/devices/sdc
>   detected at:                 Fri 15 Jan 2010 07:25:24 AM PST
> Showing information for /org/freedesktop/DeviceKit/Disks/devices/sdc1
>   detected at:                 Fri 15 Jan 2010 07:25:53 AM PST

Yeah, that's about half a minute between detecting the disk, and detecting 
the partition on the disk.

It's really not me unplugging and replugging the hardware a few times (I 
would certainly have had time to do that more than a couple of times). 
It really is simply the detection code taking that long.

And it's actually worse than that when you then look at the kernel 
messages too:

	Jan 15 07:24:53 EeePC kernel: [26470.697095] usb 3-1: new full speed USB device using uhci_hcd and address 8
	Jan 15 07:24:54 EeePC kernel: [26471.981594]  sdc: sdc1

iow, the _kernel_ detected it in a second at 07:24:54, just shy of a full 
_minute_ before it got "detected" by DeviceKit.

(Ok, I admit that I had to cheat to get the kernel to detect it that fast. 
I changed the default settling timeout from 5 to 1 seconds as per Alan 
Stern's suggestion. Sadly, in this situation, the five seconds wasn't even 
noticeable).

		Linus
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux