Re: Kernel lock-up with NPTL

"'Carlo Wood'" <[email protected]>
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
On Thu, Jun 05, 2003 at 10:39:44AM -0700, Perez-Gonzalez, Inaky wrote:
> Can you describe the problem? Like in kernel version
> _plus_ patches that you are using,

plain 2.5.69 (Linus)

> glibc CVS drop date

RedHat 9 update (glibc-2.3.2-27.9)

>, NPTL version,

idem

> the program that caused it, 

See http://bugzilla.kernel.org/show_bug.cgi?id=769
for my original description.

Basically, get a CVS copy of libcwd:

cvs -d:pserver:[email protected]:/cvsroot/libcwd login

(press return on passwd)

cvs -z3 -d:pserver:[email protected]:/cvsroot/libcwd co libcwd

Backup to the version known to cause the problem:

cd libcwd
cvs update -D "2003/06/02 23:19:18 PST"

Compile libcwd:

./bootstrap
CC=gcc-cvs-3.4 CXX=g++-cvs-3.4 ./configure --enable-maintainer-mode --enable-debugt --enable-debugm --enable-debug --disable-nonthreading --disable-debug-output

(I didn't TRY this with another compiler, but
 gcc-3.2 or 3.3 should give the same results -
 the compiler version is not important here).

make
cd testsuite
make threads_threads_shared

Then run 'threads_threads_shared' a few times.  It should
lock up the kernel.

> how did you force it to happen ... does SysRq work? 

SysRq?  I got a key like that - but I am pretty damn sure
the keyboard isn't read anymore.

> Can you get a dump on a serial console of Ctrl+ScrollLock?

I don't have a serial console.  I do have a second PC
running RH8 - but I can't login when everything freezes:
I get a 'host unreachable'.  Note that when playing mp3s
with xmms, the last second or so of the music keeps repeating
after locking up.


> Is it easy to reproduce or it happens randomly?

Very easy - about once every two runs.

> Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own
> (and my fault)

I am now trying to set up a User Mode Linux for RH9 with this kernel :/

-- 
Carlo Wood <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.