event based initramfs

Phillip Susi psusi at ubuntu.com
Fri May 11 19:52:37 UTC 2012


On 5/11/2012 2:52 PM, Clint Byrum wrote:
> So the timeout would be the one in 'udevadm settle'. I think it probably

I don't think we're calling udevadm settle unless you're using an nfs 
root or fbdev.  The timeout is the one given to wait-for-root which 
defaults to 30 seconds.

> is long enough for the general case. The real issue is that we are failing
> a little too fast when we fail to find the root FS that we expect to
> find. I'm not so sure upstart is really the answer for this either.
> If we trust in upstart to wait until this event comes, we are in the
> same boat as we'd be with udevadm settle --timeout=9999999999. Perhaps
> the right thing is for dmraid's initramfs scripts to wait longer than
> the standard amount of time, however, at some point we do need to fail
> and give the user a chance to inspect things.

I don't think dmraid adds any more delay than non dmraid disks.  We do 
provide the rootdelay= boot option if you do have funky hardware that 
needs a longer timeout.  If it isn't extremely rare for disks to need 
more than 30 seconds to come up, then perhaps the default timeout could 
be extended to 45 or 60 seconds?




More information about the ubuntu-devel mailing list