On Thu, Apr 06, 2006 at 05:14:42PM +0200, Markus Sch?nhaber wrote:
> How do I get a stack trace?

Attach gdb to the first UML pid, put a breakpoint on panic, continue it,
and when it hits the breakpoint, do 'bt' at gdb.

If the breakpoint somehow doesn't get hit, then stick a while(1) ; in
panic (kernel/panic.c, after the bust_spinlocks() call, rebuild it,
and attach gdb to it as described above when it hangs after the panic
message. 

                                Jeff


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to