[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4655834F.3050301@drzeus.cx>
Date: Thu, 24 May 2007 14:21:35 +0200
From: Pierre Ossman <drzeus-list@...eus.cx>
To: Andrew Morton <akpm@...l.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] Make prepare_namespace() wait for devices
init: wait for asynchronously scanned block devices
Some buses (e.g. USB and MMC) do their scanning of devices in the
background, causing a race between them and prepare_namespace().
In order to be able to use these buses without an initrd, we now
wait for the device specified in root= to actually show up.
If the device never shows up than we will hang in an infinite loop.
In order to not mess with setups that reboot on panic, the feature
must be turned on via the command line option "rootwait".
Signed-off-by: Pierre Ossman <drzeus@...eus.cx>
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
View attachment "initwait.patch" of type "text/x-patch" (2118 bytes)
Powered by blists - more mailing lists