From owner-freebsd-bugs Wed Jun 28 1:30: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B8BB437BE95 for ; Wed, 28 Jun 2000 01:30:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA56996; Wed, 28 Jun 2000 01:30:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from castle.jp.freebsd.org (castle.jp.freebsd.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 3DB6737B63D for ; Wed, 28 Jun 2000 01:27:51 -0700 (PDT) (envelope-from matusita@jp.freebsd.org) Received: from localhost (localhost [127.0.0.1]) by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA66909 for ; Wed, 28 Jun 2000 17:27:49 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Message-Id: <20000628172745Y.matusita@jp.FreeBSD.org> Date: Wed, 28 Jun 2000 17:27:45 +0900 From: Makoto MATSUSHITA To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/19558: amd doesn't know whether NFS feature is available or not Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19558 >Category: bin >Synopsis: amd doesn't know whether NFS feature is available or not >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 28 01:30:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Makoto MATSUSHITA >Release: FreeBSD 5.0-CURRENT i386 >Organization: Japan FreeBSD Users' Group >Environment: Both FreeBSD 5.0-CURRENT and 4.0-STABLE >Description: Assume that running kernel does not have NFS feature (no "options NFS" line in kernel config). If you type "mount nfsserver:/path/to/mountpoint /local/path", mount_nfs automatically loads /modules/nfs.ko and the attempts may success. Same scenario can be applied to fstab. Works perfect. However, the amd automounter, does not know how to load NFS module. You can see many warnings if the kernel does not have NFS feature nor you doesn't load NFS modules *before* starting amd. Maybe you say: hey, put 'nfs_load="YES"' to /boot/loader.conf.local. But why, why mount(8) and fstab(5) works but amd(8) doesn't work? I do not check other filesystems which is supported by amd and has already have its own kernel modules, but maybe the same. >How-To-Repeat: - Install /kernel without NFS feature. - Setup /etc/rc.conf{,local} to use amd. - Boot FreeBSD and see how /etc/rc is processed. >Fix: Teach vfsload() and its associated funcalls to amd. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message