From owner-freebsd-current@FreeBSD.ORG Wed Oct 26 07:39:18 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD17D16A41F for ; Wed, 26 Oct 2005 07:39:18 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F5E843D45 for ; Wed, 26 Oct 2005 07:39:18 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 66DD01A3C19; Wed, 26 Oct 2005 00:39:18 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C6BA95121A; Wed, 26 Oct 2005 03:39:16 -0400 (EDT) Date: Wed, 26 Oct 2005 03:39:15 -0400 From: Kris Kennaway To: Bjoern Koenig Message-ID: <20051026073915.GA77249@xor.obsecurity.org> References: <435F2BCE.1040704@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <435F2BCE.1040704@cs.tu-berlin.de> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: deadlocks with SMP and Pentium 3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 07:39:18 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 26, 2005 at 09:10:06AM +0200, Bjoern Koenig wrote: > Hello, >=20 > I have an Asus CUVX4-D mainboard with an VIA Apollo Pro 133A chipset and= =20 > two Intel Pentium III 733 MHz processors. It runs fine with FreeBSD 4.11= =20 > and SMP enabled, but something happened before 5.0-RELEASE that it don't= =20 > work anymore now; neither with 5.4-RELEASE, 6.0-RC1 nor 7-CURRENT. In=20 > case I have many concurrent processes the system just locks up after a=20 > few minutes. >=20 > I disabled ACPI, compiled a kernel with WITNESS, set all debug mpsafe=20 > tunables to zero and many other things, but nothing helped to find a=20 > reason for this behaviour. Right now I noticed that top(1) shows a huge= =20 > bunch of processes with the state *Giant shortly before the machine=20 > freezed. Therefore I think it's related to the giant lock. ;-) >=20 > Currently I prepare to do a binary search in HEAD between march 2000 and= =20 > januar 2003, but I would be glad if somebody still has a hint for me to= =20 > prevent me from doing this. Is there still a way to gather debug=20 > information? You need to break to DDB, trace processes and examine lock state with commands like 'show alllocks' and 'show lockedvnods' to see what is going on. Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDXzKiWry0BWjoQKURAh6kAJ9HWnZITlADvngcA8kgkTncF6ZBQgCglY6T lANyLRO8Ez9SDkglm2Yp0No= =CUyq -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--