[parisc-linux] Expect defunct, kill -9 panics kernel?

Carlos O'Donell carlos at systemhalted.org
Sun Feb 11 13:21:01 MST 2007


On 2/11/07, James Bottomley <James.Bottomley at steeleye.com> wrote:
> On Sun, 2007-02-11 at 12:09 -0500, Carlos O'Donell wrote:
> > How do I validate your guess? Look for a null or bogus curr->func when
> > scheduling?
>
> Disassemble the piece in vmlinux for __wait_common and check that the
> instruction that faulted is where the code gets the curr->func.

The faulting instruction is:
  74:   52 82 00 20     ldd 10(r20),rp

Which is just before the curr->func call.
  78:   e8 40 f0 00     bve,l (rp),rp
  7c:   52 9b 00 30     ldd 18(r20),dp

So your assumption was correct. The value of curr->func is null.
How did the list get corrupted?

Cheers,
Carlos.



More information about the parisc-linux mailing list