Re: "RPC: program not registered" with new NFS server?

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Mon, 2 May 2011 08:06:28 -0400 (EDT)
> 
> Now the NFS server and client are working fine via V3 and V4. It's
> important to note this because the module list is less in the old NFS
> server/client setup to get things fully functional. Example:
> 
> Old:
> 
> $ kldstat -v | egrep 'nfs|krpc'
> 162 nfssvc
> 164 krpc
> 161 nfsserver
> 158 nfs_common
> 163 nfslockd
> 160 nfs
> 159 nfslock
> 
> New:
> 
> # kldstat -v | egrep 'nfs|krpc'
> 11 1 0xffffffff80e19000 1aab0 nfsclient.ko (/boot/kernel/nfsclient.ko)
> 232 oldnfs
> 12 7 0xffffffff80e34000 13c88 krpc.ko (/boot/kernel/krpc.ko)
> 229 krpc
> 13 2 0xffffffff80e48000 d7e nfs_common.ko (/boot/kernel/nfs_common.ko)
> 230 nfs_common
> 14 5 0xffffffff80e49000 f52 nfslock.ko (/boot/kernel/nfslock.ko)
> 231 nfslock
> 15 1 0xffffffff80e4a000 1b8f4 nfsserver.ko (/boot/kernel/nfsserver.ko)
> 234 nfsserver
> 16 5 0xffffffff80e66000 422 nfssvc.ko (/boot/kernel/nfssvc.ko)
> 233 nfssvc
> 17 1 0xffffffff80e67000 30887 nfsd.ko (/boot/kernel/nfsd.ko)
> 237 nfsd
> 18 3 0xffffffff80e98000 10a03 nfscommon.ko (/boot/kernel/nfscommon.ko)
> 235 nfscommon
> 19 1 0xffffffff80ea9000 d94a nfslockd.ko (/boot/kernel/nfslockd.ko)
> 236 nfslockd
> 20 1 0xffffffff80eb7000 35500 nfscl.ko (/boot/kernel/nfscl.ko)
> 239 nfs
> 238 nfscl
> 
> Now the question I have is -- why are nfs_common and nfscommon not
> the same module (I know the sources are different, and the
> functionality is different, so this is more a rhetorical question than
> anything else)?
> 
nfscommon - is the part of the new NFS subsystem shared by the client
     and server
nfs_common - is the part of the old NFS subsystem shared by the old
     client and old server
     (It appeared fairly recently, when someone created it for some
      code that, previous to that point, was duplicated in the old
      client and old server.)

If you are only running the new stuff, you shouldn't need:
- nfs_common, nfsclient, nfsserver
However, I think these will end up loaded by the rc.d scripts
until they are fixed up. At the top of my to-do list.

I'll try a config with no NFS kernel options again, to see if I
have any problems w.r.t. the right modules loading.

rick
Received on Mon May 02 2011 - 10:06:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC