From owner-freebsd-bugs Tue Mar 19 6:10:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F3DD837B400 for ; Tue, 19 Mar 2002 06:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2JEA1C10145; Tue, 19 Mar 2002 06:10:01 -0800 (PST) (envelope-from gnats) Date: Tue, 19 Mar 2002 06:10:01 -0800 (PST) Message-Id: <200203191410.g2JEA1C10145@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ian Dowse Subject: Re: bin/36088: [patch] mount_nfs loads "nfs" module instead of "nfsclient" Reply-To: Ian Dowse Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36088; it has been noted by GNATS. From: Ian Dowse To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: bin/36088: [patch] mount_nfs loads "nfs" module instead of "nfsclient" Date: Tue, 19 Mar 2002 14:05:16 +0000 In message , Gennady Proskurin writes: >mount_nfs(8) tries to load "nfs" module instead "nfs_client", if no >NFS filesystem module in kernel This should work fine, because the "nfsclient.ko" file contains a module called "nfs": > kldxref -d /boot/kernel/nfsclient.ko /boot/kernel/nfsclient.ko module nfs interface nfs.1 Maybe your /boot/kernel/linker.hints file got lost? When you try to load "nfs", the kernel is supposed to look it up in linker.hints and determine that the module exists in nfsclient.ko. It certainly works for me, although this is on a -CURRENT that is a few weeks old: temp1# kldstat Id Refs Address Size Name 1 1 0xc0100000 29cb64 kernel temp1# mount_nfs synge:/usr/local /mnt temp1# kldstat Id Refs Address Size Name 1 2 0xc0100000 29cb64 kernel 2 1 0xc133d000 16000 nfsclient.ko temp1# df /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on synge:/usr/local 2540782 1809164 528356 77% /mnt The linker.hints file should be automatically generated when you install the modules. Can this be closed? Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message