knfsd works, sort of.

Greg Alexander (galexand@sietch.bloomington.in.us)
Sun, 16 Nov 1997 18:23:43 -0500 (EST)


well, I have this 386 that I use for testing that netboots off of my real
machine (running 2.0.32-5/unfsd2.2beta26). I booted it up 2.1.63 with
nfsd_63-patch.gz...using the user-land utilities from linux-nfs-0.4.21.
Anyways, it's got a local HD under /D (an MSDOS partition). I can
reexport this one just fine. even writable. performance isn't great, but
it's not bad for a 386. If you want, I can do benchmarks and stresstests
and whatever.
However, when I export / (an NFS mounted fs), mounting it causes
interestingnesses to happen. stat()'s fail, but readdir shows all the
files. this is manifest by ls giving the "file doesn't exist" or whatever
error individually for all of the files in the directory. I didn't expect
it to work great, but is NFS reexporting just not going to be possible with
knfsd, or what?
When copying a largish file (6M) from the harddrive in the 386, at
the end of the copy, I get this error:
Nov 16 18:12:20 barn kernel: nfsd_d_validate: invalid address c021d750
If I umount and remount the fs (so as to flush cache) and copy again, I get
the same error again, with the same address. This doesn't happen when
copying any other files on that fs (the others are all less than 300k,
though).
Possibly related, I get this message when knfs inits:
Nov 16 17:50:37 barn kernel: lockd_up: no pid, 2 users??

Also, right after running init (probably in my bootscript where it mounts
my computer's / as /root so it can use /usr and whatnot), I get the
following messages (with a considerable delay while timing out all those
times):

Nov 16 17:43:56 barn kernel: nfs warning: mount version older than kernel
Nov 16 17:43:56 barn kernel: RPC: sendmsg returned error 101
Nov 16 17:43:56 barn last message repeated 3 times
Nov 16 17:43:56 barn kernel: portmap: server localhost not responding, timed out
Nov 16 17:43:56 barn kernel: RPC: sendmsg returned error 101
Nov 16 17:43:56 barn last message repeated 3 times
Nov 16 17:43:56 barn kernel: portmap: server localhost not responding, timed out
Nov 16 17:43:56 barn kernel: lockd_up: makesock failed, error=-5
Nov 16 17:43:56 barn kernel: RPC: sendmsg returned error 101
Nov 16 17:43:56 barn last message repeated 3 times
Nov 16 17:43:56 barn kernel: portmap: server localhost not responding, timed out

it continues on its merry way after that, though. I run mount-2.7f, btw.

Greg Alexander - also <gralexan@indiana.edu> - http://sietch.home.ml.org/
----
"What is the best manner in which to seek the nonexistant?" asked a
young man of a wise man.
"All methods are equally wrotten except those which succeed, those
are the ones to be feared," responded the wise man.
-- Rare saying