Re: 2.6.11: spinlock problem

From: linux-os (Dick Johnson)
Date: Fri Jun 23 2006 - 13:33:24 EST



On Fri, 23 Jun 2006, Darren Reed wrote:

> Hi,
>
> I'm seeing a spinlock held panic with a kernel stack like this:
>
> spinlock - panic, lock already held
> ..
> __do_softirq
> do_softirq
> =========
> do_IRQ
> common_interrupt
> spinlock/spinunlock
> ..
>
> when I load up the system in testing.
> The code protected by the spinlock is quite small - counter increment.
>
> I'm using 2.6.11-1.1369_FC4 #1, installed inside of vmware,
> running as a guest on a Windows XP box.
>
> Is this
> (a) linux allowing the IRQ too early
> (b) vmware not doing something right
> (c) enivitable
> (d) somehow my fault
> (e) something else?
>
> Thanks,
> Darren

Where's the code? Also, did you initialize the spin-lock variable
before use?

Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.4 on an i686 machine (5592.88 BogoMips).
New book: http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@xxxxxxxxxxxx - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
-
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/