Messages in this thread | | | Date | Tue, 2 Mar 1999 10:29:23 +0300 (MSK) | From | Eugene Crosser <> | Subject | Re: 2.2.x - running programs from NFS mounted dirs |
| |
On 2-Mar-99 at 06:13, Alan Cox (alan@lxorguk.ukuu.org.uk) wrote:
> > 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.
> Check the file permissions on what it is trying to mmap(), especially > if you've tried 2.0.35 but not 2.0.36
I *guess* that the very first mmap() should be on the executable file itself, no? This is how it happens:
crosser@ariel:/src/sox-12.15/$ mount [...] hekate:/src on /auto/src type nfs (rw,addr=194.67.3.247) crosser@ariel:/src/sox-12.15/$ ls -l sox -rwxr-xr-x 1 crosser sovam 429247 Feb 23 13:13 sox* crosser@ariel:/src/sox-12.15/$ strace ./sox mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40007000 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ crosser@ariel:/src/sox-12.15/$
Eugene
- 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/
| |