Date: Wed, 1 Aug 2001 14:24:30 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Chris Casey <chriss@phys.ksu.edu> Cc: alpha@FreeBSD.ORG Subject: Re: nfs/linux compat Message-ID: <15208.18782.987728.504368@grasshopper.cs.duke.edu> In-Reply-To: <Pine.SOL.3.96L.1010801113904.14297H-100000@schottky.phys.ksu.edu> References: <Pine.SOL.3.96L.1010801113904.14297H-100000@schottky.phys.ksu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Casey writes: > > I am using compaq fortran for linux on fbsd, and things seem fine... > except when fortran programs try dealing with nfs mounted directories. > > it appears that when output to a file ( ./fort.100) is tried on a ufs > mounted disk everything goes as planned, here is what kdump says: > > running from /tmp: > > 39574 TBLSC NAMI "/compat/linux/tmp" > 39574 TBLSC NAMI "/tmp/fort.100" > > but running from a nfs mounted directory: > > 36440 TBLSC NAMI "/compat/linux/fort.100" > 36440 TBLSC RET ktrace -1 errno 13 Permission denied > 36440 TBLSC CALL ktrace(0x120131aa0,0x200,0x1b6) > 36440 TBLSC NAMI "/compat/linux" > 36440 TBLSC NAMI "/compat/linux/fort.100" > > it catches fire trying to write to /fort.100 says the error message. > > but here is the thing... sometimes it works and sometimes it doesnt. the > first time its tried it usually works as expected with the nfs directory. > then it may work a few times before it does the above, or it may not work > again. loging out and back in seems to make whatever voodoo the linux > compat is looking for return for at least once... but i dont seem to find > what changes As far as permissions go, it really shouldn't matter if its running through linux compat or not. Can you use linux_kdump, please & repost the above with a bit more context. Eg, the CALL that matches the RET. I have a linux_kdump binary at http://www.cs.duke.edu/~gallatin/linux_kdump Also, what are the permissions/ownership on the directory you're writing into? Are you over-writing the output file or creating it, etc. See if chmoding the directory you're writing into g+s helps at all. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15208.18782.987728.504368>