On Mon, Oct 11, 2010 at 11:22:56AM -0700, Garrett D'Amore wrote:
> On Mon, 2010-10-11 at 11:18 -0700, Saadia Fatima wrote:
> > How can I catch a system panic/freeze. I tried booting up with a kernel 
> > debugger, with -k option in the GRUB menu. When the system freezes how can 
> > I switch to the debugger? I tried f1+shift+a but it did not work. 
> > 
> > Thanks
> > SF
> 
> 
> If your system freeze occurs at a level below the keyboard interrupt
> handler, then you're screwed.  Some systems have a button or switch that
> can generate an NMI -- if you have one of those, then that can work for
> you.  Otherwise, you're out of luck.

If the freeze impedes the system clock, you can enable the deadman timeout
by putting:

        set snooping = 1

in /etc/system (and reboot).  If the system freezes for 50 seconds, the
deadman timer will invoke panic(), which will start kmdb.

Cheers,
- jonathan

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to