Date: Thu, 19 Oct 2006 19:45:39 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Kazuaki ODA <kaakun@highway.ne.jp> Cc: freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: ps locks up on 6.2-PRERELEASE SMP Message-ID: <20061019234539.GA38985@xor.obsecurity.org> In-Reply-To: <45380D57.9040302@highway.ne.jp> References: <4538009D.6030400@highway.ne.jp> <20061019225256.GA38237@xor.obsecurity.org> <45380D57.9040302@highway.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061019234539.GA38985>