NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/57363: sb (Sound Blaster) driver causes endless panic loop on boot



>Number:         57363
>Category:       kern
>Synopsis:       sb (Sound Blaster) driver causes endless panic loop on boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 17 23:15:00 +0000 2023
>Originator:     Eirik Øverby
>Release:        10-BETA
>Organization:
Modirum
>Environment:
>Description:
On a dual Pentium Pro machine with ISA+PCI bus and a Sound Blaster 32 PnP, 10-BETA kernel will panic immediately upon trying to init the sound card and continue to panic in a loop until after 1-2 minutes it reboots.

Text scrolls too quickly to determine the exact panic messages, however a partial transcript of the initial panic is below.

This sound card works flawlessly on 9.3.

Panic (note the text overwriting the expected output):

attimer0: attached to pcppi0
isapnp0: read port 0x203
sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb1: Creative SB32 PnP Audiopanic: kernel diagnostic assertion "mutex_owned(&sc->sc_intr_lock)" failed: file "/usr/src/sys/dev/isa/sbdsp.c", line 916
cpu0: begin traceback
vpanic(c12d4b18,c19f6b04,c19f6b20,c036e3d3,c12d4b12,c12d4a7f,c12ff7d0,c131819b3,394,c201c140) at netbsd:vpanic+0x196
kern_assert(c12d4b18,c12d4a7f,c12ff7d0,c13189b3,394,c209c140,c209c140,c209c158,c19f6b48,c036fb30) at netbsd:kern_assert+0x23
sbdsp_set_in_ports(c209c140,20,c133980d,c19f6b54,c209c154,c209c140,c209a744,c166b018,c19f6b8c,c037134d) at netbsd:sbdsp_set_in_ports+0x194
sbdsp_attach(c209c140,c19f6b8c,c04d5288,c2093c00,c1339c8a,c209a75c,c209a79c,c036f695,c209c140,c209c140) at netbsd:sbdsp_attach+0x35
......

Output from 9.3:
attimer0: attached to pcppi0
isapnp0: read port 0x203
sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb1: Creative SB32 PnP Audio: dsp v4.13
audio0 at sb1: playback, capture, half duplex, independent
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
mpu0 at sb1
midi1 at mpu0: SB MPU-401 MIDI UART
opl0 at sb1: model OPL3
midi2 at opl0: SB Yamaha OPL3
wdc2 at isapnp0 port 0x168/8,0x36e/2 irq 10: Creative SB32 PnP IDE
atabus2 at wdc2 channel 0
isapnp0: <Creative SB32 PnP, CTL0021, , WaveTable> port 0x620/4 not configured
joy0 at isapnp0 port 0x200/8
joy0: Creative SB32 PnP Game
joy0: joystick not connected
isapnp0: <Creative SB32 PnP, CTL0051, , StereoEnhance> port 0x100/1 not configured

>How-To-Repeat:
Install SB32 PnP card, boot 10-BETA.
>Fix:
Add "userconf=disable sb*" to boot.cfg



Home | Main Index | Thread Index | Old Index