search for: do_mount_root

Displaying 2 results from an estimated 2 matches for "do_mount_root".

Did you mean: do_mount_ro
2006 Jun 10
1
PXELINUX with Kernel 2.6.15.4: VFS: Cannot open root device "hde1" or unknown-block(0, 0)
...I've put some "printk" statements in kernel's "init/do_mounts.c" and "init/do_mounts_initrd.c". I found out that in function "void __init mount_block_root(char *name, int flags)" of "init/do_mounts.c" there is the statement ... int err = do_mount_root(name, p, flags, root_mount_data); ... The value of "name" is "/dev/root" before this statement. After this "err" is -6 ("No such device or address"). The next lines are: ... /* * Allow the user to distinguish between failed...
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...dir("/sys"); +nada: return res; fail: res = (dev_t) 0; @@ -275,19 +275,6 @@ putname(fs_names); } -#ifdef CONFIG_ROOT_NFS -static int __init mount_nfs_root(void) -{ - void *data = nfs_root_data(); - - create_dev("/dev/root", ROOT_DEV, NULL); - if (data && - do_mount_root("/dev/root", "nfs", root_mountflags, data) == 0) - return 1; - return 0; -} -#endif - #if defined(CONFIG_BLK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD) void __init change_floppy(char *fmt, ...) { @@ -320,15 +307,6 @@ void __init mount_root(void) { -#ifdef CONFIG_ROOT_NFS - i...