linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RAM disk size
@ 2000-05-06 11:16 Mike Flynn
  2000-05-06 16:12 ` Jim Lewis
  2000-05-08  2:20 ` Graham Stoney
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Flynn @ 2000-05-06 11:16 UTC (permalink / raw)
  To: linuxppc-embedded


I need to flash an image larger than 4 megs to an Embedded Planet RPX CLLF
(860T) board with 8 MB of flash. I'm having a problem making a RAM disk file
image larger than 4 MB on a LinuxPPC host preceding the download to the
target:

mkfs -m 0 /dev/ram XXXX
or
mke2fs -c /dev/ram XXXX

 with XXXX anything more than 4000 returns the following message:

"Filesystem larger than apparent filesystem size.
Proceed anyway? (y,n)"

Proceeding "anyway" seems to work until any activity that would put more
than 4 MB in /dev/ram (mounted as /mnt) yields:

"No space left on device"

How do I get beyond this host limitation to use more of the available flash
on the CLLF board?

Thanks,
Mike Flynn
Enerdyne Technologies


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: RAM disk size
  2000-05-06 11:16 RAM disk size Mike Flynn
@ 2000-05-06 16:12 ` Jim Lewis
  2000-05-07  2:13   ` Jeff Millar
  2000-05-08  2:20 ` Graham Stoney
  1 sibling, 1 reply; 5+ messages in thread
From: Jim Lewis @ 2000-05-06 16:12 UTC (permalink / raw)
  To: Mike Flynn; +Cc: linuxppc-embedded


Hello Mike,

The default max ramdisk size is 4096K. You can change this using the
ramdisk_size boot parameter. You will definitely need to change this default on
the target.

On the host, another way to create a ramdisk image is to use the loopback
filesystem. This will allow you to avoid having to change the Ramdisk-size of
your development host. Take a look at the Loopback-Root-FS How-To.

-Jim

Mike Flynn wrote:

> I need to flash an image larger than 4 megs to an Embedded Planet RPX CLLF
> (860T) board with 8 MB of flash. I'm having a problem making a RAM disk file
> image larger than 4 MB on a LinuxPPC host preceding the download to the
> target:
>
> mkfs -m 0 /dev/ram XXXX
> or
> mke2fs -c /dev/ram XXXX
>
>  with XXXX anything more than 4000 returns the following message:
>
> "Filesystem larger than apparent filesystem size.
> Proceed anyway? (y,n)"
>
> Proceeding "anyway" seems to work until any activity that would put more
> than 4 MB in /dev/ram (mounted as /mnt) yields:
>
> "No space left on device"
>
> How do I get beyond this host limitation to use more of the available flash
> on the CLLF board?
>
> Thanks,
> Mike Flynn
> Enerdyne Technologies
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: RAM disk size
  2000-05-06 16:12 ` Jim Lewis
@ 2000-05-07  2:13   ` Jeff Millar
  2000-05-07 12:45     ` Jim Lewis
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Millar @ 2000-05-07  2:13 UTC (permalink / raw)
  To: Jim Lewis, Mike Flynn; +Cc: linuxppc-embedded


We had some trouble with ramdisk larger than 4096K when used as initial
ramdisks.  Don't remember if they have problems when just created, mounted
and used.  This occured with the Dan Malek kernels from late 1999, don't
know if MontaVista has addressed this issue.  The symptoms were that the
creation went fine but caused mysterious failures when mounted during boot.

jeff

----- Original Message -----
From: "Jim Lewis" <jlewis@mvista.com>
To: "Mike Flynn" <mike.psc@connectnet.com>
Cc: <linuxppc-embedded@lists.linuxppc.org>
Sent: Saturday, May 06, 2000 12:12 PM
Subject: Re: RAM disk size


