Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 08:42:15 +0900
From:      Kazuaki ODA <kaakun@highway.ne.jp>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ps locks up on 6.2-PRERELEASE SMP
Message-ID:  <45380D57.9040302@highway.ne.jp>
In-Reply-To: <20061019225256.GA38237@xor.obsecurity.org>
References:  <4538009D.6030400@highway.ne.jp> <20061019225256.GA38237@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 box
>> (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 kernel.
> 
> What state is ps in?  Press ^T.  It's probably a devfs lockup, which
> should be fixed by changes yet to be merged.
> 
> Kris

I tried again.  But ^T, ^C and ^Z had no effect, ps was still locking..

Should I rebuild kernel with DDB option, and go into DDB to get more
information?


-- 
Kazuaki ODA



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