NetBSD-Bugs archive

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

Re: kern/48027: nfsserver module doesn't work

The following reply was made to PR kern/48027; it has been noted by GNATS.

From: David Holland <>
Subject: Re: kern/48027: nfsserver module doesn't work
Date: Mon, 8 Jul 2013 18:13:38 +0000

 On Mon, Jul 08, 2013 at 04:25:01AM +0000, Paul Goyette wrote:
  >  > In the original report you said it failed even when compiled in...
  >  Yep.  My minimalist kernel is obviously not including something else 
  >  that is required for nfsserver.  I simply don't know what is missing.
  > [...]
 That is odd - given that the only way you should be getting SIGSYS is
 if the nfssvc() syscall doesn't get installed, and that happens as
 basically the first step in the module initialization. (Which is
 supposed to be called whether or not the code is compiled in or loaded
 on the fly.)
 And if there's something it depends on that's missing, in the builtin
 case that ought to just result in link failure.
 Are you sure it loads/attaches successfully? If it starts to load and
 then unloads itself for some kind of error, it will uninstall the
 syscall and then nfsd won't go.
 My inclination would be to add some printfs in that initialization
 code to see where it does and doesn't get.
  >  Note that everything "used to work" just fine on 6.99.17.  It has only 
  >  broken since I updated to 6.99.23
 Maybe someone broke module initialization.
 David A. Holland

Home | Main Index | Thread Index | Old Index