From owner-freebsd-current@FreeBSD.ORG Mon Dec 27 00:48:55 2004 Return-Path: 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 B850C16A4CE; Mon, 27 Dec 2004 00:48:55 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81D4343D1D; Mon, 27 Dec 2004 00:48:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AD581512C9; Sun, 26 Dec 2004 16:47:59 -0800 (PST) Date: Sun, 26 Dec 2004 16:47:59 -0800 From: Kris Kennaway To: Robert Watson Message-ID: <20041227004759.GA57634@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: current@FreeBSD.org Subject: Re: Occasional wedging entering DDB via serial break X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 27 Dec 2004 00:48:55 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 26, 2004 at 10:37:32PM +0000, Robert Watson wrote: >=20 > I'm seeing occasional wedging attempting to enter DDB via a serial break > on a dual-Xeon box (4 logical processors). The symptoms usually look > something like this: >=20 > hippy# ./tmp.csh > ~KDB: enter: Line break on console > [thread pid 560 tid 100202 ] > Stopped at kdb_enter+0x2c: leave > db> show alllocks > db> cont > load: 0.04 cmd: super-smack 619 [runnable] 0.02u 0.51s 2% 2216k > ~KDB: enter: Line break on console > [thread pid 560 tid 100201 ] > Stopped at kdb_enter+0x2c: leave > db> show alllocks > Process 560 (mysqld) > Thread 0x18769 > exclusive sleep mutex so_rcv r =3D 0 (0xc2a25bcc) locked @ > kern/uipc_usrreq.c:464 > exclusive sleep mutex unp r =3D 0 (0xc091a740) locked @ > kern/uipc_usrreq.c:392 > db> cont > load: 0.92 cmd: super-smack 619 [runnable] 0.05u 1.36s 6% 2216k > ~KDB: enter: Line break on console > [thread pid 560 tid 100199 ] > Stopped at kdb_enter+0x2c: leave > db> show alllocks > db> cont > load: 2.12 cmd: super-smack 616 [running] 0.08u 2.90s 10% 2216k > ~KDB: enter: Line break on console > >=20 > After that point, a serial break will no longer drop to DDB, respond to > pings, etc. The box is running 6.x-CURRENT from this morning. Is anyone > else seeing this, or does anyone else have ideas about what might cause > this? I see much the same..it seems to be just one more way in which DDB is broken on SMP machines. Setting debug.kdb.stop_cpus=3D0 tends to fix this for me, but then I get the joy of overlapping panics from multiple CPUs. Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBz1u/Wry0BWjoQKURAvn9AKDEIprV38dRcL710zE01/+piVrUDgCgkxTc mpZV5mVVCFDq5kVed82CqWk= =jnDR -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--