*BSD News Article 16158


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!psgrain!ee.und.ac.za!tplinfm
From: barrett@lucy.ee.und.ac.za (Alan Barrett)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: BUG IN NFS CLIENT ON NETBSD
Date: 15 May 1993 15:11:28 +0200
Organization: Elec. Eng., Univ. Natal, Durban, S. Africa
Lines: 29
Message-ID: <1t2q60$rvg@lucy.ee.und.ac.za>
References: <1svfk1INNekr@darkstar.ucsc.edu>
NNTP-Posting-Host: lucy.ee.und.ac.za

In article <1svfk1INNekr@darkstar.ucsc.edu>,
buhrow@cats.ucsc.edu (Brian Buhrow) writes:
> Problem: When I try to nfs mount a filesystem from a remote fileserver, it
> mounts fine, but any sizable reads from that filesystem subsequent to the
> mount hang forever.  The message, "nfs server host.foo.bar: not responding"
> is generated once, but then nothing happens for the following day and a
> half, or until the machine is forceably re-booted with the re-set key.
> Note that reboot doesn't work, because the process in disk wait can't be
> killed with signal 15.

I had the same problem, also with an ne2000 ethernet card.  I haven't
investigated closely, because my third attempt at fixing the problem
seems to have worked -- I have only one NFS mount, of a read-only
file system, and use the following flags:

	ro,soft,intr,rsize=1024,wsize=1024,retry=5,retrans=5,timeo=5

The "ro,soft" are there because I want them.  The "intr" and the
overrides for retry, retrans and timeo are left over from my first
failed attempt at fixing the problem, and are probably not relevant.
The "rsize=1024,wsize=1024" are there to make the system do smaller
reads and writes, because I think that the default size is too big for
the ne2000 to handle properly (but, as I said before, I have not
investigated closely).  If you try "rsize=512,wsize=512", as I did on
my second attempt, then weird things happen.

--apb
Alan Barrett, Dept. of Electronic Eng., Univ. of Natal, Durban, South Africa
RFC822: barrett@ee.und.ac.za