NFS Server error-> nfssvc: Function not implemented

NFS Server error-> nfssvc: Function not implemented

Post by Chris » Tue, 22 Feb 2000 04:00:00



This seems to be a common error, one for which I have not found a
solution: I'm running RH 6.1 with support for NFS Server compiled as a
module. I installed and compiled the knfsd-1.4.7 package from the RH
distribution for the files to load.
I load the following:
insmod sunrpc (OK)
insmod lockd (OK)
insmod nfs (OK)
OK means no unresolved symbols, shows up correctly using lsmod.

Then I load the user-space daemons:
rpc.mountd (OK)
rpc.lockd (OK)
rpc.nfsd
nfssvc: Function not implemented

Can anyone shed some light on the problem?  The nfs-HOWTO assumes
everything goes smoothly and isn't very much help for this problem.

Some important observations:
When I do depmod -ea, I get one unresolved symbol from
lib/modules/2.2.12-20/fs/nfsd.o, complaining about the do_nfssrvctl()
symbol unresolved.  This happens after compiling the kernel for NFS
server support as module.

Any ideas anyone?

-Chris Hallinan
clh at zing dot net

 
 
 

NFS Server error-> nfssvc: Function not implemented

Post by Tom East » Wed, 23 Feb 2000 04:00:00



>This seems to be a common error, one for which I have not found a
>solution:

I can't believe that the solution is not on dejanews; I used to post
it several times a day...

I'm running RH 6.1 with support for NFS Server compiled as a

Quote:>module. I installed and compiled the knfsd-1.4.7 package from the RH
>distribution for the files to load.
>I load the following:
>insmod sunrpc (OK)
>insmod lockd (OK)
>insmod nfs (OK)
>OK means no unresolved symbols, shows up correctly using lsmod.

>Then I load the user-space daemons:
>rpc.mountd (OK)
>rpc.lockd (OK)
>rpc.nfsd
>nfssvc: Function not implemented

>Can anyone shed some light on the problem?  The nfs-HOWTO assumes
>everything goes smoothly and isn't very much help for this problem.

First of all, why are you recompiling your kernel for knfsd-1.4.7? RedHat
6.1 includes knfsd 1.4.7-7!!! If you still feel that you must burn up CPU
cycles doing kernel compilations, then when you configure your kernel you
must select:

        Prompt for development and/or incomplete code/drivers

under:

        Code maturity level options

Then select:

        NFS server support      

under "Network File Systems" under

        Filesystems

-Tom
--
Tom Eastep             \  Eastep's First Principle of Computing:
ICQ #60745924           \  "Any sane computer will tell you how it

Shoreline, Washington USA \___________________________________________

 
 
 

NFS Server error-> nfssvc: Function not implemented

Post by Chris Hallina » Wed, 23 Feb 2000 04:00:00




> >This seems to be a common error, one for which I have not found a
> >solution:

> I can't believe that the solution is not on dejanews; I used to post
> it several times a day...

> I'm running RH 6.1 with support for NFS Server compiled as a
> >module. I installed and compiled the knfsd-1.4.7 package from the RH
> >distribution for the files to load.
> >I load the following:
> >insmod sunrpc (OK)
> >insmod lockd (OK)
> >insmod nfs (OK)
> >OK means no unresolved symbols, shows up correctly using lsmod.

> >Then I load the user-space daemons:
> >rpc.mountd (OK)
> >rpc.lockd (OK)
> >rpc.nfsd
> >nfssvc: Function not implemented

> >Can anyone shed some light on the problem?  The nfs-HOWTO assumes
> >everything goes smoothly and isn't very much help for this problem.

> First of all, why are you recompiling your kernel for knfsd-1.4.7? RedHat
> 6.1 includes knfsd 1.4.7-7!!! If you still feel that you must burn up CPU
> cycles doing kernel compilations, then when you configure your kernel you
> must select:

>         Prompt for development and/or incomplete code/drivers

> under:

>         Code maturity level options

> Then select:

>         NFS server support

> under "Network File Systems" under

>         Filesystems

> -Tom
> --
> Tom Eastep             \  Eastep's First Principle of Computing:
> ICQ #60745924           \  "Any sane computer will tell you how it

> Shoreline, Washington USA \___________________________________________

