Booting a udev only system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

How can /dev/root be accessible even before the root filesystem has 
been mounted?

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.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux