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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 24 Apr 2008 15:56:04 -0700
From:	Greg KH <greg@...ah.com>
To:	Pekka J Enberg <penberg@...helsinki.fi>
Cc:	Alan Stern <stern@...land.harvard.edu>,
	linux-kernel@...r.kernel.org, dsd@...too.org,
	mdharm-usb@...-eyed-alien.net, linux-usb@...r.kernel.org,
	vegardno@....uio.no, James.Bottomley@...senPartnership.com,
	linux-scsi@...r.kernel.org
Subject: Re: [RFC/PATCH] usb-storage: wait for device scanning before
	mounting root

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@...helsinki.fi>
> > > 
> > > 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@...helsinki.fi>
> 
> 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-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