Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfs warning: mount version older than kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sheldonh
n00b
n00b


Joined: 14 Sep 2004
Posts: 59

PostPosted: Tue Mar 29, 2005 10:51 am    Post subject: nfs warning: mount version older than kernel Reply with quote

Hi folks,

I've searched for the above Subject line and found several people asking the quesiton, but none of them solving the problem.

I'm using:

sys-kernel/gentoo-dev-sources-2.6.11-r4 -build -doc -symlink
sys-kernel/linux-headers-2.4.22-r1 -build
net-fs/nfs-utils-1.0.6-r6 +tcpd
sys-apps/util-linux-2.12i-r1 +crypt -debug +nls +pam +perl -static
net-nds/portmap-5b-r9 -debug +tcpd

As per the NFS HOWTO troubleshooting section, I've rebuilt all the userland packages from that list (several times, now), and there's no difference. I even tried replacing linux-headers with linux26-headers and rebuilding -- still no luck. I've checked that the /usr/src/linux and /lib/modules/`uname -r`/build are correct.

Does anyone know why the advice in the NFS HOWTO doesn't help address this problem? Clearly, there's a situation that produces that error message _other_ than the one that the NFS HOWTO maintainers have encountered. Any ideas?

Here is my NFS-related kernel config:

CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y

TIA
Sheldon.
Back to top
View user's profile Send private message
anxt
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 254
Location: Frozen Tundra, Canada

PostPosted: Wed Mar 30, 2005 1:10 am    Post subject: Reply with quote

http://nfs.sourceforge.net/nfs-howto/troubleshooting.html
Back to top
View user's profile Send private message
sheldonh
n00b
n00b


Joined: 14 Sep 2004
Posts: 59

PostPosted: Wed Mar 30, 2005 6:36 am    Post subject: Reply with quote

anxt wrote:
http://nfs.sourceforge.net/nfs-howto/troubleshooting.html


As I said in my original post, I have used the advice in the NFS HOWTO, which states:

"It means what it says: You should upgrade your mount package and/or am-utils. (If for some reason upgrading is a problem, you may be able to get away with just recompiling them so that the newer kernel features are recognized at compile time)."

This question has been asked before, and people have directed the posters to the NFS HOWTO, so I thought I'd save time by mentioning that I'd already done all of that. That's why I asked, "Does anyone know why the advice in the NFS HOWTO doesn't help address this problem? Clearly, there's a situation that produces that error message _other_ than the one that the NFS HOWTO maintainers have encountered. Any ideas?"

Can you see why posting me the URL to the NFS HOWTO isn't helpful? :-)

Ciao,
Sheldon.
Back to top
View user's profile Send private message
jecouch66
n00b
n00b


Joined: 15 Jul 2004
Posts: 8

PostPosted: Sun Apr 10, 2005 10:55 pm    Post subject: Re: nfs warning: mount version older than kernel Reply with quote

sheldonh wrote:
Hi folks,

I've searched for the above Subject line and found several people asking the quesiton, but none of them solving the problem.


I had this very problem over the last two days. In my case it turned out that I had chrooted to /mnt/gentoo to compile some packages for my older laptop. When I went to emerge them on the laptop I attempted to mount /mnt/gentoo on the laptop to /mnt/gentoo/usr/portage/packages on the compilation computer (which was at the time under the chrooted path). This was what was causing the error. As soon as I exited the chroot it worked normally. Doh!
_________________
You don't have to agree with me, but it's quicker...
Back to top
View user's profile Send private message
anxt
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 254
Location: Frozen Tundra, Canada

PostPosted: Mon Apr 11, 2005 12:26 am    Post subject: Reply with quote

ok. well, i didn't mean to condescend, just help

#1 it doesn't matter.

#2 try touching /bin/mount

emerge -e system && emerge -e system <-- never a bad idea (ok almost never)
Back to top
View user's profile Send private message
poisson
n00b
n00b


Joined: 24 Nov 2002
Posts: 35

PostPosted: Thu Apr 14, 2005 7:48 am    Post subject: Re: nfs warning: mount version older than kernel Reply with quote

I migrated from 2.4 to 2.6 kernel.

I reinstalled all nfs-related user-space programs with no luck.
The warning message was still there.

But I forgot to rebuild the automount package :oops:
I use autofs to mount nfs shares: I think /usr/lib/autofs/mount_nfs.so was the problem.
Now the message disappeared.

Hope this helps.
Back to top
View user's profile Send private message
dsomers
n00b
n00b


Joined: 25 Dec 2004
Posts: 48
Location: Luxembourg

PostPosted: Thu May 19, 2005 7:37 pm    Post subject: [solved] mount version older than kernel Reply with quote

This error message, is more informative than an error.

It actually means that the mount client and the nfs server are using different API versions. You can safely ignore this error message.

I'll file an upstream bug report so that either the error message is suitably reworded, or is simply not shown.

bug filed: http://bugme.osdl.org/show_bug.cgi?id=4638
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Mon Jun 27, 2005 1:58 pm    Post subject: Reply with quote

Hi!

I sent a message to nfs@lists.sf.net concerning this error and just received a reply that I want to share with you:
Quote:
må den 27.06.2005 Klokka 15:37 (+0200) skreiv <MY_NAME>:

>> Hi!
>>
>> I receive this message since I decided to mount some parts of my home
>> folder (via autofs) from a server.
>> Although I searched during several months for a solution and reviewed my
>> configs several times, I was not able to resolve this issue.
>> Could anybody tell me, where the problem lies - or, if you need more
>> information, tell me what I should further reveal...
>>
>> My kernel (2.6 series - currently 2.6.11) on the client machine has the
>> nfs v3 support and the server the apropriate server support.
>> Nevertheless, my logfile is full of the messages mentioned in the
>> subject. I have the most recent (stable) version of mount installed...


Those messages are harmless and can be ignored. The 2.6.13 kernel will
contain a patch (already merged into Linus' git repository) that
suppresses them.

Cheers,
<REPLIERS_NAME>


My logfile will be relieved :)

Cheers, R.
_________________
Zwei Was Eins Initially

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Mon Jun 27, 2005 8:53 pm    Post subject: Re: nfs warning: mount version older than kernel Reply with quote

sheldonh wrote:

I'm using:

sys-kernel/gentoo-dev-sources-2.6.11-r4 -build -doc -symlink
sys-kernel/linux-headers-2.4.22-r1 -build
Definitely the wrong headers, sys-kernel/linux-headers-2.6.8.1-r2 should be used for 2.6 kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum