Skip to contentSkip to conversation

nfsd rpc service update failures on 2.6.32

DISCUSSION Jonathan Steinert 2 participants 2 messages Oct 17, 2010 – Oct 20, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi folks, I've got a machine here that I've been debugging NFS issues on for a week or so now.

I've boiled the issue down to this:

Start up the NFS server, this seems to work fine, no errors:
rpc.nfsd 1

Check to see if nfsd has registered with rpcbind, this never shows the nfsd service being registered:
rpcinfo -p

So far I've got the following diagnostics done:

- Cranked up the debugging in rpcbind, never found SET updates happening (only UNSET)
- Captured the rpc update frames going over lo, viewed in wireshark. They are all UNSET only
- Crank up rpcdebug on kernel, only unregister frames are being generated.

The interesting thing I see is:

svc: svc_register(nfsdv4, udp, 0, 2)
RPC: unregistering [100003, 4, 0.0.0.0.0.0, 'udp'] with local rpcbind

For some reason svc_register is being called with '0' as the port argument.

Looking at the ports list in proc says that udp and tcp 2049 are to be used.

I've been searching around for any information regarding this issue, but haven't found anything. Do any of you folks know if this has been fixed in a later kernel? Is this even a known issue of some kind? I would be testing a newer kernel, but my box has a major issue with some driver as of 2.6.33, which I am also still debugging.

Not subscribed to this list, please CC me if you can. I'll watch the archives too.

Thanks much

--hachi

------------------------------------------------------------------------
"She smiled again, shrugged her shoulders, and became a perfect mirror."
------------------------------------------------------------------------

#1 lore raw
Quoted 21 lines · Jonathan Steinert

Hi folks, I've got a machine here that I've been debugging NFS issues on for a week or so now.

I've boiled the issue down to this:

Start up the NFS server, this seems to work fine, no errors:
rpc.nfsd 1

Check to see if nfsd has registered with rpcbind, this never shows the nfsd service being registered:
rpcinfo -p

So far I've got the following diagnostics done:

- Cranked up the debugging in rpcbind, never found SET updates happening (only UNSET)
- Captured the rpc update frames going over lo, viewed in wireshark. They are all UNSET only
- Crank up rpcdebug on kernel, only unregister frames are being generated.

The interesting thing I see is:

svc: svc_register(nfsdv4, udp, 0, 2)
RPC: unregistering [100003, 4, 0.0.0.0.0.0, 'udp'] with local rpcbind

Quoted 7 lines

For some reason svc_register is being called with '0' as the port argument.

Looking at the ports list in proc says that udp and tcp 2049 are to be used.

I've been searching around for any information regarding this issue, but haven't found anything. Do any of you folks know if this has been fixed in a later kernel? Is this even a known issue of some kind? I would be testing a newer kernel, but my box has a major issue with some driver as of 2.6.33, which I am also still debugging.

Not subscribed to this list, please CC me if you can. I'll watch the archives too.

It doesn't ring any bells. What distro are you using, and how is it starting nfsd?

--b.