LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ferris McCormick (fmccor_at_[hidden])
Date: 2003-08-28 09:58:36


On Tue, 26 Aug 2003, Ferris McCormick wrote:

> On Tue, 26 Aug 2003, Jeff Squyres wrote:
>
>
> 1. On SS20-Linux-SMP (NOT ultra), everything is fine;
> 2. On U2-Linux-SMP (sun4u based system), MODE=sysv hangs when
> make check MODES="sysv"
> 3. Here's why: On U2, U60, but not SS20, the system call
> semctl(semid,x,SETVAL,cmd) silently succeeds without setting
> any value but zero into the semaphore (as ipcs command verifies).
> 4. semctl(semid,0,SETALL,cmd) works fine, though.
>
> My best guess is that the problem is in sys-libs/glibc-2.3.1-r4 (as built
> for GenToo Linux on sparc), but it is definitely not a LAM-MPI problem.
>
Best guess was second best. This is caused by a kernel bug which is
probably specific to sparc64 linux (sun4u), triggered by the or-ing in
of the __IPC_64 (=0x100) flag with the semctl commands. Kernel patch
was provided by Keith Wesolowski (GenToo linux/sparc, linux sparc) and
works fine, so this issue is not an issue for me any longer. Again,
since the patch lives in a kernel file named
'arch/sparc64/kernel/sys_sparc32.c' my guess is there is no general
problem here at all.

Later,
Regards,

--
Ferris McCormick (P44646, MI) <fmccor_at_[hidden]>
Phone: (703) 392-0303
Fax:   (703) 392-0401