LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Fengguang Wu <fengguang.wu@gmail.com>
Cc: linux-kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: "svc: unknown version (3)" when CONFIG_NFSD_V4=y
Date: Wed, 10 Jan 2007 17:01:23 +1100	[thread overview]
Message-ID: <17828.33075.145986.404400@notabene.brown> (raw)
In-Reply-To: message from Fengguang Wu on Friday January 5

On Friday January 5, fengguang.wu@gmail.com wrote:
> Hi Neil,
> 
> NFS mounting succeeded, but the kernel gives a warning.
> I'm running 2.6.20-rc2-mm1.
> 
> # mount -o vers=3 localhost:/suse /mnt
> [  689.651606] svc: unknown version (3)
> # mount | grep suse
> localhost:/suse on /mnt type nfs (rw,nfsvers=3,addr=127.0.0.1)
> 
> Any clues about it?

Weird.

Please try this patch.  It should provide more useful information.

NeilBrown

Signed-off-by: Neil Brown <neilb@suse.de>

### Diffstat output
 ./net/sunrpc/svc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff .prev/net/sunrpc/svc.c ./net/sunrpc/svc.c
--- .prev/net/sunrpc/svc.c	2007-01-10 16:58:14.000000000 +1100
+++ ./net/sunrpc/svc.c	2007-01-10 16:59:55.000000000 +1100
@@ -910,7 +910,8 @@ err_bad_prog:
 
 err_bad_vers:
 #ifdef RPC_PARANOIA
-	printk("svc: unknown version (%d)\n", vers);
+	printk("svc: unknown version (%d for prog %d, %s)\n", 
+	       vers, prog, progp->pg_name);
 #endif
 	serv->sv_stats->rpcbadfmt++;
 	svc_putnl(resv, RPC_PROG_MISMATCH);

  parent reply	other threads:[~2007-01-10  6:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <367964923.02447@ustc.edu.cn>
2007-01-05  2:42 ` Fengguang Wu
2007-01-05 12:25   ` Trond Myklebust
     [not found]     ` <368001275.26960@ustc.edu.cn>
2007-01-05 12:48       ` Fengguang Wu
2007-01-10  6:01   ` Neil Brown [this message]
     [not found]     ` <368438638.13038@ustc.edu.cn>
2007-01-10 14:17       ` Fengguang Wu
2007-01-11  3:59         ` Neil Brown
     [not found]           ` <368527150.02925@ustc.edu.cn>
2007-01-11 14:53             ` Fengguang Wu
2007-01-11 22:04               ` Neil Brown
     [not found]                 ` <368569131.07190@ustc.edu.cn>
2007-01-12  2:32                   ` Fengguang Wu
2007-01-12 19:43                     ` Neil Brown
     [not found]                       ` <368654358.17532@ustc.edu.cn>
2007-01-13  2:13                         ` Fengguang Wu
2007-01-14 22:32                           ` Neil Brown
2007-01-10 15:15       ` Arnaud Giersch

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=17828.33075.145986.404400@notabene.brown \
    --to=neilb@suse.de \
    --cc=fengguang.wu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: "svc: unknown version (3)" when CONFIG_NFSD_V4=y' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).