On Fri, Apr 25, 2008 at 12:25:04AM +0300, Pekka J Enberg wrote: > On Thu, 24 Apr 2008, Pekka J Enberg wrote: > > > From: Pekka Enberg <penberg@xxxxxxxxxxxxxx> > > > > > > Add a new kernel config option CONFIG_LATE_ROOT_MOUNT that makes the kernel > > > wait until background scanning of USB mass storage devices is complete before > > > attempting to mount the root filesystem. > > > > > > The config option is an alternative to the root_delay= kernel parameter > > > solution people currently use to boot from USB mass storage devices. > > On Thu, 24 Apr 2008, Alan Stern wrote: > > This doesn't take into account what happens when CONFIG_SCSI_SCAN_ASYNC > > is set. > > Oh, right. Thanks! So something like the following should take care of it. > > Pekka > > Subject: [RFC/PATCH] usb-storage: wait for device scanning before mounting root V2 > From: Pekka Enberg <penberg@xxxxxxxxxxxxxx> > > Add a new kernel config option CONFIG_LATE_ROOT_MOUNT that makes the kernel > wait until background scanning of USB mass storage devices is complete before > attempting to mount the root filesystem. What happens if there is no USB device present in the system? Because of that, there is no way that this option could ever be enabled by any distro or anyone wanting their kernel to run on more than one machine :( I don't like it. thanks, greg k-h -- 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