Problems with the sound module in 2.0.33

Tudor Hulubei (tudor@cs.unh.edu)
Fri, 30 Jan 1998 14:32:36 -0500


Hi,

I'm experiencing some problems with the sound module under 2.0.33.
Basically what happens is that even though the sound module is ok at
startup (all the devices are reported correctly and functioning
properly), once the module gets removed (by either kerneld or "by
hand"), reloading the module will not work as expected. While the
module itself loads, some of the devices are missing (notably the
audio devices, the midi devices and the mixers.

Is this a known problem? I am running RedHat 5.0, kernel 2.0.33 SMP,
a Tyan Tiger 2 motherboard w/ 2 PentiumII/233, AWE64Gold PnP soundcard
(configured with pnpdump/isapnp). I have tried with and without the
awe64 0.4.2d driver - same behaviour.

Here is the relevant configuration from my kernel configuration file:

CONFIG_SOUND=m
# CONFIG_PAS is not set
CONFIG_SB=y
CONFIG_ADLIB=y
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
CONFIG_MIDI=y
CONFIG_YM3812=y
SBC_BASE=220
SBC_IRQ=5
SBC_DMA=1
SB_DMA2=5
SB_MPU_BASE=330
SB_MPU_IRQ=-1
DSP_BUFFSIZE=65536
CONFIG_LOWLEVEL_SOUND is not set

Here is a copy of /dev/sndstat immediately after booting:

Sound Driver:3.5.4-960630 (Wed Jan 28 12:21:52 EST 1998 root,
Linux hal2 2.0.33 #2 Fri Jan 23 03:33:46 EST 1998 i686 unknown)
Kernel: Linux hal2 2.0.33 #1 Wed Jan 28 12:22:36 EST 1998 i686
Config options: 0

Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster
Type 7: SB MPU-401

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

Audio devices:
0: Sound Blaster 16 (4.16)

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster

...and here is a copy of /dev/sndstat after issuing:

rmmod sound
insmod sound

Sound Driver:3.5.4-960630 (Wed Jan 28 12:21:52 EST 1998 root,
Linux hal2 2.0.33 #2 Fri Jan 23 03:33:46 EST 1998 i686 unknown)
Kernel: Linux hal2 2.0.33 #1 Wed Jan 28 12:22:36 EST 1998 i686
Config options: 0

Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster
Type 7: SB MPU-401

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

Audio devices: <=============== ????

Synth devices:
0: Yamaha OPL-3

Midi devices: <=============== ????

Timers:
0: System clock

Mixers: <=============== ????

Thanks,
Tudor