Can't run 8M ramdisk at 2.4.20 linux
Hi All:
I build a 8M ramdisk file, it works fine at 2.4.25 linux but fail
in 2.4.20.Why?
I do follow command to make 8M ramdsik, all files in the ramdisk is from pRamdisk (download from denx ftp site).
dd if=/dev/zero of=new_ramdisk bs=1024k count=8 /sbin/mke2fs -F -m0 new_ramdisk /sbin/tune2fs -c 0 new_ramdisk
RAMDISK: Compressed image found at block 0 Freeing initrd memory: 1434k freed
VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 56k init attempt to access beyond end of device 01:00: rw=0, want=1647259183, limit=16384 attempt to access beyond end of device 01:00: rw=0, want=1647259183, limit=16384 attempt to access beyond end of device 01:00: rw=0, want=1647259183, limit=16384 attempt to access beyond end of device 01:00: rw=0, want=1647259183, limit=16384
Kernel panic: No init found. Try passing init= option to kernel. <0>Rebooting in 180 seconds..
Quoted 6 lines · EMAIL
Hi All:
I build a 8M ramdisk file, it works fine at 2.4.25 linux but fail
in 2.4.20.Why?
I do follow command to make 8M ramdsik, all files in the ramdisk is from pRamdisk (download from denx ftp site).
Possibly a kernel config error. Look for CONFIG_BLK_DEV_RAM_SIZE in your .config. You need
CONFIG_BLK_DEV_RAM_SIZE=8192
Alex