Re: 2.5.46: kernel BUG at kernel/timer.c:333!

Andrew Morton
2002-11-09T18:44:26Z

> I can reliably crash 2.5.X on one of our newsservers (dual PIII/450, GigE,
> lots of disk- and network I/O).
>
> The last crash I posted here was a bit garbled. So I tried again,
> this one is clean. Crash appears to be timer related ?
>
> kernel BUG at kernel/timer.c:333!

There are timer fixes in Linus's current tree. The problem which
they address could cause this BUG.

>..
> Debug: sleeping function called from illegal context at include/asm/semaphore.h:119
> Call Trace:
> [<c0117be8>] __might_sleep+0x54/0x58
> [<c013578c>] set_shrinker+0x3c/0x7c
> [<c01686b4>] mb_cache_create+0x1c4/0x244
> [<c0168380>] mb_cache_shrink_fn+0x0/0x170
> [<c01050ab>] init+0x47/0x1ac
> [<c0105064>] init+0x0/0x1ac
> [<c0106e8d>] kernel_thread_helper+0x5/0xc

That's different. A fix for this is in Linus's tree.

So.. Please grab an update from
ftp://ftp.kernel.org/pub/linux/kernel/v2.5/snapshots/
or retest 2.5.47.