Re: DECnet for 2.3.xx

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 16 May 1999 12:10:38 -0400


sjw44@eng.cam.ac.uk said:

[...]

[...]

> bad magic 0 (should be c008c66c, creator 0), wq bug, forcing oops.
>
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
>
>
> followed by an oops like this....
>
> >>EIP: c0112dc4 <__wake_up+54/10c>
> Trace: c01fe3cc <shutdown+34/1dc>
> Trace: c01ffd33 <rs_close+12f/1cc>

Look in there, there is a call to wake_up or similar, some waitqueue is not
set up correctly. This has happened before, the cases remaining seem to be
when the waitqueue is in a dynamically created structure that is
initialized to zeroes with memset(3), but that won't work anymore for
waitqueues. Zeroes force an oops when trying to use the waitqueue later
precicely for catching this. I patched drivers/char/serial.c and
drivers/block/ide.c that had this problem, look at the list or the lastest
official patches.

Sorry I can't help you more, the details depend on your configuration and
what is being initialized just there will tell you where to look.

Good luck!

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/