Re: [PROBLEM] 2.6.22-rc2 panics on x86-64 with slub

From: Jens Axboe
Date: Tue May 22 2007 - 03:10:27 EST


On Mon, May 21 2007, Christoph Lameter wrote:
> Ok booting SLUB without "slub_debug" and having
>
> CONFIG_DEBUG_LOCK_ALLOC
> CONFIG_LOCKDEP
>
> will trigger the problem.
>
> So I guess the issue is that lockdep does a slab alloc while we get the
> slab lock during slab alloc?

If I have CONFIG_SLUB_DEBUG set, then box boots fine. If I don't have it
set, then it hard hangs sometime after boot:

[...]
ReiserFS: sda2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 180k freed

which is usually followed by messages bringing up the network link, etc.
Let me know which tests you want run, or which patches to try.

--
Jens Axboe

-
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/