Thanks, Tom, but I've already tried the obvious.  I did select both options
when I recompiled the kernel.  The reason for the recompile was that I was
experimenting with NFS support as a loadable module versus compiled into the
kernel.  The only limited success I had was to configure for support compiled
into the kernel.  It responded to a client request for a remote mount, but is
unstable.  A request from a second client results in a RPC timout.  From then
on, none of my clients can do a remote mount until I reboot the NFS server.
Then, after a short time, it stops responding again.  The RPC/NFS server
seems to just hang.  (The box is completely useable, but RPC fails to
respond.

Another reason for the recompiles was due to unresolved symbols.  When I
compile for module support, I can't seem to get everything to load without
either unresolved symbols (do_nfsservctl()) or the nfssvc: Function not
implemented error when I insmod the nfs module.

Part of my problem is I'm not 100% sure which binaries are intended for
user-space and which should be insmod'ed.  I think I may be tripping over
version mismatches.  In answer to your other question about knfsd-1.4.7, the
reason for loading/compiling that was I didn't have rpc.mountd or rpc.lockd
(or mountd or lockd) anywhere on my system.

So, I'm still hacking away trying to find a solution!!

Thanks again for the ideas.

-Chris Hallinan

 
 
 

NFS Server error-> nfssvc: Function not implemented

Post by Tom East » Wed, 23 Feb 2000 04:00:00


Chris,



>Thanks, Tom, but I've already tried the obvious.  I did select both options
>when I recompiled the kernel.  The reason for the recompile was that I was
>experimenting with NFS support as a loadable module versus compiled into the
>kernel.  The only limited success I had was to configure for support compiled
>into the kernel.  It responded to a client request for a remote mount, but is
>unstable.  A request from a second client results in a RPC timout.  From then
>on, none of my clients can do a remote mount until I reboot the NFS server.
>Then, after a short time, it stops responding again.  The RPC/NFS server
>seems to just hang.  (The box is completely useable, but RPC fails to
>respond.

Did you see these symptoms with the stock RH6.1 kernel and knfsd rpms?

Quote:

>Another reason for the recompiles was due to unresolved symbols.  When I
>compile for module support, I can't seem to get everything to load without
>either unresolved symbols (do_nfsservctl()) or the nfssvc: Function not
>implemented error when I insmod the nfs module.

Well, you would have had if you would have installed the knfsd rpm.

Quote:>Part of my problem is I'm not 100% sure which binaries are intended for
>user-space and which should be insmod'ed.  I think I may be tripping over
>version mismatches.  In answer to your other question about knfsd-1.4.7, the
>reason for loading/compiling that was I didn't have rpc.mountd or rpc.lockd
>(or mountd or lockd) anywhere on my system.

>So, I'm still hacking away trying to find a solution!!

My advice is to go back to the RH6.1 kernel (hopefully you haven't
overwritten /lib/modules/2.2.12-20) and install the knfsd rpm.

-Tom
--
Tom Eastep             \  Eastep's First Principle of Computing:
ICQ #60745924           \  "Any sane computer will tell you how it

Shoreline, Washington USA \___________________________________________

 
 
 

NFS Server error-> nfssvc: Function not implemented

Post by Chris » Wed, 23 Feb 2000 04:00:00



> >Thanks, Tom, but I've already tried the obvious.  I did select both options
> >when I recompiled the kernel.  The reason for the recompile was that I was
> >experimenting with NFS support as a loadable module versus compiled into the
> >kernel.  The only limited success I had was to configure for support compiled
> >into the kernel.  It responded to a client request for a remote mount, but is
> >unstable.  A request from a second client results in a RPC timout.  From then
> >on, none of my clients can do a remote mount until I reboot the NFS server.
> >Then, after a short time, it stops responding again.  The RPC/NFS server
> >seems to just hang.  (The box is completely useable, but RPC fails to
> >respond.

> Did you see these symptoms with the stock RH6.1 kernel and knfsd rpms?

I've only recently needed NFS, so I didn't try it with the stock 6.1 kernel.  The
knfsd rpm came on CD-ROM 2, which is not used during the 'stock' out-of-the-box
installation. The major problem here is confusion over exactly what is what.  The
RH6.1 distribution by default loads both client and server NFS support.  For
client operation, the user doesn't have to do anything...on another Linux 486 I
have, same RH6.1, "mount -t nfs ..." works without any configuration.  For server
support, you have two choices: configure/compile for loadable module support, or
configure/compile the support into the kernel.  I've tried both (by the way, the
latter seems to work.)

The confusion is, what the heck is knfsd-1.4.7 if I already have NFS support in
the stock RH 6.1?  The VERY LIMITED documentation in the package says it's a
kernel-space daemon, but the package doesn't result in any loadable modules.  It
seems only to build user-space daemons.  I've studied the makefiles and looked at
some of the source...there's not a CONFIG_MODVERSIONS, EXPORT_SYMTAB nor MODULE
defined anywhere in the source.  This would be required to build loadable modules
for the 2.2.12 kernel.

Quote:

> >Another reason for the recompiles was due to unresolved symbols.  When I
> >compile for module support, I can't seem to get everything to load without
> >either unresolved symbols (do_nfsservctl()) or the nfssvc: Function not
> >implemented error when I insmod the nfs module.

> Well, you would have had if you would have installed the knfsd rpm.

I'm still going to pursue why I can't get the kernel to build a loadable module
version...

Quote:

> >Part of my problem is I'm not 100% sure which binaries are intended for
> >user-space and which should be insmod'ed.  I think I may be tripping over
> >version mismatches.  In answer to your other question about knfsd-1.4.7, the
> >reason for loading/compiling that was I didn't have rpc.mountd or rpc.lockd
> >(or mountd or lockd) anywhere on my system.

> >So, I'm still hacking away trying to find a solution!!

> My advice is to go back to the RH6.1 kernel (hopefully you haven't
> overwritten /lib/modules/2.2.12-20) and install the knfsd rpm.

I do a 'clean' on the /lib/modules/2.2.12-20 tree every time I re-build the
kernel.  If you don't, that's the easiest way to get "unresolved symbols" from
depmod.  If you have stale *.o files in the /lib/modules/2.2.12-20 tree, they only
confuse life and depmod.  I may be wrong, I'm still pretty much a Linux newbie,
but I completely delete every .o under /lib/modules... and then do a make modules;
make modules_install to get them back after I've compiled the kernel.  If you
change configuration options in a kernel compiled for loadable module support, I
consider this step mandatory to avoid potential problems.

Anyway, I sure appreciate the advice.

-Chris Hallinan
clh at zing dot net

 
 
 

NFS Server error-> nfssvc: Function not implemented

Post by Tom East » Thu, 24 Feb 2000 04:00:00



>I've only recently needed NFS, so I didn't try it with the stock 6.1 kernel.  The
>knfsd rpm came on CD-ROM 2, which is not used during the 'stock' out-of-the-box
>installation.

The knfsd SOURCE rpm is on CD 2 -- the knfsd binary rpm is on the CD that
you used for installaion. I have that CD mounted on /mnt/cdrom in the
following:


/mnt/cdrom/RedHat/RPMS/knfsd-1.4.7-7.i386.rpm
/mnt/cdrom/RedHat/RPMS/knfsd-clients-1.4.7-7.i386.rpm

So, as you can see there are TWO rpms having to do with knfsd -- the first
one is the server while the second one is the client.

Quote:>The major problem here is confusion over exactly what is what.  The
>RH6.1 distribution by default loads both client and server NFS support.  For
>client operation, the user doesn't have to do anything...on another Linux 486 I
>have, same RH6.1, "mount -t nfs ..." works without any configuration.  For server
>support, you have two choices: configure/compile for loadable module support, or
>configure/compile the support into the kernel.  I've tried both (by the way, the
>latter seems to work.)

Or just install the first rpm in the list above!

Quote:

>The confusion is, what the heck is knfsd-1.4.7 if I already have NFS support in
>the stock RH 6.1?  The VERY LIMITED documentation in the package says it's a
>kernel-space daemon, but the package doesn't result in any loadable modules.  It
>seems only to build user-space daemons.  I've studied the makefiles and looked at
>some of the source...there's not a CONFIG_MODVERSIONS, EXPORT_SYMTAB nor MODULE
>defined anywhere in the source.  This would be required to build loadable modules
>for the 2.2.12 kernel.

Again, don't try to compile; just use the precompiled packages until you
get it working. Once you have it working, you can experiment to your hards
content.

-Tom
--
Tom Eastep             \  Eastep's First Principle of Computing:
ICQ #60745924           \  "Any sane computer will tell you how it

Shoreline, Washington USA \___________________________________________

 
 
 

NFS Server error-> nfssvc: Function not implemented

Post by Jonathan Voig » Sun, 27 Feb 2000 04:00:00


ius your portmapper running?

> This seems to be a common error, one for which I have not found a
> solution: I'm running RH 6.1 with support for NFS Server compiled as a
> module. I installed and compiled the knfsd-1.4.7 package from the RH
> distribution for the files to load.
> I load the following:
> insmod sunrpc (OK)
> insmod lockd (OK)
> insmod nfs (OK)
> OK means no unresolved symbols, shows up correctly using lsmod.

> Then I load the user-space daemons:
> rpc.mountd (OK)
> rpc.lockd (OK)
> rpc.nfsd
> nfssvc: Function not implemented

> Can anyone shed some light on the problem?  The nfs-HOWTO assumes
> everything goes smoothly and isn't very much help for this problem.

> Some important observations:
> When I do depmod -ea, I get one unresolved symbol from
> lib/modules/2.2.12-20/fs/nfsd.o, complaining about the do_nfssrvctl()
> symbol unresolved.  This happens after compiling the kernel for NFS
> server support as module.

> Any ideas anyone?

> -Chris Hallinan
> clh at zing dot net

 
 
 

1. NFS server fails: [nfssvc: Function not implemented]

HI,

I am trying to setup a NFS server.  I installed knfsd-1.2.2-4 on my
RedHat 6.0 box (kernel 2.2.16).
However, when I boot or try to run rpc.nfsd I get the message:
    nfssvc: Function not implemented

The NFS-HOWTO says very little about how to setup the server.

Any hint would be appreciated

nicolas

2. Insert characters into certain position of file

3. RH6.0 NFS: nfssvc -- function not implemented

4. Rage Fury and opengl lockups

5. rpc.nfsd - 'nfssvc function not implemented' error

6. File Size Limitation

7. File Systems crash recovery ?

8. SOLUTION: nfssvc: function not implemented

9. nfssvc: Function not implemented

10. rpc.nfsd: nfssvc: Function not implemented

11. nfssvc: Function not implemented (?)

12. nfssvc: Function not implemented RH-6.2