Subject: kern/30761: audio crashes the kernel
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Denis Lagno <dlagno@rambler.ru>
List: netbsd-bugs
Date: 07/16/2005 12:46:00
>Number:         30761
>Category:       kern
>Synopsis:       audio crashes the kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 16 12:46:00 +0000 2005
>Originator:     Denis Lagno
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
System: NetBSD flam.gado 3.99.7 NetBSD 3.99.7 (FLAM) #0: Fri Jul 15 03:56:37 MSD 2005 dina@flam.gado:/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/FLAM i386
Architecture: i386
Machine: i386

machine is SMP

audiocard is:

isapnp0: read port 0x203
sb1 at isapnp0 port 0x220/16 irq 5 drq 1,0
sb1: PnP Sound Chip : dsp v4.02
audio0 at sb1: half duplex, mmap, independent
midi1 at sb1: SB MIDI UART
opl0 at sb1: model OPL3
midi2 at opl0: SB Yamaha OPL3
isapnp0: <PnP Sound Chip, @H@1001, , > port 0x388/8 not configured
isapnp0: <PnP Sound Chip, @P@1001, , > port 0x200/8 not configured
isapnp0: <PnP Sound Chip, @X@1001, , > port 0x330/2 irq 9 not configured

>Description:
after 5-20 minutes playing audio kernel crashes:

uvm_fault(0xc05bb6e0, 0xcbc0f000, 0, 2) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 3087.1 (sox) at  netbsd:memset+0x26:     movl    %eax,0xfffffffc(
%edi,%ecx,1)
db{1}> bt
uvm_fault(0xcc86b9a4, 0, 0, 1) -> 0xe
kernel: page fault trap, code=0
Faulted in DDB; continuing...

Problem appeared 1-2 monthes back.

>How-To-Repeat:
play audio on my machine for 5-20 minutes.

>Fix: