mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Kristian Soerensen <ks@cs.auc.dk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [OOPS] Recovering ext3 - recovery.c: assertion failed, attempted to kill init
Date: Tue, 16 Mar 2004 02:43:09 -0800	[thread overview]
Message-ID: <20040316024309.53da4f50.akpm@osdl.org> (raw)
In-Reply-To: <1079430906.19929.10.camel@homer.cs.auc.dk>

Kristian Soerensen <ks@cs.auc.dk> 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.


      reply	other threads:[~2004-03-16 10:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-16  9:55 Kristian Soerensen
2004-03-16 10:43 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040316024309.53da4f50.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=ks@cs.auc.dk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®