Question about return value of do_mount_root

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

 



Dear all:
I try to use MTD to mount boot.rom on my platform.
At the end of letter is part of my log.
My questions are:

1. from ****1, which I purpose print out the return value of
2. from ****2, the return value of do_mount_root is -6, which tells me
there is no such device.

If 1 is correct, why 2 tells me there is no such device?
Is there another way I can check whether /dev/root is really created?

appreciate your help in advance,
miloody


uclinux[mtd]: RAM probe address=0x87000000 size=0x8a000
Creating 1 MTD partitions on "RAM":
0x00000000-0x0008a000 : "ROMfs"
mtd: Giving out device 0 to ROMfs
uclinux[mtd]: set ROMfs to be root filesystem
after calling do_initcalls()
saved_root_name=
ROOT_DEV=1f00000
create_dev ret=0                                             *****1
page=nodev      sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   binfmt_misc
nodev   pipefs
nodev   anon_inodefs
nodev   futexfs
nodev   tmpfs
nodev   devpts
       ext3
       ext2
nodev   ramfs
       romfs
nodev   fuse
       fuseblk
nodev   fusectl

name=/dev/root, p=ext3, root_mount_data=<NULL>
err=-6
name=/dev/root, p=ext2, root_mount_data=<NULL>
err=-6
name=/dev/root, p=romfs, root_mount_data=<NULL>
err=-6                                                         *****2
name=/dev/root, p=fuseblk, root_mount_data=<NULL>
err=-6
List of all partitions:
No filesystem could mount root, tried:  ext3 ext2 romfs fuseblk
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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