Subject: kern/8766: mounting _any_ nfs file system causes panic
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 11/09/1999 03:24:46
>Number:         8766
>Category:       kern
>Synopsis:       mounting _any_ nfs file system causes panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov  9 03:24:00 1999
>Last-Modified:
>Originator:     Frederick Bruckman
>Organization:
	
>Release:        netbsd-1-4 1999-11-08
>Environment:
	
System: NetBSD handy.localnet 1.4.1 NetBSD 1.4.1
(HANDY) #8: Thu Oct 7 04:25:00 CDT 1999
root@handy.localnet: /usr/src/sys/arch/i386/compile/HANDY i386


>Description:
	
	With a current release kernel, mounting an nfs file system at
	startup, or any other time, causes a panic...

starting rpc daemons: portmap.
panic: nfs_disconnect: waiters left after drain?

Stopped in mount_nfs at _Debugger+0x4: leave
db> t
_Debugger(...
_panic(...
_nfs_disconnect(...
_nfs_reconnect(...
_nfs_receive(...

_nfs_reply(...
_nfs_request(...
_mountnfs(...
_nfs_mount(...
_sys_mount(...
_syscall(...
-- syscall (number 21) --
0x46b7:
db> c
syncing disks... nfs server 192.168.128.1:/home: not responding
...

>How-To-Repeat:
	
	Boot form a kernel built against -rnetbsd-1-4, try to mount an nfs
	file system.  Identical panics with i386 and with mac68k.

>Fix:
	
	Reverting the pull-ups made in /syssrc/sys/nfs on Nov. 5, 1999 
	makes it work again.


>Audit-Trail:
>Unformatted: