Re: Kernel causes excessive delay mounting USB device

From: Dr. David Alan Gilbert
Date: Sun Aug 04 2013 - 13:43:32 EST


* Dr. David Alan Gilbert (dave@xxxxxxxxxxx) wrote:
> * Vern Clark (vmclark@xxxxxxxxxxx) wrote:
> >
> > Plugging in any USB flash stick takes 5-6 minutes before its mounted.
> >
> > ===
> > Using the current kernel-3.8.0-28-generic, the USB fails to load in proper time.
> > I found this message in syslog: timeout: killing '/sbin/blkid -o udev -p /dev/sdb'. Right after which, the USB device was mounted.
> >
> > Using an earlier kernel-3.2.37-030237-generic, fixed the problem.
>
> Did you try going back to one of their previous 3.8.0 versions rather than a big jump like that?
>
> > Aug 2 09:39:16 u kernel: [ 2269.914570] sd 11:0:0:0: [sdb] Assuming drive cache: write through
> > Aug 2 09:39:47 u kernel: [ 2300.739825] usb 1-8: reset high-speed USB device number 11 using ehci-pci
>
> Curious; I've just started getting something similar on the Ubuntu 3.10.0-6 kernels, and
> last nights v3.11-rc3 build.
>
> It's been suggested perhaps:
> http://www.spinics.net/lists/stable/msg16022.html
>
> is the culprit, but I haven't tried it yet.

Martin's patch seems to do the trick here on my
ASRock P55M Pro with a
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
with a :
Bus 002 Device 004: ID 0951:1624 Kingston Technology DataTraveler G2
that was objecting (16GB version)

(Thanks to Emil Karlson who pointed me at that patch).

Dave
P.S. for reference:


--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ gro.gilbert @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/