2008-10-16 07:07:36

by Michael Spang

[permalink] [raw]
Subject: panic on boot at ext4_mb_poll_new_transaction

I switched my laptop over to ext4 yesterday. Then I used tune2fs to
enable the features from mke2fs.conf's defaults for ext4 (some failed).

It worked fine initially but today I am getting a panic when the machine
boots: http://csclub.uwaterloo.ca/~mspang/panic.jpg .

Let me know if there's anything I can do to rescue it. Otherwise I'll
just reinstall.

Thanks.
Michael Spang


2008-10-16 07:24:05

by Aneesh Kumar K.V

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

On Thu, Oct 16, 2008 at 03:07:35AM -0400, Michael Spang wrote:
> I switched my laptop over to ext4 yesterday. Then I used tune2fs to
> enable the features from mke2fs.conf's defaults for ext4 (some failed).
>
> It worked fine initially but today I am getting a panic when the machine
> boots: http://csclub.uwaterloo.ca/~mspang/panic.jpg .
>
> Let me know if there's anything I can do to rescue it. Otherwise I'll
> just reinstall.

Which version of the kernel ? Did you try ext4 patchqueu at
http://repo.or.cz/w/ext4-patch-queue.git . I have a patch queued
for fixing a crash I found. I am not sure whether it is same one
http://repo.or.cz/w/ext4-patch-queue.git?a=blob;f=do_mballoc_init_before_doing_filesystem_recovery;h=426bb0dab5fc5279e077a542cd4068d13f945dff;hb=HEAD

-aneesh

2008-10-16 14:30:38

by Theodore Ts'o

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

On Thu, Oct 16, 2008 at 03:07:35AM -0400, Michael Spang wrote:
> I switched my laptop over to ext4 yesterday. Then I used tune2fs to
> enable the features from mke2fs.conf's defaults for ext4 (some failed).
>
> It worked fine initially but today I am getting a panic when the machine
> boots: http://csclub.uwaterloo.ca/~mspang/panic.jpg .
>
> Let me know if there's anything I can do to rescue it. Otherwise I'll
> just reinstall.

What version of the kernel are you using, and what patches (if any)
have you installed? Are you using a distribution kernel?

- Ted

2008-10-16 14:36:47

by Eric Sandeen

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

Theodore Tso wrote:
> On Thu, Oct 16, 2008 at 03:07:35AM -0400, Michael Spang wrote:
>> I switched my laptop over to ext4 yesterday. Then I used tune2fs to
>> enable the features from mke2fs.conf's defaults for ext4 (some failed).
>>
>> It worked fine initially but today I am getting a panic when the machine
>> boots: http://csclub.uwaterloo.ca/~mspang/panic.jpg .
>>
>> Let me know if there's anything I can do to rescue it. Otherwise I'll
>> just reinstall.
>
> What version of the kernel are you using, and what patches (if any)
> have you installed? Are you using a distribution kernel?

Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=467161,
which I was just alerted to, and I'm looking into it.

-Eric

> - Ted

2008-10-16 15:21:37

by Theodore Ts'o

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

On Thu, Oct 16, 2008 at 09:36:20AM -0500, Eric Sandeen wrote:
> >> Let me know if there's anything I can do to rescue it. Otherwise I'll
> >> just reinstall.

Michael,

Do you have a rescue CD with e2fsprogs 1.41.0 or later? If it's the
problem Aneesh thinks it is (and I agree), running e2fsck in preen
mode should fix the problem.

> Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=467161,
> which I was just alerted to, and I'm looking into it.

Eric, I suspect this patch in the ext4 patch queue should fix things.

do_mballoc_init_before_doing_filesystem_recovery

- Ted

2008-10-16 15:33:01

by Michael Spang

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

On Thu, Oct 16, 2008 at 10:30:35AM -0400, Theodore Tso wrote:
> On Thu, Oct 16, 2008 at 03:07:35AM -0400, Michael Spang wrote:
> > I switched my laptop over to ext4 yesterday. Then I used tune2fs to
> > enable the features from mke2fs.conf's defaults for ext4 (some failed).
> >
> > It worked fine initially but today I am getting a panic when the machine
> > boots: http://csclub.uwaterloo.ca/~mspang/panic.jpg .
> >
> > Let me know if there's anything I can do to rescue it. Otherwise I'll
> > just reinstall.
>
> What version of the kernel are you using, and what patches (if any)
> have you installed? Are you using a distribution kernel?
>
> - Ted

Linus' head as of 2 days ago, at
278429cff8809958d25415ba0ed32b59866ab1a8. I looked at your
tree yesterday and saw that nothing had been applied since.

Merging the patch queue a moment ago made no interesting changes.

Thanks,
Michael Spang

2008-10-16 15:40:32

by Eric Sandeen

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

Theodore Tso wrote:

> Eric, I suspect this patch in the ext4 patch queue should fix things.
>
> do_mballoc_init_before_doing_filesystem_recovery
>
> - Ted

Ah, you're right. I thought I had that in the fedora kernel, so was
looking for something new, but ... nope. grr.

/me runs off to update.

Thanks,
-Eric

2008-10-16 15:45:41

by Michael Spang

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

On Thu, Oct 16, 2008 at 11:33:00AM -0400, Michael Spang wrote:
> On Thu, Oct 16, 2008 at 10:30:35AM -0400, Theodore Tso wrote:
> > On Thu, Oct 16, 2008 at 03:07:35AM -0400, Michael Spang wrote:
> > > I switched my laptop over to ext4 yesterday. Then I used tune2fs to
> > > enable the features from mke2fs.conf's defaults for ext4 (some failed).
> > >
> > > It worked fine initially but today I am getting a panic when the machine
> > > boots: http://csclub.uwaterloo.ca/~mspang/panic.jpg .
> > >
> > > Let me know if there's anything I can do to rescue it. Otherwise I'll
> > > just reinstall.
> >
> > What version of the kernel are you using, and what patches (if any)
> > have you installed? Are you using a distribution kernel?
> >
> > - Ted
>
> Linus' head as of 2 days ago, at
> 278429cff8809958d25415ba0ed32b59866ab1a8. I looked at your
> tree yesterday and saw that nothing had been applied since.
>
> Merging the patch queue a moment ago made no interesting changes.

Er, yes it did. I'll try e2fsck and booting with the patch queue merged.

Thanks,
Michael Spang

2008-10-16 16:35:35

by Theodore Ts'o

[permalink] [raw]
Subject: Re: panic on boot at ext4_mb_poll_new_transaction

On Thu, Oct 16, 2008 at 10:40:05AM -0500, Eric Sandeen wrote:
> Theodore Tso wrote:
>
> > Eric, I suspect this patch in the ext4 patch queue should fix things.
> >
> > do_mballoc_init_before_doing_filesystem_recovery
> >
> > - Ted
>
> Ah, you're right. I thought I had that in the fedora kernel, so was
> looking for something new, but ... nope. grr.
>
> /me runs off to update.

BTW, since I've been doing a lot of work on the patch queue, including
recently rebasing off of 2.6.27-git5 so I could pick up the blkdev
discard patches, I've been maintaining the ext4-stable branch in the
ext4 git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.
http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git

It contains all of the patches that have gone upstream to Linus,
against the baseline 2.6.27 kernel. We still need to cherry-pick the
most critical bugs fixes in that branch to submit to the -stable
kernel series....

- Ted