Skip to contentSkip to conversation

Booting a udev only system

DISCUSSION Sekhar Nori 1 participant 1 message Mar 2, 2005

lore
Share & tools
lore
#0 lore raw

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_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel