lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 4 Aug 2013 18:42:54 +0100
From:	"Dr. David Alan Gilbert" <dave@...blig.org>
To:	Vern Clark <vmclark@...izon.net>, linux-kernel@...r.kernel.org
Cc:	martin.petersen@...cle.com
Subject: Re: Kernel causes excessive delay mounting USB device

* Dr. David Alan Gilbert (dave@...blig.org) wrote:
> * Vern Clark (vmclark@...izon.net) 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