From owner-freebsd-mips@freebsd.org Thu Jun 14 12:21:45 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83F7E1000743 for ; Thu, 14 Jun 2018 12:21:45 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [144.76.30.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.bsd4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CAFA87B7B for ; Thu, 14 Jun 2018 12:21:44 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Thu, 14 Jun 2018 14:21:36 +0200 From: "Herbert J. Skuhra" To: freebsd-mips@freebsd.org Subject: Re: Can't use nfs server on CURRENT Message-ID: <20180614122136.GB34750@mail.bsd4all.net> References: <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 12:21:45 -0000 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