Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

nfs warning: mount version older than kernel

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
sheldonh
n00b
n00b
User avatar
Posts: 59
Joined: Tue Sep 14, 2004 11:51 am

nfs warning: mount version older than kernel

  • Quote

Post by sheldonh » Tue Mar 29, 2005 10:51 am

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.
Top
anxt
Apprentice
Apprentice
User avatar
Posts: 254
Joined: Tue Feb 25, 2003 7:49 pm
Location: Frozen Tundra, Canada

  • Quote

Post by anxt » Wed Mar 30, 2005 1:10 am

http://nfs.sourceforge.net/nfs-howto/tr ... oting.html
Top
sheldonh
n00b
n00b
User avatar
Posts: 59
Joined: Tue Sep 14, 2004 11:51 am

  • Quote

Post by sheldonh » Wed Mar 30, 2005 6:36 am

anxt wrote:http://nfs.sourceforge.net/nfs-howto/tr ... oting.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.
Top
jecouch66
n00b
n00b
User avatar
Posts: 8
Joined: Thu Jul 15, 2004 1:56 pm

Re: nfs warning: mount version older than kernel

  • Quote

Post by jecouch66 » Sun Apr 10, 2005 10:55 pm

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...
Top
anxt
Apprentice
Apprentice
User avatar
Posts: 254
Joined: Tue Feb 25, 2003 7:49 pm
Location: Frozen Tundra, Canada

  • Quote

Post by anxt » Mon Apr 11, 2005 12:26 am

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)
Top
poisson
n00b
n00b
User avatar
Posts: 35
Joined: Sun Nov 24, 2002 2:13 pm

Re: nfs warning: mount version older than kernel

  • Quote

Post by poisson » Thu Apr 14, 2005 7:48 am

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.
Top
dsomers
n00b
n00b
Posts: 48
Joined: Sat Dec 25, 2004 3:58 pm
Location: Luxembourg
Contact:
Contact dsomers
Website

[solved] mount version older than kernel

  • Quote

Post by dsomers » Thu May 19, 2005 7:37 pm

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
Top
Raistlin
l33t
l33t
User avatar
Posts: 691
Joined: Mon May 17, 2004 5:59 pm
Location: Boston, MA

  • Quote

Post by Raistlin » Mon Jun 27, 2005 1:58 pm

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:
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."
Top
toralf
Developer
Developer
User avatar
Posts: 3944
Joined: Sun Feb 01, 2004 2:58 pm
Location: Hamburg
Contact:
Contact toralf
Website

Re: nfs warning: mount version older than kernel

  • Quote

Post by toralf » Mon Jun 27, 2005 8:53 pm

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.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic