Subject: port-sparc/17207: audioamd interrupt counts are insane
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 06/10/2002 22:45:33
>Number: 17207
>Category: port-sparc
>Synopsis: audioamd interrupt counts are insane
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 10 14:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Ben Harris
>Release: 1.6_BETA1
>Organization:
>Environment:
1.6_BETA1 GENERIC kernel from the snapshot.
NetBSD 1.6_BETA1 (GENERIC) #0: Sat Jun 8 05:30:35 UTC 2002
autobuild@tgm.daemon.org:/autobuild/sparc/OBJ/autobuild/src/sys/arch/sparc/compile/GENERIC
total memory = 16304 KB
avail memory = 12240 KB
using 128 buffers containing 512 KB of memory
bootpath: /sbus0/le0
mainbus0 (root): Sun 4/20
cpu0 at mainbus0: MB86900/1A or L64801 @ 20 MHz, WTL3170/2 FPU
cpu0: 64K byte write-through, 16 bytes/line, sw flush: cache enabled
[...]
audioamd0 at mainbus0 ioaddr 0xf7201000 ipl 13 softpri 4
audio0 at audioamd0: full duplex
[...]
>Description:
The "audioamd" driver seems to return completely wild interrupt counts.
For instance, on my machine "vmstat -i" claims:
audioamd0 intr 39530878992384 5135881381
This is after cat'ing a <8 KB file to /dev/audio. Before that, the counts
read zero.
>How-To-Repeat:
$ vmstat -iv
[ audioamd0 should show 0 ]
$ cat /usr/bin/id > /dev/audio
[ noise ]
$ vmstat -iv
[ audioamd0 shows stupidly-high number ]
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: