modular sound oops/bug with 2.2.0-pre5 and PAS-16

Helge Hafting (helge.hafting@daldata.no)
Fri, 08 Jan 1999 10:01:59 +0100


Modular sound seems buggy in 2.2.0-pre5
Everything is fine if sound is compiled into the kernel, giving me
16-bit sound on /dev/dsp and 8-bit on /dev/dsp1.

I have the modules pas2 (16-bit proaudio sound) and sb (8-bit mono
sb-compatibility stuff on the proaudio card)

In the beginning lsmod showed no sound modules as expected.
"modprobe pas2" worked and let me cat files to /dev/dsp for sound
"modprobe sb" didn't work for /dev/dsp1, could be a configuration problem.
Then I tried to remove all sound modules, and a bug showed up:
"soundcore" remained with a usage count of 1.
"modprobe pas2" made 16-bit sound work again, but this time
on /dev/dsp1. /dev/dsp didn't work, I guessed this had something to do
with the wrong usage count for soundcore.
"modprobe sb" again made no difference.
I then removed the sound modules again, and soundcore was again
stuck with a bogus usage count of 1.
catting a file to /dev/dsp without any driver loaded didn't produce the
expected
"operation not supported", I got an OOPS (unable to handle kernel paging
request) and so on. I guess there was an attempt to use
the driver module that wasn't there.

I post this in case someone is working on the sound drivers for 2.2.0
I'll try to find out more when I get the time.

Helge Hafting

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/