Subject: kern/36424: memory corruption (?) when using NFS and audio on sparc
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <martin@duskware.de>
List: netbsd-bugs
Date: 06/01/2007 21:50:01
>Number:         36424
>Category:       kern
>Synopsis:       memory corruption (?) when using NFS and audio on sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 01 21:50:00 +0000 2007
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.20
>Organization:
>Environment:
System: NetBSD krups.duskware.de 4.99.20 NetBSD 4.99.20 (MP3) #4: Fri Jun 1 23:24:45 CEST 2007 martin@night-porter.duskware.de:/usr/src/sys/arch/sparc/compile/MP3 sparc
Architecture: sparc
Machine: sparc
>Description:

When I play a mp3 file from an NFS mounted directory on my krups I get a panic
after a short while. This is 100% reproducable during the first track playing
on this machine. The panic slightly varies, but always is related to kauth
or the pool it uses.

Here is one example:

panic: kernel diagnostic assertion "kauth_cred_getrefcnt(acred) == 1" failed: file "../../../../nfs/nfs_socket.c", line 1417
Stopped in pid 4.1 (nfsio) at   netbsd:cpu_Debugger+0x4:        or              %o7, %g0, %g1
db> bt
cpu_Debugger(0xe81a5d00, 0xe8184458, 0xe8188f20, 0xe81bdc00, 0x100, 0xe81e5800) at netbsd:__assert+0x18
__assert(0xe8184458, 0xe8188c10, 0x589, 0xe8188f20, 0x3c, 0xe817d6a0) at netbsd:nfs_request+0xc4c
nfs_request(0x0, 0xf0995400, 0x6, 0xf3f81680, 0xf3f80220, 0x0) at netbsd:nfs_readrpc+0x35c
nfs_readrpc(0x0, 0xf481be48, 0x0, 0x6000, 0xf481bdc4, 0x200) at netbsd:nfs_doio+0x2d0
nfs_doio(0xf098de60, 0xe80569a0, 0x0, 0x48000e7, 0x0, 0xe81bbb24) at netbsd:nfssvc_iod+0x180
nfssvc_iod(0x0, 0x0, 0xe81bbbac, 0xf0986e58, 0x0, 0x0) at netbsd:start_nfsio+0x8
start_nfsio(0xf3f81680, 0x0, 0xf0981900, 0xf097ebc0, 0xab7d3ec5, 0x8eddbf4) at netbsd:lwp_trampoline+0x8


>How-To-Repeat:

Not sure what makes this machine special.

>Fix:
n/a