[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

My fault (not ext3's!) and kernel panic on 2.4.7 .

Hello all.
I was playing with tune2fs to see how large the .journal file should
be on a 17G partition with 512M ram (it's 32M, by the way).
I am using plain 2.4.7 with ext3-2.4-0.9.4-247,
compiled with gcc-2.96-85 on a RH7.1 distribution with the relevant
changes, i.e. e2fsprogs-1.22-1, mount-2.11g-4 and
util-linux-2.11f-3 taken from rawhide.
I don't have any ext3 statement in /etc/fstab, all is ext2.
The 0.9.4 patch has been corrected ->
Please, in fs/jbd/journal.c replace `SLAB_POISON' with zero.

Unwisely I deleted the .journal file, since I never mounted / as ext3.

On next boot the box panicked in journal.c (sorry, do not have
the relevant info).

To correct the situation I simply booted with 2.4.5 without the
ext3 patches. It corrected the error reverting to ext2:

Jul 29 13:11:36 uno fsck: /dev/hda4: Superblock has a bad ext3 journal
(inode 20).
Jul 29 13:12:37 uno xinetd[513]: Started working: 0 available services
Jul 29 13:11:36 uno fsck: CLEARED.
Jul 29 13:11:36 uno fsck: *** ext3 journal has been deleted - filesystem
is now ext2 only ***
Jul 29 13:11:36 uno fsck: /dev/hda4 was not cleanly unmounted, check
Jul 29 13:11:36 uno fsck: /dev/hda4: 236046/2265408 files (2.1%
non-contiguous), 1415789/4521984 blocks

I was certainly wrong deleting the .journal without changing the
parameters of the ext3 filesystem. However IMHO the kernel should be
able to correct the situation and revert to ext2 without intervention
in this case. Rebuilding the journal file is a matter of 1" (at least
on this mighty machine...).

Any comment? Thanks for the hard work on the new filesystem. I think
I'll move shortly my partitions on ext3.

The relevant harware:

AMD Athlon 1.2 GHz, 512M ram,
hdc: IBM-DJNA-371350, ATA DISK drive
hda: 40132503 sectors (20548 MB) w/1900KiB Cache, CHS=2498/255/63,
hdc: 26520480 sectors (13578 MB) w/1966KiB Cache, CHS=26310/16/63,

Sincerely, Nicola Fabiano

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]