Subject: kern/15045: panic: kernel diagnostic assertion "cred != NULL" failed: file "../../../../nfs/nfs_socket.c", line 929
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itohy@netbsd.org>
List: netbsd-bugs
Date: 12/24/2001 23:41:50
>Number:         15045
>Category:       kern
>Synopsis:       panic: kernel diagnostic assertion "cred != NULL" failed: file "../../../../nfs/nfs_socket.c", line 929
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 24 06:43:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     ITOH Yasufumi
>Release:        1.5ZA (Dec. 23, 2001)
>Organization:
	
>Environment:
System: NetBSD pino.my.domain 1.5ZA NetBSD 1.5ZA (PINO) #320: Sun Dec 23 16:02:27 JST 2001 itohy@fmv.my.domain:/w/src/sys/arch/i386/compile/PINO i386
Architecture: i386
Machine: i386

>Description:
	NFS-related panic.
	This occurred on
		pino# cd /remote/fmv.w/pkgsrc/cross/binutils
		pino# make install

	where pino (NetBSD/i386 1.5ZA; P55C 166MHz, 64MB) was using NFS
	filesystem exported by fmv (NetBSD/i386 1.5Y; P54C 133MHz, 48MB)
	using amd(8).
	Probably, amd was trying to unmount busy filesystem, and
	caused panic.

/etc/amd.conf:
[ /remote ]
map_name =		/etc/amd/remote

/etc/amd/remote:
/defaults	-opts:=rw,grpid,nosuid,spongy,intr
fmv.w		type:=nfs;rhost:=fmv;rfs:=/w

	The kernel message is like this.  It failed to save the dump
	since /var was nearly full. :(

panic: kernel diagnostic assertion "cred != NULL" failed: file "../../../../nfs/nfs_socket.c", line 929

Begin traceback...
___assert(c022804d,c0229420,3a1,c0229413,c6b98534) at ___assert+0x19
_nfs_request(c6b5e720,c059b100,7,c6b7c588,0) at _nfs_request+0x44
_nfs_writerpc(c6b5e720,c6b9cbb8,c6b9cba8,c6b9cbac,c05ddaf8) at _nfs_writerpc+0x7bf
_nfs_doio(c05ddaf8,c6b7c588,c05ddaf8,1c0,0) at _nfs_doio+0x37d
_nfs_strategy(c6b9cc00,c01aad24,c05ddaf8,c6b9cc8c,c01af728) at _nfs_strategy+0x52
_VOP_STRATEGY(c05ddaf8) at _VOP_STRATEGY+0x28
_genfs_gop_write(c6b5e720,c6b9ccbc,1,13,c6b9cddc) at _genfs_gop_write+0x354
_nfs_gop_write(c6b5e720,c6b9ccbc,1,13,c04a3d70) at _nfs_gop_write+0x14
_genfs_putpages(c6b9cdf4,c6b98534,c6b7c588,1,c01ac328) at _genfs_putpages+0x818
_VOP_PUTPAGES(c6b5e720,0,0,0,0) at _VOP_PUTPAGES+0x46
_nfs_flush(c6b5e720,c051ae80,1,c6b7c588,1) at _nfs_flush+0x1d
_nfs_fsync(c6b9ce68,c6b5e720,0,1,c01ab4f4) at _nfs_fsync+0x1d
_VOP_FSYNC(c6b5e720,c051ae80,1,0,0,0,0,c6b7c588) at _VOP_FSYNC+0x52
_nfs_sync(c0620c00,1,c051ae80,c6b7c588,0) at _nfs_sync+0x6f
_dounmount(c0620c00,0,c6b7c588,c6b9cf78,c6b7c588) at _dounmount+0xb4
_sys_unmount(c6b7c588,c6b9cf80,c6b9cf78) at _sys_unmount+0xd5
_syscall_plain(2b,2b,2b,2b,aaa4) at _syscall_plain+0x98
End traceback...
syncing disks... 3 done

dumping to dev 0,1 offset 383655
dump 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 succeeded

>How-To-Repeat:

>Fix:
	ENOCLUE
>Release-Note:
>Audit-Trail:
>Unformatted: