Subject: Re: 3.1_STABLE and SMP
To: NetBSD/i386 Discussion List <port-i386@NetBSD.org>
From: Greg A. Woods <woods@planix.com>
List: port-i386
Date: 04/21/2007 14:31:03
--pgp-sign-Multipart_Sat_Apr_21_14:31:01_2007-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

At Fri, 20 Apr 2007 23:41:02 +0100, Andrew Doran wrote:
Subject: Re: 3.1_STABLE and SMP
>=20
> That should not happen unless there is a bug somewhere. How many CPUs does
> the machine have? If it happens again, could you ask the custy to do a:
>=20
> mach cpu 0
> tr
> mach cpu 1
> tr
> mach cpu ...
> tr

I keep forgetting that a trace on each CPU can be helpful.


> A dump of the held simplelocks would be good to get too, but I can't
> remember the particular function to call from ddb.

That's the one I mentioned, simple_lock_dump() (which you only get with
options LOCKDEBUG).  See lock(9).

--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Sat_Apr_21_14:31:01_2007-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 97iF41+MO4C1qd02f42PAgtK/Cz0PdTP

iQA/AwUBRipYZ2Z9cbd4v/R/EQKbSACg1EthS54/kKQjhyMe8/kNs7A2qC4An1NV
Sm0Iw/5u1KbnA+ZYAHq/fKoe
=x4Ai
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Sat_Apr_21_14:31:01_2007-1--