Subject: Re: 2.0beta freezes
To: Eric Haszlakiewicz <erh@nimenees.com>
From: Pavel Cahyna <pavel.cahyna@st.cuni.cz>
List: tech-kern
Date: 09/13/2004 00:56:52
On Sun, 12 Sep 2004 22:19:00 +0000, Eric Haszlakiewicz wrote:

> On Sun, Sep 12, 2004 at 05:08:15PM -0400, rick@snowhite.cis.uoguelph.ca wrote:
>> > How can I check, X is all dead and I can't ssh into the machine (I never
>> > get a shell)?  Ping is all that still works.
>> 
>> If you can build a kernel with DDB (the Mach kernel debugger) in it, you
>> can escape to that (<ctrl><alt><esc>) and use its "ps" command. (I haven't
>> looked at NetBSD for quite a while, so I don't even know if DDB is there.)
> 
> 	That won't help you much if you're running X.  There isn't a way to
> have the kernel switch video modes (since it's X itself that does that)
> so you'll be in ddb, but typing blind.  Still useful, if just to type
> "sync" and get a core dump.

If the panic or hang happens in fs code (as it seems) I don't think
that "sync" will work. "reboot 0x104" could be more reliable.

Pavel