From owner-freebsd-alpha Wed Aug 1 11:25: 7 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id EFE8737B401 for ; Wed, 1 Aug 2001 11:25:02 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id OAA22023; Wed, 1 Aug 2001 14:25:00 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f71IOV504112; Wed, 1 Aug 2001 14:24:31 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15208.18782.987728.504368@grasshopper.cs.duke.edu> Date: Wed, 1 Aug 2001 14:24:30 -0400 (EDT) To: Chris Casey Cc: alpha@FreeBSD.ORG Subject: Re: nfs/linux compat In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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