linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Can't run 8M ramdisk at 2.4.20 linux
@ 2005-09-08  7:06 徐小威的EMAIL
  2005-09-08  8:32 ` Alex Zeffertt
  0 siblings, 1 reply; 2+ messages in thread
From: 徐小威的EMAIL @ 2005-09-08  7:06 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can't run 8M ramdisk at 2.4.20 linux
  2005-09-08  7:06 Can't run 8M ramdisk at 2.4.20 linux 徐小威的EMAIL
@ 2005-09-08  8:32 ` Alex Zeffertt
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Zeffertt @ 2005-09-08  8:32 UTC (permalink / raw)
  To: rober; +Cc: linuxppc-embedded

EMAIL <rober@opnet.com.tw> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-08  8:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08  7:06 Can't run 8M ramdisk at 2.4.20 linux 徐小威的EMAIL
2005-09-08  8:32 ` Alex Zeffertt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).