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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 23 Aug 2012 22:49:49 +0200
From:	Jens Rottmann <JRottmann@...PERTembedded.de>
To:	Rob Landley <rob@...dley.net>
CC:	linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
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@...PERTembedded.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
 
_
--
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