Re: [RFC/PATCH] usb-storage: wait for device scanning before mounting root

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

 



Hi Matthew,

On Thu, 24 Apr 2008, Matthew Dharm wrote:
> > > This also has all sorts of races between do_mounts 'waiting' and the actual
> > > USB device enumeration.  It's entirely possible that the kernel loads via
> > > BIOS, the USB drivers are loaded, that forces devices to disconnect/reset,
> > > and they take a while to re-enumerate.  During that delay, the kernel gets
> > > to do_mount; now, no devices show in this "waiting for scan" count.

On Fri, Apr 25, 2008 at 09:30:52AM +0300, Pekka J Enberg wrote:
> > So how does that happen? ->storage_probe fails and driver core calls it 
> > later at some point?

On Fri, 25 Apr 2008, Matthew Dharm wrote:
> There's no guarantee that storage_probe is going to get called in a timely
> manner.

How can we add such a guarantee? Don't we have this problem with any other 
storage devices?

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux