Re: Debug: sleeping function called from invalid context at include/linux/rwsem.h:43

From: Andrew Morton (akpm@osdl.org)
Date: Sat Jul 26 2003 - 03:08:26 EST


Romit Dasgupta <romit@myrealbox.com> wrote:
>
> Just found some debug messages like the subject above, from
> the latest kernel compiled with debug options. Attached are the dmesg
> output and the .config file. Not sure if anyone has seen this.

Probably some initcall has more spin_lock()s than spin_unlock()s and the
init process's preempt count ended up permanently out of whack.

Please boot with "initcall_debug=1" on the boot command line and if you see
a line of the form:

error in initcall at 0xXXXXXXXX: returned with preemption imbalance

then please look up 0xXXXXXXXX in System.map and let us know.

-
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 Jul 31 2003 - 22:00:28 EST