more on e2fsck

3 messages, 3 authors, 2000-05-17 · open the first message on its own page

more on e2fsck

From: Steve Rossi <hidden>
Date: 2000-05-17 16:41:02

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/

Re: more on e2fsck

From: Pavel Roskin <hidden>
Date: 2000-05-17 16:49:06

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/

Re: more on e2fsck

From: Dan Malek <hidden>
Date: 2000-05-17 22:06:48

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