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: Tue, 9 Jul 2013 18:01:25 +0000

 On Mon, Jul 08, 2013 at 11:24:35AM -0700, Paul Goyette wrote:
  > >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.
  > I noticed that the module initialization code doesn't check for an
  > error return from syscall_establish().
    switch (cmd) {
        error = syscall_establish(NULL, nfsserver_syscalls);
        if (error != 0) {
                return error;
 David A. Holland

Home | Main Index | Thread Index | Old Index