linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Booting a udev only system
@ 2005-03-02  6:21 Sekhar Nori
  0 siblings, 0 replies; only message in thread
From: Sekhar Nori @ 2005-03-02  6:21 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I using kernel version 2.6.10 (kernel.org) and wish to use udev
instead of devfs. Using devfs I have been able to boot-up the kernel
using cramfs and busybox.

However, when trying to boot after I switch on CONFIG_HOTPLUG and
switching off CONFIG_DEVFS_FS, I get the following error on boot.

VFS: Cannot open root device "mtdblock/0" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I observed that do_mount_root called from mount_block_root in
init/do_mounts.c is Returning error code -6 (ENXIO - no such device or address)
when it tries to mount /dev/root on /root.

Should ramfs be the filesystem for /dev in case devfs is not used?
If yes, how can I get this configured?

I have the udev and hotplug programs loaded into the cramfs image,
but frankly I cant see how they come into the picture till the root
device is mounted successfully.

Is there any document on how to get a udev only system get started
on a kernel.org kernel and busybox. (without using initrd)

Any help in this regard is highly appreciated.

Thanks,
Sekhar Nori


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-02  6:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02  6:21 Booting a udev only system Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).