Just in case it helps find attached a patch on Linux kernel to help debugging spin lock related problems.
It implements additional spinlock checks that detect when code that can sleep is called with spinlocks held Hope this helps
linux-2.4.22-lock_checks.patch
Description: Binary data
dan_gora <[EMAIL PROTECTED]> writes: > Hello everyone. > > I was wondering if anyone had a pointer to a resource which describes how to > set up kgdb for kernel debugging. Specifically, I have a potential SMP spin > lock bug that causes the machine to lock up that I need to debug. I was > planning on using LiS's lock debug trace buffer to debug this, but it sounds > like you need the debugger to access this information when the machine is > locked up (makes sense...). I've never set up kgdb on Linux before and just > need a how-to-guide to help me along. > > thanks- > dan > > _______________________________________________ > Linux-streams mailing list > [EMAIL PROTECTED] > http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams > -- Nicolas THOMAS "I'm afraid that I've seen too many people fix bugs by looking at debugger output, and that almost inevitably leads to fixing the symptoms rather than the underlying problems." ~ Linus Torvalds
