From owner-freebsd-stable@FreeBSD.ORG Thu Oct 19 23:45:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B216516A415 for ; Thu, 19 Oct 2006 23:45:42 +0000 (UTC) (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 10FC843D53 for ; Thu, 19 Oct 2006 23:45:41 +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 ACA441A3C1A; Thu, 19 Oct 2006 16:45:40 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 75FAD514DF; Thu, 19 Oct 2006 19:45:39 -0400 (EDT) Date: Thu, 19 Oct 2006 19:45:39 -0400 From: Kris Kennaway To: Kazuaki ODA Message-ID: <20061019234539.GA38985@xor.obsecurity.org> References: <4538009D.6030400@highway.ne.jp> <20061019225256.GA38237@xor.obsecurity.org> <45380D57.9040302@highway.ne.jp> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <45380D57.9040302@highway.ne.jp> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: ps locks up on 6.2-PRERELEASE SMP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 23:45:42 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 20, 2006 at 08:42:15AM +0900, Kazuaki ODA wrote: > Kris Kennaway wrote: > > On Fri, Oct 20, 2006 at 07:47:57AM +0900, Kazuaki ODA wrote: > >> Hi, > >> > >> I ran the following two scripts simultaneously on 6.2-PRERELEASE SMP b= ox > >> (cvsup'ed today). > >> > >> ---------------------------------------- > >> #!/bin/sh > >> > >> while true; do > >> ls -lR / > ls_result.txt > >> done > >> ---------------------------------------- > >> > >> ---------------------------------------- > >> #!/bin/sh > >> > >> while true; do > >> ls -lR / > ls_result2.txt > >> done > >> ---------------------------------------- > >> > >> After a while (about 5 minutes), I suspended and killed the both, and > >> ran "ps". As the result, "ps" locked up. No response and no output. > >> To make matters worse, I could not login anymore... > >> > >> This is 100% reproducable on SMP, but no problem when using Non-SMP ke= rnel. > >=20 > > What state is ps in? Press ^T. It's probably a devfs lockup, which > > should be fixed by changes yet to be merged. > >=20 > > Kris >=20 > I tried again. But ^T, ^C and ^Z had no effect, ps was still locking.. >=20 > Should I rebuild kernel with DDB option, and go into DDB to get more > information? Yes. Throw in WITNESS, INVARIANTS, INVARIANT_SUPPORT, DEBUG_LOCKS and DEBUG_VFS_LOCKS while you're there. Kris --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFOA4iWry0BWjoQKURAgofAJoDCTOtQu1QZWf2gmV7CvaUWnqx8ACgjaNB PixSoy050pqq0nyuRMkWV4E= =nMbe -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--