>
> Hello Mike,
>
> The default max ramdisk size is 4096K. You can change this using the
> ramdisk_size boot parameter. You will definitely need to change this
default on
> the target.
>
> On the host, another way to create a ramdisk image is to use the loopback
> filesystem. This will allow you to avoid having to change the Ramdisk-size
of
> your development host. Take a look at the Loopback-Root-FS How-To.
>
> -Jim
>
> Mike Flynn wrote:
>
> > I need to flash an image larger than 4 megs to an Embedded Planet RPX
CLLF
> > (860T) board with 8 MB of flash. I'm having a problem making a RAM disk
file
> > image larger than 4 MB on a LinuxPPC host preceding the download to the
> > target:
> >
> > mkfs -m 0 /dev/ram XXXX
> > or
> > mke2fs -c /dev/ram XXXX
> >
> >  with XXXX anything more than 4000 returns the following message:
> >
> > "Filesystem larger than apparent filesystem size.
> > Proceed anyway? (y,n)"
> >
> > Proceeding "anyway" seems to work until any activity that would put more
> > than 4 MB in /dev/ram (mounted as /mnt) yields:
> >
> > "No space left on device"
> >
> > How do I get beyond this host limitation to use more of the available
flash
> > on the CLLF board?
> >
> > Thanks,
> > Mike Flynn
> > Enerdyne Technologies
> >
>
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: RAM disk size
  2000-05-07  2:13   ` Jeff Millar
@ 2000-05-07 12:45     ` Jim Lewis
  0 siblings, 0 replies; 5+ messages in thread
From: Jim Lewis @ 2000-05-07 12:45 UTC (permalink / raw)
  To: Jeff Millar; +Cc: Mike Flynn, linuxppc-embedded


Jeff Millar wrote:

> We had some trouble with ramdisk larger than 4096K when used as initial
> ramdisks.  Don't remember if they have problems when just created, mounted
> and used.  This occured with the Dan Malek kernels from late 1999, don't
> know if MontaVista has addressed this issue.  The symptoms were that the
> creation went fine but caused mysterious failures when mounted during boot.

I just created and mounted an 8 M initial ramdisk on a CLLF. So I guess that
whatever the problem was, it is fixed now.
-Jim

>
>
> jeff
>
> ----- Original Message -----
> From: "Jim Lewis" <jlewis@mvista.com>
> To: "Mike Flynn" <mike.psc@connectnet.com>
> Cc: <linuxppc-embedded@lists.linuxppc.org>
> Sent: Saturday, May 06, 2000 12:12 PM
> Subject: Re: RAM disk size
>
> >
> > Hello Mike,
> >
> > The default max ramdisk size is 4096K. You can change this using the
> > ramdisk_size boot parameter. You will definitely need to change this
> default on
> > the target.
> >
> > On the host, another way to create a ramdisk image is to use the loopback
> > filesystem. This will allow you to avoid having to change the Ramdisk-size
> of
> > your development host. Take a look at the Loopback-Root-FS How-To.
> >
> > -Jim
> >
> > Mike Flynn wrote:
> >
> > > I need to flash an image larger than 4 megs to an Embedded Planet RPX
> CLLF
> > > (860T) board with 8 MB of flash. I'm having a problem making a RAM disk
> file
> > > image larger than 4 MB on a LinuxPPC host preceding the download to the
> > > target:
> > >
> > > mkfs -m 0 /dev/ram XXXX
> > > or
> > > mke2fs -c /dev/ram XXXX
> > >
> > >  with XXXX anything more than 4000 returns the following message:
> > >
> > > "Filesystem larger than apparent filesystem size.
> > > Proceed anyway? (y,n)"
> > >
> > > Proceeding "anyway" seems to work until any activity that would put more
> > > than 4 MB in /dev/ram (mounted as /mnt) yields:
> > >
> > > "No space left on device"
> > >
> > > How do I get beyond this host limitation to use more of the available
> flash
> > > on the CLLF board?
> > >
> > > Thanks,
> > > Mike Flynn
> > > Enerdyne Technologies
> > >
> >
> >
> >
> >
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: RAM disk size
  2000-05-06 11:16 RAM disk size Mike Flynn
  2000-05-06 16:12 ` Jim Lewis
@ 2000-05-08  2:20 ` Graham Stoney
  1 sibling, 0 replies; 5+ messages in thread
From: Graham Stoney @ 2000-05-08  2:20 UTC (permalink / raw)
  To: Mike Flynn; +Cc: linuxppc-embedded


Hi gang,

Mike Flynn writes:
> How do I get beyond this host limitation to use more of the available flash
> on the CLLF board?

I've just updated the section in my HOWTO which deals with this, at:
http://members.xoom.com/_XMCM/greyhams/linux/PowerPC-Embedded-HOWTO-13.html#ss13.2

I'd be interested in any feedback people had.

Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-05-08  2:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-06 11:16 RAM disk size Mike Flynn
2000-05-06 16:12 ` Jim Lewis
2000-05-07  2:13   ` Jeff Millar
2000-05-07 12:45     ` Jim Lewis
2000-05-08  2:20 ` Graham Stoney

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