Re: [OOPS] Recovering ext3 - recovery.c: assertion failed,attempted to kill init
From: Andrew Morton
Date: Tue Mar 16 2004 - 05:44:43 EST
Kristian Soerensen <ks@xxxxxxxxx> wrote:
>
> After (hard) power cycling a computer, running linux-2.6.3*, the
> filsystem (ext3) sould be recovered at boot. However I get the following
> message from the kernel. I have tried booting the redhat
> kernel-2.4.20-30.9 - but with the same result.
>
> * The kernel was patched with our Umbrella LSM module, but however _no_
> changes were made to the filesystem.
>
> ...
>
> Assertion failure in jread() at fs/jbd/recovery.c:140: "offset <
> journal->j_maxlen"
A wrecked journal superblock or log block. Never seen that before.
See if e2fsck can fix it up. If not, see if you can get e2fsck to remove
the journal with
tune2fs -O ^has_journal /dev/hdXX
then fsck it, then create a new journal with
tune2fs -j /dev/hdXX
As for the assertion failure: yes, that's fairly bad form. I'll fix that
up to simply fail the mount.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/