Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 14:21:36 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        freebsd-mips@freebsd.org
Subject:   Re: Can't use nfs server on CURRENT
Message-ID:  <20180614122136.GB34750@mail.bsd4all.net>
In-Reply-To: <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp>
References:  <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 14, 2018 at 08:42:49PM +0900, Mori Hiroki wrote:
> Hi
> 
> I build today's CURRENT for atheros.
> Build is fine and write flash.
> Then I cat't use nfs server.
> Boot log is this.
> 
> link_elf_obj: symbol nfscl_reqstart undefined
> linker_load_file: /boot/kernel/nfsd.ko - unsupported file type
> 
> I seem nfs code is modify now.

The following commit fixes the issue for me (tested on amd64):

r335130 | rmacklem | 2018-06-14 12:00:19 +0200 (Thu, 14 Jun 2018) | 9
lines

Move four functions in nfscl.ko to nfscommon.ko.

Four functions nfscl_reqstart(), nfscl_fillsattr(), nfsm_stateidtom()
and nfsmnt_mdssession() are now called from within the nfsd.
As such, they needed to be moved from nfscl.ko to nfscommon.ko so that
nfsd.ko would load when nfscl.ko wasn't loaded.

-- 
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180614122136.GB34750>