* e2fsck?
@ 2000-05-17 14:05 Steve Rossi
2000-05-17 14:32 ` e2fsck? Daris Nevil
2000-05-17 15:04 ` e2fsck? Marcus Sundberg
0 siblings, 2 replies; 9+ messages in thread
From: Steve Rossi @ 2000-05-17 14:05 UTC (permalink / raw)
To: Embedded Linux PPC List
Has anyone successfully compiled e2fsck for 8xx? I was able to compile
it and run it, but it seg faults with the following output:
sh-2.03# e2fsck /dev/sda2
e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
/dev/sda2 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Segmentation fault
TIA,
Steve
--
-------------------------------------------------------
Steven K. Rossi srossi@ccrl.mot.com
Staff Engineer
Multimedia Communications Research Laboratory
Motorola Labs
-------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-17 14:05 e2fsck? Steve Rossi
@ 2000-05-17 14:32 ` Daris Nevil
2000-05-17 14:58 ` e2fsck? Steve Rossi
2000-05-17 15:04 ` e2fsck? Marcus Sundberg
1 sibling, 1 reply; 9+ messages in thread
From: Daris Nevil @ 2000-05-17 14:32 UTC (permalink / raw)
To: Steve Rossi; +Cc: Embedded Linux PPC List
Steve,
I may be getting mixed up with another utility, but I think that e2fsck
requires the /proc filesystem to be mounted. You can do this by:
mount -p proc /proc /proc
Give that a try and let us know if that solves the problem.
Daris Nevil
SiSIC Inc/Simple Network Magic Corporation
www.snmc.com
Steve Rossi wrote:
> Has anyone successfully compiled e2fsck for 8xx? I was able to compile
> it and run it, but it seg faults with the following output:
>
> sh-2.03# e2fsck /dev/sda2
> e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> /dev/sda2 contains a file system with errors, check forced.
> Pass 1: Checking inodes, blocks, and sizes
> Segmentation fault
>
> TIA,
> Steve
>
> --
> -------------------------------------------------------
> Steven K. Rossi srossi@ccrl.mot.com
> Staff Engineer
> Multimedia Communications Research Laboratory
> Motorola Labs
> -------------------------------------------------------
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-17 14:32 ` e2fsck? Daris Nevil
@ 2000-05-17 14:58 ` Steve Rossi
0 siblings, 0 replies; 9+ messages in thread
From: Steve Rossi @ 2000-05-17 14:58 UTC (permalink / raw)
To: Embedded Linux PPC List
Daris Nevil wrote:
> I may be getting mixed up with another utility, but I think that e2fsck
> requires the /proc filesystem to be mounted. You can do this by:
/proc is mounted when I get the seg fault
Steve
--
-------------------------------------------------------
Steven K. Rossi srossi@ccrl.mot.com
Staff Engineer
Multimedia Communications Research Laboratory
Motorola Labs
-------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-17 14:05 e2fsck? Steve Rossi
2000-05-17 14:32 ` e2fsck? Daris Nevil
@ 2000-05-17 15:04 ` Marcus Sundberg
2000-05-17 15:18 ` e2fsck? Daris Nevil
1 sibling, 1 reply; 9+ messages in thread
From: Marcus Sundberg @ 2000-05-17 15:04 UTC (permalink / raw)
To: Steve Rossi; +Cc: Embedded Linux PPC List
Steve Rossi <srossi@ccrl.mot.com> writes:
> Has anyone successfully compiled e2fsck for 8xx? I was able to compile
> it and run it, but it seg faults with the following output:
>
> sh-2.03# e2fsck /dev/sda2
> e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> /dev/sda2 contains a file system with errors, check forced.
> Pass 1: Checking inodes, blocks, and sizes
> Segmentation fault
I had no problems with e2fsck on 8xx. I use the Debian Potato
sources for all packages I build for 8xx, and most of them work
just fine out of the box.
//Marcus
--
-------------------------------+-----------------------------------
Marcus Sundberg | Phone: +46 707 452062
Embedded Systems Consultant | Email: marcus@cendio.se
Cendio Systems AB | http://www.cendio.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-17 15:04 ` e2fsck? Marcus Sundberg
@ 2000-05-17 15:18 ` Daris Nevil
2000-05-17 15:35 ` e2fsck? Marcus Sundberg
0 siblings, 1 reply; 9+ messages in thread
From: Daris Nevil @ 2000-05-17 15:18 UTC (permalink / raw)
To: Marcus Sundberg; +Cc: Steve Rossi, Embedded Linux PPC List
It seemed that when I ran into problems with e2fsck it was
because the program was trying to cleanup the filesystem.
If the filesystem is ok, then e2fsck operates without crashing.
Daris Nevil
SiSIC Inc/SNMC
Marcus Sundberg wrote:
> Steve Rossi <srossi@ccrl.mot.com> writes:
>
> > Has anyone successfully compiled e2fsck for 8xx? I was able to compile
> > it and run it, but it seg faults with the following output:
> >
> > sh-2.03# e2fsck /dev/sda2
> > e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> > /dev/sda2 contains a file system with errors, check forced.
> > Pass 1: Checking inodes, blocks, and sizes
> > Segmentation fault
>
> I had no problems with e2fsck on 8xx. I use the Debian Potato
> sources for all packages I build for 8xx, and most of them work
> just fine out of the box.
>
> //Marcus
> --
> -------------------------------+-----------------------------------
> Marcus Sundberg | Phone: +46 707 452062
> Embedded Systems Consultant | Email: marcus@cendio.se
> Cendio Systems AB | http://www.cendio.com
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-17 15:18 ` e2fsck? Daris Nevil
@ 2000-05-17 15:35 ` Marcus Sundberg
2000-05-17 15:57 ` e2fsck? Steve Rossi
0 siblings, 1 reply; 9+ messages in thread
From: Marcus Sundberg @ 2000-05-17 15:35 UTC (permalink / raw)
To: Daris Nevil; +Cc: Steve Rossi, Embedded Linux PPC List
Daris Nevil <Daris.Nevil@snmc.com> writes:
> It seemed that when I ran into problems with e2fsck it was
> because the program was trying to cleanup the filesystem.
> If the filesystem is ok, then e2fsck operates without crashing.
I have successfully fsck'ed dirty ext2 filesystems on 8xx, no
problem there either.
//Marcus
--
-------------------------------+-----------------------------------
Marcus Sundberg | Phone: +46 707 452062
Embedded Systems Consultant | Email: marcus@cendio.se
Cendio Systems AB | http://www.cendio.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-17 15:35 ` e2fsck? Marcus Sundberg
@ 2000-05-17 15:57 ` Steve Rossi
2000-05-18 8:21 ` e2fsck? Marcus Sundberg
0 siblings, 1 reply; 9+ messages in thread
From: Steve Rossi @ 2000-05-17 15:57 UTC (permalink / raw)
To: Marcus Sundberg, Embedded Linux PPC List
Well, that seems to be my problem too. I grabed the
e2fs-progs-1.18 from the debian potato distribution,
along with the debian patch.
I'm compiling with gcc-2.95.2 (from the monta vista dev
kit) on linuxppc on a G4 (yellowdog champion server 1.2
distribtion). Still I get the same effect. Marcus what is
different in your configuration?
Steve
Marcus Sundberg wrote:
> Daris Nevil <Daris.Nevil@snmc.com> writes:
>
> > It seemed that when I ran into problems with e2fsck it was
> > because the program was trying to cleanup the filesystem.
> > If the filesystem is ok, then e2fsck operates without crashing.
>
> I have successfully fsck'ed dirty ext2 filesystems on 8xx, no
> problem there either.
>
> //Marcus
> --
> -------------------------------+-----------------------------------
> Marcus Sundberg | Phone: +46 707 452062
> Embedded Systems Consultant | Email: marcus@cendio.se
> Cendio Systems AB | http://www.cendio.com
--
-------------------------------------------------------
Steven K. Rossi srossi@ccrl.mot.com
Staff Engineer
Multimedia Communications Research Laboratory
Motorola Labs
-------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-17 15:57 ` e2fsck? Steve Rossi
@ 2000-05-18 8:21 ` Marcus Sundberg
2000-05-18 16:15 ` e2fsck? Daris Nevil
0 siblings, 1 reply; 9+ messages in thread
From: Marcus Sundberg @ 2000-05-18 8:21 UTC (permalink / raw)
To: Steve Rossi; +Cc: Embedded Linux PPC List
Steve Rossi <srossi@ccrl.mot.com> writes:
> Well, that seems to be my problem too. I grabed the
> e2fs-progs-1.18 from the debian potato distribution,
> along with the debian patch.
> I'm compiling with gcc-2.95.2 (from the monta vista dev
> kit) on linuxppc on a G4 (yellowdog champion server 1.2
> distribtion). Still I get the same effect. Marcus what is
> different in your configuration?
Well, I cross-compile from an x86 machine using Debian's gcc 2.95.2,
and my kernel is different from yours. Does your kernel contain
the MMU fixes? Otherwise things will go haywire as soon as all your
RAM is used up by e2fsck.
//Marcus
--
-------------------------------+-----------------------------------
Marcus Sundberg | Phone: +46 707 452062
Embedded Systems Consultant | Email: marcus@cendio.se
Cendio Systems AB | http://www.cendio.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: e2fsck?
2000-05-18 8:21 ` e2fsck? Marcus Sundberg
@ 2000-05-18 16:15 ` Daris Nevil
0 siblings, 0 replies; 9+ messages in thread
From: Daris Nevil @ 2000-05-18 16:15 UTC (permalink / raw)
Cc: Embedded Linux PPC List
Marcus,
Where the MMU fixes located that you mentioned? Are they
in the form of a patch?
Daris
Marcus Sundberg wrote:
> Steve Rossi <srossi@ccrl.mot.com> writes:
>
> > Well, that seems to be my problem too. I grabed the
> > e2fs-progs-1.18 from the debian potato distribution,
> > along with the debian patch.
> > I'm compiling with gcc-2.95.2 (from the monta vista dev
> > kit) on linuxppc on a G4 (yellowdog champion server 1.2
> > distribtion). Still I get the same effect. Marcus what is
> > different in your configuration?
>
> Well, I cross-compile from an x86 machine using Debian's gcc 2.95.2,
> and my kernel is different from yours. Does your kernel contain
> the MMU fixes? Otherwise things will go haywire as soon as all your
> RAM is used up by e2fsck.
>
> //Marcus
> --
> -------------------------------+-----------------------------------
> Marcus Sundberg | Phone: +46 707 452062
> Embedded Systems Consultant | Email: marcus@cendio.se
> Cendio Systems AB | http://www.cendio.com
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2000-05-18 16:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-17 14:05 e2fsck? Steve Rossi
2000-05-17 14:32 ` e2fsck? Daris Nevil
2000-05-17 14:58 ` e2fsck? Steve Rossi
2000-05-17 15:04 ` e2fsck? Marcus Sundberg
2000-05-17 15:18 ` e2fsck? Daris Nevil
2000-05-17 15:35 ` e2fsck? Marcus Sundberg
2000-05-17 15:57 ` e2fsck? Steve Rossi
2000-05-18 8:21 ` e2fsck? Marcus Sundberg
2000-05-18 16:15 ` e2fsck? Daris Nevil
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).