LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@gmail.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@suse.de>,
	linux-kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: "svc: unknown version (3)" when CONFIG_NFSD_V4=y
Date: Fri, 5 Jan 2007 20:48:22 +0800	[thread overview]
Message-ID: <368001275.26960@ustc.edu.cn> (raw)
Message-ID: <20070105124822.GA7901@mail.ustc.edu.cn> (raw)
In-Reply-To: <1167999939.6050.42.camel@lade.trondhjem.org>

On Fri, Jan 05, 2007 at 01:25:39PM +0100, Trond Myklebust wrote:
> On Fri, 2007-01-05 at 10:42 +0800, Fengguang Wu 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)
> 
> Are you perhaps running the userland NFS server instead of knfsd? The
> former will only support NFSv2.

I'm running kernel nfs servers:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      5451  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5452  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5453  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5454  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5455  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5456  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5457  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5458  0.0  0.0      0     0 ?        S    19:30   0:00 [nfsd]
root      5449  0.0  0.0      0     0 ?        S<   19:30   0:00 [rpciod/0]
root      5450  0.0  0.0      0     0 ?        S<   19:30   0:00 [rpciod/1]
root      5462  0.0  0.0   7940   672 ?        Ss   19:30   0:00 /usr/sbin/rpc.mountd
statd     5527  0.0  0.0   7892  1084 ?        Ss   19:30   0:00 /sbin/rpc.statd
root      5538  0.0  0.0  23168   764 ?        Ss   19:30   0:00 /usr/sbin/rpc.idmapd

My system is Debian etch. And I just found that CONFIG_NFSD_V4 is irrelevant,
the message remains even if it is disabled. I'll check more kernel versions.

Thanks,
Wu

      parent reply	other threads:[~2007-01-05 12:48 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
     [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=368001275.26960@ustc.edu.cn \
    --to=fengguang.wu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=trond.myklebust@fys.uio.no \
    --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).