Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 03:39:15 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Bjoern Koenig <bkoenig@cs.tu-berlin.de>
Cc:        current@freebsd.org
Subject:   Re: deadlocks with SMP and Pentium 3
Message-ID:  <20051026073915.GA77249@xor.obsecurity.org>
In-Reply-To: <435F2BCE.1040704@cs.tu-berlin.de>
References:  <435F2BCE.1040704@cs.tu-berlin.de>

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

--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--



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