linux-mips
[Top] [All Lists]

ramfs

To: linux-mips@linux-mips.org
Subject: ramfs
From: Dmitriy Tochansky <toch@dfpost.ru>
Date: Wed, 27 Apr 2005 19:55:52 +0400
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hello!

Im trying to use embedded ramdisk on boot.
The error is:

[4294668.794000] Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(1,0) 

In make menuconfig I pass to initrdfs directory with my root("/mips/root"),
there are no errors on make. 
Ramdisk size set to 7777k
([4294668.691000] RAMDISK driver initialized: 2 RAM disks of 7777K size 1024 
blocksize)

populate_rootfs() works fine:


[4294667.502000] init/initramfs.c void __init populate_rootfs(void);
[4294668.313000] checking if image is initramfs... it is

then on do_mounts in void __init mount_block_root(char *name, int flags)
it tryes to mount initrd with no result. :( As final:


[4294668.794000] Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(1,0)

Any ideas?

Kernel from cvs(yesterday updated).

Which type of fs is initrd? AFAIK gen_init_cpio just generates cpio archive 
with my root. Seems like it unpacked fine but who did mkfs on /dev/ram0?


-- 
Dmitriy Tochansky
toch@dfpost.ru
JID: dtoch@jabber.ru

<Prev in Thread] Current Thread [Next in Thread>
  • ramfs, Dmitriy Tochansky <=