Can't run 8M ramdisk at 2.4.20 linux

2 messages, 2 authors, 2005-09-08 · open the first message on its own page

Can't run 8M ramdisk at 2.4.20 linux

From: 徐小威的EMAIL <hidden>
Date: 2005-09-08 07:07:04

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..

Re: Can't run 8M ramdisk at 2.4.20 linux

From: Alex Zeffertt <hidden>
Date: 2005-09-08 08:32:51

EMAIL [off-list ref] wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help