Bug 108075 - e2fsck dumps core
Summary: e2fsck dumps core
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: e2fsprogs
Version: 2.1
Hardware: i686
OS: Linux
high
high
Target Milestone: ---
Assignee: Florian La Roche
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-27 14:01 UTC by Florenz Kley
Modified: 2015-01-08 00:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-09 14:22:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
e2fsck core dump (9.54 KB, application/octet-stream)
2003-10-27 14:15 UTC, Florenz Kley
no flags Details
first one million bytes of the partition in question (976.56 KB, application/octet-stream)
2003-11-05 13:12 UTC, Nils Philippsen
no flags Details

Description Florenz Kley 2003-10-27 14:01:30 UTC
Description of problem:
e2fsck segfaults + dumps core when trying to check a filesystem on an attached
FC storage. Core attached.


[root@dl3131 root]# uname -a
Linux dl3131 2.4.9-e.12enterprise #1 SMP Tue Feb 11 01:29:18 EST 2003 i686 unknown
[root@dl3131 root]# modprobe  qla2300_6x

[root@dl3131 root]# dmesg

[...]

scsi2 : QLogic QLA2300 PCI to Fibre Channel Host Adapter: bus 0 device 8 irq 18
        Firmware version:  3.01.18, Driver version 6.04.02

[...]

SCSI device sde: 83886080 512-byte hdwr sectors (42950 MB)
 sde: sde1

[...]

[root@dl3131 root]# fdisk -l /dev/sde 

Disk /dev/sde: 64 heads, 32 sectors, 40960 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sde1             1     40960  41943024   83  Linux
[root@dl3131 root]# ulimit -c
unlimited

[root@dl3131 root]# e2fsck /dev/sde1
e2fsck 1.26 (3-Feb-2002)
Segmentation fault (core dumped)




Version-Release number of selected component (if applicable):
e2fsprogs-1.26-1.72

How reproducible:
Always

Steps to Reproduce:
run e2fsck    

Actual Results:  coredump

Expected Results:  fsck

Additional info:

will gladly provide more details. just ask.

Comment 1 Florenz Kley 2003-10-27 14:15:23 UTC
Created attachment 95512 [details]
e2fsck core dump

Comment 2 Nils Philippsen 2003-11-05 12:58:31 UTC
This problem can be easily reproduced by running e2fsck on the 1MB
snippet from the beginning of the partition I'll attach right now.

Comment 3 Nils Philippsen 2003-11-05 13:12:12 UTC
Created attachment 95729 [details]
first one million bytes of the partition in question

This file contains the first one million bytes of the partition (BZ attachment
limitation). Running e2fsck on the file reproduces the problem, when running it
on only the first 100kB, e2fsck gets a short read and aborts.

e2fsprogs-1.34-1 from Fedora Core doesn't crash and brings:

e2fsck 1.34 (25-Jul-2003)
Superblock has a bad ext3 journal (inode 8).
Clear<y>? yes
 
*** ext3 journal has been deleted - filesystem is now ext2 only ***

Comment 4 Florenz Kley 2003-11-07 13:52:03 UTC
Steffen Mann was puzzled over kernel 2.4.9-e.12enterprise (As shown in
first report). Upgraded machine to kernel-enterprise-2.4.9-e.25. Did
not change behaviour. Duh.

Comment 5 Nils Philippsen 2003-11-07 14:22:15 UTC
I would have been really surprised if upgrading the kernel changed the
erroneous behaviour of e2fsck. After all, the error could be
reproduced by running e2fsck on normal file, so the bug would have to
be with e2fsck if other programs don't show the error.

Comment 6 Florenz Kley 2003-11-07 14:35:57 UTC
re: Surpise - Me too. But I'm not trying to make sense of it, just
trying to keep RH support happy. If a more recent kernel makes them
happy, so be it. As long as it is one we certified ;-)

And this bug seems to have no friends. Really. Still "NEW" after all
this time.

Support ticket is #267706, filed with my account "541004 - Web". Last
thing they told me is they are "escalating to development". Let's see
how fast we come around full circle.

Comment 7 Florian La Roche 2003-11-07 15:43:29 UTC
Newer e2fsprogs can fix this problem. I'll have to check if we will
update e2fsprogs to a newer version, but this is probably a too big
upgrade step for an RHEL AS release.

The real question here is what is causing the data corruption and what
kernel or hardware problem you are running into with some reproducable
report and then open that issue up with Red Hat.

greetings,

Florian La Roche


Comment 8 Florenz Kley 2003-11-07 16:12:18 UTC
cannot say _why_ the fs becam corrupted - all I know is, that after an
unclean shutdown, the fsck refused to work on the fs. When I see
something like this again, I'll certainly give more info - but I am
not in a position to do testing with the goal beeing to determine
possible sources of fs corruption. If you have more specific ideas
about test cases, we could make available a test machine. Again - at
this point my ideas of how and what to test are pretty global, too
global to act upon them with justifiable effort.

Comment 9 Florian La Roche 2003-12-09 14:22:28 UTC
No reproducable bug for the kernel and working ok for the newest
e2fsprogs rpm to fix the corrupted partition.

greetings,

Florian La Roche



Note You need to log in before you can comment on or make changes to this bug.