kernel panic with VFS unable to mount root fs on 01:00
Quoted 50 lines · [email protected] wrote:
i use MPC862 with 64mb ram on my custom board , i use eldk 3.1.1 , with linux-2.4.25 and ramdisk_image.gz provided by denx eldk ,
when i boot kernel with ramdisk image , kernel at
0x500000and ramdisk at0x600000, i get the following message given below ,
on uboot i use smc2 , on linux i use scc4 , as i got som eproblem getting smc2 up on linux kernel , i get always kernel panic with VFS unable to mount root fs on 01:00 ,
i used even multi image clubbing vmlinux.gz and ramdisk_image.gz even this gives me the same result ,is there something else i should configure or i am missing something else imp ,
thanks in advance regards
neelu
__ioremap(): phys addr03e13000is RAM lrc000c1c8RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Kernel panic: VFS: Unable to mount root fs on 01:00 <0>Rebooting in 180 seconds..#
# Platform support
#CONFIG_PPC=yCONFIG_PPC32=y
CONFIG_8xx=y
#CONFIG_PPC_STD_MMUis not setCONFIG_SERIAL_CONSOLE=yCONFIG_NOT_COHERENT_CACHE=yCONFIG_MBX=yCONFIG_MATH_EMULATION=yCONFIG_EMBEDDEDBOOT=y#
# General setup
#
#CONFIG_HIGHMEMis not setCONFIG_HIGHMEM_START=0xfe000000CONFIG_LOWMEM_SIZE=0x30000000CONFIG_KERNEL_START=0xc0000000CONFIG_TASK_SIZE=0x80000000
CONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=y
#
# File systems
#CONFIG_AUTOFS_FS=yCONFIG_RAMFS=yCONFIG_PROC_FS=yCONFIG_EXT2_FS=y
Quoted 1 line
CONFIG_BLK_DEV_RAM_SIZE=4096
You should try with 8K (this solved the problem for me)
and on my side the command line root option is root=/dev/ram, but I'm using a ramdisk made by someone else so I do not know much about it, and a 2.6.13 kernel, so this may be different. and before VFS outputs any message, RAMDISK says:
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
And make sure the file system in the ramfs is ext2.. but I think the message would be different in this case.