Re: Any way to debug a hard lockup?

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Wed, 07 Jul 2004 15:19:35 -0400
On Wed, 2004-07-07 at 15:03, Conrad J. Sabatier wrote:
> For the last few days, my amd64 box (Athlon 64 3200+, 5.2-CURRENT,
> updating just about daily lately) has been locking up hard fairly
> often, and I have no clue as to why.
> 
> Checking the logs after rebooting reveals nothing at all out of the
> ordinary.  The box just "seizes up" and that's that.  Only thing to do
> is a power-down and restart.
> 
> Changing from SCHED_ULE to SCHED_4BSD appears to make no difference at
> all.
> 
> My other box, an older (32-bit) Athlon, has been rock stable.  I've
> been keeping both machines updated simultaneously to exactly the same
> revisions, using as near-identical system settings as possible also,
> the main difference being I'm running X.org/GNOME on the amd64 box and
> no X on the i386 box.
> 
> Any suggestions?  Instinct tells me it may be a problem with some of
> the ports I'm running (X.org/GNOME, hence the Cc:s), but how to verify?
> Sure, I could run without X a while and see how it goes, but that still
> won't help to isolate the problem, if it is, in fact, port-related.

You'll need to use a serial console and DDB to debug these problems. 
See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html on setting that up.  Once the machine breaks into the debugger, you'll be able to get a stack trace.

Joe

> 
> Thanks.
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



Received on Wed Jul 07 2004 - 17:18:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC