Re: FW: BUG in spinlock.h:133

From: Robert Love (rml@tech9.net)
Date: Mon Mar 04 2002 - 13:43:51 EST


On Mon, 2002-03-04 at 06:50, Alexander Sandler wrote:

> I am getting a BUG in include/asm-i386/spinlock.h:133 when I am doing some
> I/O with driver I am working on. Does anyone has any idea what it can be?
> The system is Linux RedHat 7.1 on dual CPU machine running kernel 2.4.16.

That BUG means lock->magic was not set properly, which is a debug-only
parameter to make sure the lock was properly initialized.

Thus, either you are not properly initializing your spin_locks or there
is a memory corruption problem.

The EIP at the time of the BUG should of been reported - what was it?
Find it in your System.map to see where the problem is ...

        Robert Love

-
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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:35 EST