* ramfs
@ 2005-04-27 15:55 Dmitriy Tochansky
2005-04-28 13:34 ` ramfs Franck Bui-Huu
0 siblings, 1 reply; 2+ messages in thread
From: Dmitriy Tochansky @ 2005-04-27 15:55 UTC (permalink / raw)
To: linux-mips
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: ramfs
2005-04-27 15:55 ramfs Dmitriy Tochansky
@ 2005-04-28 13:34 ` Franck Bui-Huu
0 siblings, 0 replies; 2+ messages in thread
From: Franck Bui-Huu @ 2005-04-28 13:34 UTC (permalink / raw)
To: Dmitriy Tochansky; +Cc: linux-mips
Hi
Dmitriy Tochansky wrote:
>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
>
>
why using initramfs with initrd ?
>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?
>
>
maybe try to add in your kernel command option: "rootfstype=ramfs"
>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?
>
>
>
>
initrd fs depends on how your initrd image is built.
initramfs fs is ramfs.
cheers,
Franck
-------------------------------------------------------------------------------
Come to visit Innova Card at Cards Asia (Singapore, April 27-29, 2005) on booth 4A04 !
links:
- www.worldofcards.biz/2005/cardsa_SG/
-------------------------------------------------------------------------------
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system.
Innova Card will not therefore be liable for the message if modified.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-28 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 15:55 ramfs Dmitriy Tochansky
2005-04-28 13:34 ` ramfs Franck Bui-Huu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox