pre-2.1.96-1; lost fm sound

Greg Lee (lee@hawaii.edu)
Mon, 13 Apr 1998 18:35:04 -1000


I've been using 2.1.96-1 for 4 hours now with the only difficulty
I've noticed being that I've lost fm sound. An attempt to open
/dev/sequencer hangs forever (until ^C). I did have fm sound in
2.1.94 -- I didn't think to test it in 2.1.95.

Mark Orr wrote:
>
> I'm getting a very reproducable hard lockup (no magic-sysrq sync or kill
> possible) with the SB sound drivers (sb.o/uart401.o/sound.o) -- compiled
> as modules and loaded by kmod.
>
> First time they get loaded, they seem to work okay...but if you unload
> them (manually or automatically via kmod) and they're reloaded...instant
> lockup. No messages on the log/console other than SB (4.5) detected.

The first time I open /dev/dsp0, the sb loads automatically, and stays
loaded after /dev/dsp0 is closed (at least, it's listed by lsmod).
Then I try to open /dev/sequencer, but it hangs. This is not new
behavior, but used to I could "modprobe adlib_card", then /dev/sequencer
would start working. Now, it never does open. *Meanwhile*, somehow,
the sb module got unloaded, and won't autoload again. I can do
"modprobe sb", and this gets dev/dsp0 working again.

I may have misconfigured things. I find the isapnp and module stuff
really confusing.

------------------
startup messages:
------------------
...
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.13 detected OK (220)
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.13 detected OK (220)
...
------------------
cat /proc/sound:
------------------
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux milo 2.1.96 #1 Mon Apr 13 15:20:03 HST 1998 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.13)

Synth devices:
0: Yamaha OPL-3

Midi devices:

Timers:
0: System clock

Mixers:
0: Sound Blaster

------------------
/etc/conf.modules:
------------------
alias char-major-14 sb #defining the module

post-install sb modprobe "-k" "adlib_card"
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
options adlib_card io=0x388 # FM synthetiser
------------------
/etc/isapnp.conf:
------------------
# $Id: pnpdump.c,v 1.9 1997/06/10 21:37:32 fox Exp $
(VERIFYLD N)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)

# Card 1: (serial identifier 8d 01 00 01 00 01 00 a9 0d)
# CMI0001 Serial No 16777472 [checksum 8d]
# Version 1.0, Vendor version 0.0
# ANSI string -->CMI8330. Audio Adapter<--
#
# Logical device id @@@0001
(CONFIGURE CMI0001/16777472 (LD 0
(IO 0 (BASE 0x0530))
(IO 1 (BASE 0x0388))
# IRQ 5, 7, 9, 10, 11 or 12.
(INT 0 (IRQ 7 (MODE +E)))
# First DMA channel 0, 1 or 3.
(DMA 0 (CHANNEL 0))
(ACT Y)
))
#
# Logical device id @H@0001
#
(CONFIGURE CMI0001/16777472 (LD 1
(IO 0 (BASE 0x0300))
# IRQ 5, 7, 9, 10, 11 or 12.
(INT 0 (IRQ 10 (MODE +E)))
(ACT Y)
))
#
# Logical device id @P@0001
#
(CONFIGURE CMI0001/16777472 (LD 2
(IO 0 (BASE 0x0200))
(ACT Y)
))

#
# Logical device id @X@0001
#
(CONFIGURE CMI0001/16777472 (LD 3
(IO 0 (BASE 0x0220))
# IRQ 5.
(INT 0 (IRQ 5 (MODE +E)))
# First DMA channel 1.
(DMA 0 (CHANNEL 1))
# Next DMA channel 5.
(DMA 1 (CHANNEL 5))
(ACT Y)
))

(WAITFORKEY)

-- Greg, lee@.Hawaii.edu

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