Subject: kern/4050: amd / mounts can hang fs
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 08/27/1997 15:36:31
>Number:         4050
>Category:       kern
>Synopsis:       amd / mounts can hang fs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 27 15:50:02 1997
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Release:        NetBSD-current Aug 26 1997
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.2G NetBSD 1.2G (WSRCC) #0: Tue Aug 26 13:33:16 PDT 1997 root@capsicum.wsrcc.com:/v/netbsd-current/sys/arch/i386/compile/WSRCC i386


>Description:
	amd can mess up the mount maps in a way that 1) causes df to hang and 
	I think causes the system to periodically hang too.

	This is something that started happening only in the last few days.

>How-To-Repeat:
	insert this line into /etc/amd/master:

		/n /etc/amd/amd-n

	insert these 2 lines into /etc/amd/amd-n

	/defaults	opts:=rw,intr;fs:=${autodir}/${rhost};type:=host;rhost:=${key}
	*		;

	(re)start amd in the normal way.

	cd /n/name-of-a-machine-that-is-down
	<hang>
	hit ^C's until one returns to the shell.

	df
	<hang>
	hit ^C's until one returns to the shell.

	at this point df will always hang until the machine is rebooted.

>Fix:
	no idea.
>Audit-Trail:
>Unformatted: