From owner-freebsd-bugs Mon Apr 2 12:10: 6 2001 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 EA80737B722 for ; Mon, 2 Apr 2001 12:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f32JA0M13067; Mon, 2 Apr 2001 12:10:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1751337B725 for ; Mon, 2 Apr 2001 12:05:51 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f32J5p512660; Mon, 2 Apr 2001 12:05:51 -0700 (PDT) (envelope-from nobody) Message-Id: <200104021905.f32J5p512660@freefall.freebsd.org> Date: Mon, 2 Apr 2001 12:05:51 -0700 (PDT) From: galen.menzel@mail.utexas.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/26298: FreeBSD 4.3-RC #0 amd fails to automount nfs filesystems Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26298 >Category: kern >Synopsis: FreeBSD 4.3-RC #0 amd fails to automount nfs filesystems >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 02 12:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Galen Menzel >Release: FreeBSD 4.2, FreeBSD 4.x-stable source tree >Organization: University of Texas at Austin >Environment: FreeBSD valen.cc.utexas.edu 4.3-RC FreeBSD 4.3-RC #0: Mon Apr 2 12:58:16 CDT 2001 root@valen.cc.utexas.edu:/usr/src/sys/compile/CUSTOM2 i386 >Description: I am using amd to automount two nfs filesystems, both living on the same Network Appliance filer. I am using /etc/amd/source as an amd config file. The contents of /etc/amd/source are as follows: public type:=nfs;opts:=rw,hard,nosuid;rhost:=;\ rfs:=/export/public/source private type:=nfs;opts:=rw,hard,nosuid;rhost:=;\ rfs:=/export/unix-source with replaced with the net app filer's service name. The following lines are in /etc/rc.conf: amd_enable="YES" amd_flags="/usr/share/src /etc/amd/source" and 'ps auxw | grep amd' yeilds: amd -p /usr/share/src /etc/amd/source This configuration works with the FreeBSD 4.2 kernel. However, with the current 4.x-stable kernel, as of 2 April 2001, if I try to access /usr/share/src/public or /usr/share/src/private (via ls, cd, or whatever), the access hangs for maybe a minute, and then quits with an "operation timed out" error. After the timeout error has occured, attempts to access the directory fail with the timeour error immediately. Before attempting to access the automount directories, df works fine. If access is attempted, but canceled before the timeout error is received, further attempts to access the automount directories, including df, hang until the error is received. After the error is received, df works and shows that the automount filesystems are not mounted. I am able to mount both of these filesystems by hand as root. >How-To-Repeat: Start amd 'amd -p /usr/share/src /etc/amd/source' and attempt to access the automount filesystems. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message