From: Chuck Lever <chuck.lever@oracle.com>
To: Frans Pop <elendil@planet.nl>
Cc: Netdev <netdev@vger.kernel.org>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Trond Myklebust <Trond.Myklebust@netapp.com>,
Linux NFS mailing list <linux-nfs@vger.kernel.org>
Subject: Re: svc: failed to register lockdv1 RPC service (errno 97).
Date: Mon, 11 May 2009 12:39:18 -0400 [thread overview]
Message-ID: <62189277-05F4-4AC7-97EC-AFDE39F781E3@oracle.com> (raw)
In-Reply-To: <200905111639.43636.elendil@planet.nl>
On May 11, 2009, at 10:39 AM, Frans Pop wrote:
> On Monday 11 May 2009, you wrote:
>> On May 10, 2009, at 8:48 PM, Frans Pop wrote:
>>> After switching from 2.6.29.2 to 2.6.30-rc5 I get this new message
>>> during boot of my home server:
>>> svc: failed to register lockdv1 RPC service (errno 97).
>>
>> Is this the only instance of this message, or do you see it several
>> times?
>
> It's the only one.
>
>>> This looks to be the result of the following commit:
>>> commit 363f724cdd3d2ae554e261be995abdeb15f7bdd9
>>> Author: Chuck Lever <chuck.lever@oracle.com>
>>> SUNRPC: rpcb_register() should handle errors silently
>>> Move error reporting for RPC registration to rpcb_register's
>>> caller.
>>>
>>> Question is: do I really want to know this? I assume the "failure"
>>> happened with previous kernels too, but silently.
>>
>> The point of that commit was to report errors _less_ frequently.
>
> :-)
>
>> The server-side RPC code is attempting to be more automatic about
>> which address families are supported by kernel NFS services. This
>> message tells us that some particular case is not handled yet. I
>> suspect you weren't seeing this error in the past at all.
>
> Correct. Neither this exact error, nor anything remotely similar.
No, I meant that whether or not you saw an error message, the
underlying condition probably was not occurring before 2.6.30.
>> Can you report more about your server configuration? What
>> distribution is this?
>
> Debian stable (Lenny).
> nfs-common and nfs-kernel-server (1.1.2)
>
> I'm using nfs4. rpc.statd is not running; rpc.mountd and rpc.idmapd
> are.
The NFS client and server appear to start lockd listeners for NFSv4.
They probably don't need to. But that's a separate issue.
>> Does user space have portmapper or rpcbind?
>
> portmap (6.0)
>
>> Are you blacklisting ipv6.ko?
>
> No, the server has IPv6 enabled.
> I'm using NFS mainly from my laptop though, which does not have an
> IPv6
> address for my home network.
>
>> What's the output of "rpcinfo" on your server after it has started
>> NFSD?
>
> I guess you mean the -p option?
>
> $ rpcinfo -p
> program vers proto port
> 100000 2 tcp 111 portmapper
> 100000 2 udp 111 portmapper
> 100003 2 udp 2049 nfs
> 100003 3 udp 2049 nfs
> 100003 4 udp 2049 nfs
> 100021 1 udp 47955 nlockmgr
> 100021 3 udp 47955 nlockmgr
> 100021 4 udp 47955 nlockmgr
> 100021 1 tcp 41860 nlockmgr
> 100021 3 tcp 41860 nlockmgr
> 100021 4 tcp 41860 nlockmgr
> 100003 2 tcp 2049 nfs
> 100003 3 tcp 2049 nfs
> 100003 4 tcp 2049 nfs
> 100005 1 udp 40032 mountd
> 100005 1 tcp 40623 mountd
> 100005 2 udp 40032 mountd
> 100005 2 tcp 40623 mountd
> 100005 3 udp 40032 mountd
> 100005 3 tcp 40623 mountd
> 391002 2 tcp 792 sgi_fam
In this case, it looks like the message can be treated as a notice. I
think in general we could safely make that a dprintk, but I'd like to
wait a bit more to see if we catch any bad behavior.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
next prev parent reply other threads:[~2009-05-11 16:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 0:48 Frans Pop
2009-05-11 14:06 ` Chuck Lever
2009-05-11 14:39 ` Frans Pop
2009-05-11 16:39 ` Chuck Lever [this message]
2009-06-29 6:33 ` db
2009-06-29 7:12 ` db
2009-06-29 14:15 ` Chuck Lever
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=62189277-05F4-4AC7-97EC-AFDE39F781E3@oracle.com \
--to=chuck.lever@oracle.com \
--cc=Trond.Myklebust@netapp.com \
--cc=elendil@planet.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®