Re: 2.2.x - running programs from NFS mounted dirs

Jan Rekorajski (baggins@hunter.mimuw.edu.pl)
Tue, 2 Mar 1999 10:43:13 +0100


On Tue, 02 Mar 1999, Eugene Crosser wrote:

> A while ago I reported that I have some programs misteriously segfault
> when run on 2.2.x and work well when run on 2.0.x. Now I realized
> *which* programs they where: apparently, any program started from an NFS
> mounted directory segfaults immediately. Strace shows only one syscall:
> mmap(), and then it crashes. The NFS server in my case is another Linux
> box running unfsd with 2.0.x kernel.
>
> Can anyone confirm this?
>

ELF - not, all ELF binaries run correctly.

BUT, all a.out binaries does not run from NFS mounted directory:

[baggins@yellow03 baggins]$ file /usr/local/bin/eml
/usr/local/bin/eml: Linux/i386 demand-paged executable (ZMAGIC), stripped
[baggins@yellow03 baggins]$ eml
bash: /usr/local/bin/eml: cannot execute binary file
[baggins@yellow03 baggins]$

[baggins@yellow03 baggins]$ mount
148.81.15.14:/usr/local on /usr/local type nfs \
(ro,nosuid,nodev,nolock,addr=148.81.15.14)

Server is unfs on 2.2.1 (the same happens with knfsd),
clients 2.1.131-ac13 and 2.2.0-pre4/5

Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/