Re: kernel meltdown

Kasper Dupont (kasperd@daimi.au.dk)
Sat, 08 Jun 2002 00:11:21 +0200


Anna Riley wrote:
>
> Hi there,
> I am hoping someone can help me. This morning one of our web servers
> crapped itself and I don't know why. It's running RedHat 7.2 kernel
> version 2.4.9-31smp. I couldn't login from the console so I had to
> reset it. When it came back up it was fine. This is what I am seeing
> in the messages log:
>
> Jun 7 02:57:43 web02 kernel: kernel BUG at slab.c:1767!

I looked up that line in the source and found this piece of code:

full_free = 0;
p = searchp->slabs_free.next;
while (p != &searchp->slabs_free) {
slabp = list_entry(p, slab_t, list);
if (slabp->inuse)
BUG();
full_free++;
p = p->next;
}

Could it be a race with this particular slabp being taken in use
by another CPU at this very moment?

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-report@daimi.au.dk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/