RE: ext2fs or ramdisk problems......

3 messages, 3 authors, 2000-08-28 · open the first message on its own page

RE: ext2fs or ramdisk problems......

From: Whitney, John <hidden>
Date: 2000-08-25 13:30:23

I have had odd results using ext2 on the ramdisk (in my case, a 16MB
ramdisk).  Using the 2.2.13, ramdisks I created using ext2 would boot
up just fine on the system, but after use the filesystem would declare
that it was out of space, even though "df" showed several megabytes
free on that filesystem.

I never did find out where the oddity was.  I moved forward to 2.2.15
in an effort to correct the problem, but that didn't help either.
Eventually, I moved on to using the Minix filesystem (which from what
I understand, uses diskspace better for what I need anyway) and have
not had similar problems.  The one downside is that Minix is not
byte-ordering independant, so currently I build the ramdisk image on
a iMac running YellowDog Linux.  Someday I'll go into the Minix source
code on my PC and modify it to be big-endian, so I don't have to worry
about it anymore.

Has anyone else seen problems like this using ext2?

John Whitney
johnw@aiinet.com

-----Original Message-----
From: greyham@research.canon.com.au
[mailto:greyham@research.canon.com.au]
Sent: Thursday, August 24, 2000 8:19 PM
To: kd@flaga.is
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: ext2fs or ramdisk problems......



kd@flaga.is writes:
Or is this still the ramdisk driver teesing me?
If you haven't solved your problem with the ramdisk crashing, I very much
doubt that it will cope with having a filesystem mounted on it.  As it's a
custom board, how do you know your UPM tables are correct?  Have you tried
running the same kernel on a known-good board from Embedded Planet,
Bright Star or TQM?

Regards,
Graham


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

Re: ext2fs or ramdisk problems......

From: Scott Anderson <hidden>
Date: 2000-08-25 17:35:04

"Whitney, John" wrote:
I have had odd results using ext2 on the ramdisk (in my case, a 16MB
ramdisk).  Using the 2.2.13, ramdisks I created using ext2 would boot
up just fine on the system, but after use the filesystem would declare
that it was out of space, even though "df" showed several megabytes
free on that filesystem.
My guess is that you ran out of inodes.  Examine the output of dumpe2fs
and see if it gives you any clues.

    Scott Anderson
    scott_anderson@mvista.com	MontaVista Software Inc.
    (408)328-9214		490 Potrero Ave.
    http://www.mvista.com	Sunnyvale, CA  94086

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

Re: ext2fs or ramdisk problems......

From: Graham Stoney <hidden>
Date: 2000-08-28 01:26:49

Whitney, John writes:
I have had odd results using ext2 on the ramdisk (in my case, a 16MB
ramdisk).  Using the 2.2.13, ramdisks I created using ext2 would boot
up just fine on the system, but after use the filesystem would declare
that it was out of space, even though "df" showed several megabytes
free on that filesystem.
Scott's suggestion re: inodes sounds like the explanation here.
Unfortunately the error message you get for being out of inodes is the same
as what you get for running out of available blocks.
Someday I'll go into the Minix source code on my PC and modify it to be
big-endian, so I don't have to worry about it anymore.
This would be a really worthwhile enhancement.  I'm a little suprised noone's
bothered to fix this, given that ext2 gets it right.  It should be possible
to auto-detect the byte order it was constructed with and have it "just work"
on either architecture, even if mkfs.minix continues to write the fields in
the native byte order.

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help