NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NFS Server not working without COMPAT_13



Christos Zoulas wrote:

> In article <20080516194509.GA7483%antioche.eu.org@localhost>,
> Manuel Bouyer  <bouyer%antioche.eu.org@localhost> wrote:
>>On Fri, May 16, 2008 at 04:26:39PM +0200, Dirk Mast wrote:
>>> Hello,
>>> 
>>> I'm running
>>> NetBSD slug1. 4.99.62 NetBSD 4.99.62 (NSLU2_ALL) #4: Fri May 16 16:18:25
>>> CEST 2008
>>> condor@black:/home/condor/net/src/sys/arch/evbarm/compile/obj/NSLU2_ALL
>>> evbarm
>>> 
>>> on my NSLU2.
>>> 
>>> The kernel config contains:
>>> 
>>> 
>>> options         NFSSERVER
>>> 
>>> 
>>> but when starting mountd, it dies with this message:
>>> Can't delete exports for / (Function not implemented)
>>> 
>>> /var/log/messages even contains:
>>> 
>>> nfsd[181]: nfssvc: Function not implemented
>>> 
>>> 
>>> I then enabled COMPAT_13 in the kernel config, recompiled and booted
>>> the new kernel and now NFS works.
>>> 
>>> I guess this is a bug and not expected behavior, or is it?
>>
> 
> From a quick scan of the code it seems that the nfs server syscall was
> changed without providing backwards compatibility. This is reasonable
> because we don't expect that applications outside the base OS will use
> this functionality.
> 
> christos


Ok, then, looks like the problem is spotted.

Perhaps I'm getting things wrong, but nfsd/mountd is in the base OS 
and NFSSERVER is even enabled in the GENERIC kernel.
As far as I understand it now, it's not an application outside from the 
base OS which is using the functionality, so the syscall should be
backwards compatible?


Greetings

Dirk



Home | Main Index | Thread Index | Old Index