lkml.org 
[lkml]   [2012]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Documentation: rootwait does not work if root=devicenumber
Documentation: rootwait does not work if root=devicenumber

This makes it a bit tricky to use with LILO: Typing "root=/dev/... rootwait"
directly on LILO's prompt boots fine, but putting
root = /dev/...
append = "rootwait"
in lilo.conf fails, "rootwait" is silently ignored.

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTembedded.de>
---

Cost me 4 hours of my life. If anyone feels up to fixing it init/do_mounts.c
instead of just documenting it, feel free. :-)

Cheers,
Jens

--- linux-3.5.2/Documentation/kernel-parameters.txt
+++ rootwait_and_LILO/Documentation/kernel-parameters.txt
@@ -2530,7 +2530,9 @@

rootwait [KNL] Wait (indefinitely) for root device to show up.
Useful for devices that are detected asynchronously
- (e.g. USB and MMC devices).
+ (e.g. USB and MMC devices). root must be specified as
+ /dev/devicename, not as (hex) device number
+ (LILO: use append = "root=/dev/...").

rw [KNL] Mount root device read-write on boot

_

\
 
 \ /
  Last update: 2012-08-23 23:41    [W:0.026 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site