Lock-up on PPC64

malc at pulsesoft.com malc at pulsesoft.com
Thu Dec 25 12:01:49 EST 2008


Hello,

Benjamin Herrenschmidt asked to re-report this issue to linuxppc-dev and
here it is.

[original LKML message http://lkml.org/lkml/2008/12/21/105]

Synopsis

Plain/non-root userspace application which doesn't interface with
any weird out-of/in-tree drivers manages to lock-up a PS3 machine
running Linux.

The application in question is Mono VM running mcs.exe (C# compiler)
which tries to compile particular file, distribution is Yellow Dog Linux
6.0 with either stock (2.6.23.x) or custom compiled (2.6.27) 64bit kernel.


Symptoms are as follows (interaction is done via ssh from another
machine):

$ make
... lots of stdout/err messages
... eventually an error message

Eventually the ssh session terminates, PS3 is still pingable but
impossible to connect to, attaching keyboard and trying magic SysRq
doesn't work, typing keys into login: prompt works (as in - the terminal
shows keys that were pressed, but after hittiing enter the carret is
advanced and nothing happens, hitting random keys doesn't yield anything
either)

There's a bug in Mono bugzilla which describes exactly the same problem,
but it appears as if reporters machine continued working after hitting
the problem. https://bugzilla.novell.com/show_bug.cgi?id=414845
The reporter aslo managed to create minimal reproducible test case
(so that running `MONO_PATH=... .../mono .../mcs.exe prob.cs' kills
  this PS3 just as well)

Any pointers to what can be done to further debug this would be greatly
appreciated.

[ends here]

Unfortunatelly reproducing requires building Mono from sources.

Mono 2.0.1 can only be built in 32bit mode and still exhibits the same
(locking-up behavior):
 http://ftp.novell.com/pub/mono/sources/mono/mono-2.0.1.tar.bz2

Or the one from the SVN, instructions are at:
http://mono-project.com/AnonSVN
(Configured with: `CC='gcc -m64' ./configure' (never tried 32bit build))

Unfortunatelly the only PPC64 machine i have access to that's running
Linux is a PS3 so i can not confirm/deny the reproducibility on other
PPC64's.

P.S. FWIW custom 2.6.27 = ps3_defconfig + enabled netconsole.

-- 
mailto:av1474 at comtv.ru




More information about the Linuxppc-dev mailing list