SB16 Sound Problems in 2.1.97

Dave Harden (cdh+@cmu.edu)
Wed, 22 Apr 1998 05:25:52 +0000


Alright, it's not really a problem with RealAudio, it's the sound
driver.
I've got a UP RedHat 5.0 box with a genuine SB16 (however one of the
originals), which works perfectly under 2.0.33, but no sound under
2.1.95-97.

Otherwise it is stable:
1:12am up 2 days, 13:04, 3 users, load average: 0.26, 0.54, 0.44

After attempting to play several sound files, here's /proc/interrupts:

CPU0
0: 21971309 XT PIC timer
1: 84831 XT PIC keyboard
2: 0 XT PIC cascade
3: 774796 XT PIC serial
5: 56 XT PIC soundblaster
13: 0 XT PIC fpu
14: 1408793 XT PIC ide0
15: 3889944 XT PIC ide1
NMI: 0

Clearly the sound interrupts are too low, and in /var/log/dmesg
(truncated) we have:
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?

I know for certain that IRQ 5 (as well as the DMA channels) are free (it
works in 2.0.33/NT 4.0sp3).

I am beginning to wonder if this is somehow related - if I don't do a
hard reboot when trying to reboot, the kernel locks after here:

Linux version 2.1.97 (root@nollem.localdomain) (gcc version 2.7.2.3) #1
Sat Apr 18 20:29:29 EDT 1998
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
Calibrating delay loop... 59.80 BogoMIPS
Memory: 71404k/73728k available (832k kernel code, 392k reserved, 1072k
data, 28k init)
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Swansea University Computer Society IPX 0.38 for NET3.037
IPX Portions Copyright (c) 1995 Caldera, Inc.
CPU: Intel Pentium 75+ stepping 0c
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.

Checking 'hlt' instruction... Ok.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfce60
PCI: Using configuration type 1
PCI: Probing PCI hardware.
Starting kswapd v 1.5
Serial driver version 4.25 with enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A

Interestingly enough, the next couple of lines on a successful boot are:

Sound initialization started
<Sound Blaster 16 (4.5)> at 0x220 irq 5 dma 1,5
<Sound Blaster 16> at 0x300 irq 5 dma 0
<Yamaha OPL3 FM> at 0x388
Sound initialization complete

Just for reference, here's /dev/sndstat again:

OSS/Free:3.8s2++-971130
Load type: Driver compiled into kernel
Kernel: Linux nollem.localdomain 2.1.97 #1 Sat Apr 18 20:29:29 EDT 1998
i586
Config options: 0

Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 26: MPU-401 (UART)
Type 2: Sound Blaster
Type 29: Sound Blaster PnP
Type 7: SB MPU-401

Card config:
Sound Blaster at 0x220 irq 5 drq 1,5
SB MPU-401 at 0x300 irq 5 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: Sound Blaster 16 (4.5)

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster

Let me know if you guys want any more info (P5/150 w/72 MB RAM, S3
Trio64V).

Worst of all, I can't hear the sound in my video of Win98 crashing for
good 'ol Bill.
Let's bring on the sound guru's....

thanks in advance,

dave

___________________________________________________
WiseWire Corporation http://www.wisewire.com
Dave Harden dharden@wisewire.com
Phone: (412) 688-8870x143 Pager: (412) 590-9246

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu