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

[-- Attachment #1 --]
On Wed, Oct 26, 2005 at 09:10:06AM +0200, Bjoern Koenig wrote:
> Hello,
> 
> I have an Asus CUVX4-D mainboard with an VIA Apollo Pro 133A chipset and 
> two Intel Pentium III 733 MHz processors. It runs fine with FreeBSD 4.11 
> and SMP enabled, but something happened before 5.0-RELEASE that it don't 
> work anymore now; neither with 5.4-RELEASE, 6.0-RC1 nor 7-CURRENT. In 
> case I have many concurrent processes the system just locks up after a 
> few minutes.
> 
> I disabled ACPI, compiled a kernel with WITNESS, set all debug mpsafe 
> tunables to zero and many other things, but nothing helped to find a 
> reason for this behaviour. Right now I noticed that top(1) shows a huge 
> bunch of processes with the state *Giant shortly before the machine 
> freezed. Therefore I think it's related to the giant lock. ;-)
> 
> Currently I prepare to do a binary search in HEAD between march 2000 and 
> januar 2003, but I would be glad if somebody still has a hint for me to 
> prevent me from doing this. Is there still a way to gather debug 
> 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

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

iD8DBQFDXzKiWry0BWjoQKURAh6kAJ9HWnZITlADvngcA8kgkTncF6ZBQgCglY6T
lANyLRO8Ez9SDkglm2Yp0No=
=CUyq
-----END PGP SIGNATURE-----

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