Re: Big problems with 7.1 locking up :-(




On Mon, 12 Jan 2009, Pete French wrote:

I'm not sure if you've done this already, but the normal suggestions apply: have you compiled with INVARIANTS/WITNESS/DDB/KDB/BREAK_TO_DEBUGGER, and do any results / panics / etc result? Sometimes these debugging tools are able to convert hangs into panics, which gives us much more ability to debug them.

OK, I have now had a machine hand again, with the correct debug options in the kernel. The screen looked like this when I went to restart it:

http://toybox.twisted.org.uk/~pete/71_lor2.png

It had not, however, dropped into any kind of debugger. Also there appear to me console messages after the lock order reversal - is that normal ?

Lock order reversals are warnings of potential deadlock due to a lock cycle, but deadlocks may not actually result, either because it's a false positive (some locking construct that is deadlock free but involves lock cycles), or because a cycle didn't actually form. The message is suggestive, but if you have significant system activity after the message, then it may be unrelated.

The machine did stay up for a signifanct amount of time before doing this. I notice that it is more or less identical to the one I posted whenI had WITNESS_KDB in the kernel too, so maybe those results arent entirely suprious after all ?

Given it hasnt dropped to a debugger, is there anything else I can try ?

Features like WITNESS and INVARIANTS may change the timing of the kernel making certain race conditions less likely; I'd run with them for a bit and see if you can reproduce the hang with them present, as they will make debugging the problem a lot easier, if it's possible.

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: VS.NET 2003 Debugger hangs.
    ... object properties in the watch window, ... > do with this problem because when debugging the client only the issue never ... > hangs and is irrespective of how I step through the code. ...
    (microsoft.public.vsnet.debugging)
  • Hang while debugging ASP.Net on Windows 2003
    ... Since applying the Visual Studio/Office/Windows hotfixes for the JPEG issue, ... I am having problems debugging an ASP.Net application. ... hangs at 66% detecting... ...
    (microsoft.public.vsnet.ide)
  • Re: Random panics with 5.3-REL, SMP
    ... "Random panics" is a little vague as a starting point, ... explicit call to panicby code that has detected a failure of a kernel ... A stack trace can be generated using the "trace" ... - In terms of debugging information, it would be very useful if you could ...
    (freebsd-current)
  • Re: Visual Studio locking-up for all debug functions
    ... debugging and managed debugging? ... > Yesterday I did a complete NEW install of VS.NET (including the ... > The computer hangs up (when in VS.NET and I click a debug function) and I ...
    (microsoft.public.vsnet.debugging)
  • Re: HEADS UP: netipx mega-MFC (1/2)
    ... 5.3-S as of yesterday now panics again. ... Compile your kernel with DDB/KDB, ... Make sure you have a kernel with debugging symbols on-hand. ... serial console or not, but I find that a serial console is very ...
    (freebsd-stable)