linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* more on e2fsck
@ 2000-05-17 16:41 Steve Rossi
  2000-05-17 16:49 ` Pavel Roskin
  2000-05-17 22:06 ` Dan Malek
  0 siblings, 2 replies; 4+ messages in thread
From: Steve Rossi @ 2000-05-17 16:41 UTC (permalink / raw)
  To: Embedded Linux PPC List


when I run mke2fs /dev/sda2 it creates a file system just fine. Then I
fun e2fsck on the newly created filesystem and it reports that its
clean.
next I mount the new filesystem and the kernel reports the following:

EXT2-fs error (device sd(8,2)): ext2_check_blocks_bitmap: Wrong free
blocks count for group 18, stored = 32260 counted = 32256
EXT2-fs error (device sd(8,2)): ext2_check_blocks_bitmap: Wrong free
blocks count in super block, stored = 2198781 counted = 2198777

then I un-mount it and run e2fsck again and I get the message that
I reported
before - filesystem has errors and e2fsck seg faults

is there possibly some disparity between the kernel's ext2 fs code and
what
mke2fs and e2fsck are doing? if anyone has any further thoughts on this
I would appreciate it.

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] 4+ messages in thread

* Re: more on e2fsck
  2000-05-17 16:41 more on e2fsck Steve Rossi
@ 2000-05-17 16:49 ` Pavel Roskin
  2000-05-17 22:06 ` Dan Malek
  1 sibling, 0 replies; 4+ messages in thread
From: Pavel Roskin @ 2000-05-17 16:49 UTC (permalink / raw)
  To: Steve Rossi; +Cc: Embedded Linux PPC List


Hello, Steve!

> is there possibly some disparity between the kernel's ext2 fs code and
> what
> mke2fs and e2fsck are doing? if anyone has any further thoughts on this
> I would appreciate it.

"ulimit -c unlimited" will enable coredumps. Note that "ulimit" is a bash
builtin. Then run on a PowerPC (or use a cross-debugger)
gdb e2fsck -core core
(gdb) where

You will need unstripped e2fsck. Try to figure out what's going on. Send a
bug report if you feel it's needed.

Regards,
Pavel Roskin


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

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

* Re: more on e2fsck
       [not found] <200005171655.SAA21603@denx.local.net>
@ 2000-05-17 20:30 ` Steve Rossi
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Rossi @ 2000-05-17 20:30 UTC (permalink / raw)
  To: Embedded Linux PPC List


It was operator error ... in the MCONFIG.in I changed $CC to
powerpc-linux-gcc but $LD was still set to cc, so I changed
$LD to powerpc-linux-gcc and it worked. Must have been
screwing something up in the link stage.

Thanks for the help!
Steve


Wolfgang Denk wrote:

> In message <3922CB9E.873738B6@ccrl.mot.com> you wrote:
> >
> > is there possibly some disparity between the kernel's ext2 fs code and
> > what
> > mke2fs and e2fsck are doing? if anyone has any further thoughts on this
> > I would appreciate it.
>
> Maybe header files, endianess, or so?
>
> What is your build environment?
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
> Quote from a recent meeting:   "We are going to continue having these
> meetings everyday until I find out why no work is getting done."

--
-------------------------------------------------------
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] 4+ messages in thread

* Re: more on e2fsck
  2000-05-17 16:41 more on e2fsck Steve Rossi
  2000-05-17 16:49 ` Pavel Roskin
@ 2000-05-17 22:06 ` Dan Malek
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Malek @ 2000-05-17 22:06 UTC (permalink / raw)
  To: Steve Rossi; +Cc: Embedded Linux PPC List


Steve Rossi wrote:

> when I run mke2fs /dev/sda2 it creates a file system just fine.

Oh, I'll just make a wild guess here.....SCSI disks on 8xx.....:-).
How many pieces of untested hardware (and software) are in this path?

Have you written a simple program to make sure you can read/write
sectors on the disk without errors?  I, like the others, have e2fsck
working on PCMCIA "disk" devices.  The sources compile just fine.  I
suppose someone could compile and test something for you to verify it
works.  I don't have anything handy at the moment, but I will add it
to my list.


	-- Dan

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

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

end of thread, other threads:[~2000-05-17 22:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-17 16:41 more on e2fsck Steve Rossi
2000-05-17 16:49 ` Pavel Roskin
2000-05-17 22:06 ` Dan Malek
     [not found] <200005171655.SAA21603@denx.local.net>
2000-05-17 20:30 ` Steve Rossi

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