Re: Boot failure with ext2 and initrds

From: Mel Gorman
Date: Tue Nov 14 2006 - 16:20:56 EST


On Tue, 14 Nov 2006, Andrew Morton wrote:

On Tue, 14 Nov 2006 19:11:22 +0000 (GMT)
Hugh Dickins <hugh@xxxxxxxxxxx> wrote:

On Tue, 14 Nov 2006, Mel Gorman wrote:
2.6.19-rc5-mm2

Am seeing errors with systems using ext2. First machine is a plan old x86
using initramfs. Console output looks like;
...
Configuring network interfaces...BUG: soft lockup detected on CPU#3!
...
[<c01b3b80>] ext2_try_to_allocate+0xdb/0x152
[<c01b3e72>] ext2_try_to_allocate_with_rsv+0x4b/0x1b2

I've not investigated yet what patches might be at fault.

I expect you'll find it's
ext2-reservations-bring-ext2-reservations-code-in-line-with-latest-ext3.patch
which gets stuck in a loop there for me too: back it out and all seems fine.

It's not obvious which part of the patch is to blame: mostly it's
cleanup, but a few variables do change size: I'm currently narrowing
down to where a fix is needed.


Doing s/-Wall/-W/ tends to shake out bugs in this stuff.

The below might help.


It worked for me on the two problem machines. Thanks
-
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/