On Thu, May 28, 2009 at 9:27 PM, David N <david...@gmail.com> wrote: > Hi, > > I know this might sound like a newbie question. > > I'm trying to debug a "Lockup" on 7.2-RELEASE. I've compiled DDB and > KDB into the kernel and make installkernel. (Can this be called a > deadlock?) > > The machine still response to pings, but it looks like all disk > activity has stopped. > > I can break into the debugger using CTRL-ALT-ESC, but after that, i > dont know what I'm looking for in particular. > > bt (backtrace) gives me the stuff like the keyboard mutex ( i assume > it was the last thing that happened, but obviously it was the break) > > Should I be including WITNESS?
Include WITNESS. "ps" to list processes, "show proc" to see proc info, "thread <no>" to switch to a thread, "show locks" to see locks held, show sleepc to see what you're blocked on (if a sleepq), and "show alllocks" to see all locks held -Kip _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"