Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2005 18:27:39 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        "David S. Madole" <david@madole.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How to troubleshoot solid freeze-up?
Message-ID:  <20051002222739.GA87041@xor.obsecurity.org>
In-Reply-To: <049901c5c78b$d94163d0$c3e7a8c0@david>
References:  <049901c5c78b$d94163d0$c3e7a8c0@david>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, Oct 02, 2005 at 03:59:50PM -0400, David S. Madole wrote:
> I'm looking for some tips on how to troubleshoot a possible driver 
> problem. Here is the scenario:
> 
> 1. Using a Pentium II 333Mhz mobile processor, 82443BX motherboard, and 
> Intel i82559 NIC (fxp driver).
> 
> 2. A combination of heavy disk I/O, high CPU utilization, and high 
> network traffic causes a solid machine freeze-up sometime between 10 
> minutes and 3 hours of running.
> 
> 3. Replacing the NIC with a DP83815-based card (sis driver) seems to 
> solve the problem. I have run the problem load for up to 8 hours without 
> issue on this NIC.
> 
> 4. The problem is reproducable on multiple identical machines with 
> multiple identical NICs. Also reproducable on an i82558 NIC integrated on 
> the motherboard.
> 
> How can I go about collecting useful information to troubleshoot this 
> when the machine locks solid? How can a get a core under this scenario?
> 
> Switching to another NIC permanently is not a great solution because this 
> is a semi-embedded application and I need to use the NIC on the 
> motherboard.

You can't break to DDB in the usual way, right (Ctrl+alt+esc)?  Try
turning on KDB_STOP_NMI instead.  Also try turning on WITNESS in case
you're seeing a lock order reversal.  Actually you forgot to mention
what version of FreeBSD you're running, those suggestions only apply
to 5.x and above.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDQF7bWry0BWjoQKURAhJCAJ46tcntdtd30WvUAN5wfDmSi4KFNQCdEhgU
3zgbUOwcBhdgqmiWZ/faxyE=
=gk7Y
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051002222739.GA87041>