Re: Oops on 2.3.44/loading es1371 module

From: James Turinsky (general@SomeSites.com)
Date: Sun Feb 13 2000 - 13:49:53 EST


Oleg Drokin wrote:
>
> Hello!
> In article <38A6C208.80823D7@somesites.com> you wrote:
>
> r> I don't know if you folks know of this one, but I got an Oops trying to
> r> load the es1371 module (sound card driver) into 2.3.44 (and 2.3.43) so
> r> being such a nice person I ran it through ksymoops for ya.
>
> r> Only notes I can think of is this is on Mandrake 7.0 and I got modutils
> r> 2.3.9 using rpmfind
> r> (package modutils-2.3.9-2mdk.src.rpm) and rebuilt it under 2.3.43, if
> r> that might have any impact upon anything. This oops is repeatable;
> r> reboot and try loading it again, oops!
> It seems you have codec that is unknown for in-kernel driver.
> Following patch should help you.
> (Apply in in drivers/sound subdir)
>
> --- ac97_codec.c.orig Sun Feb 13 18:07:25 2000
> +++ ac97_codec.c Sun Feb 13 18:09:16 2000
> @@ -381,7 +381,7 @@
>
> id1 = codec->codec_read(codec, AC97_VENDOR_ID1);
> id2 = codec->codec_read(codec, AC97_VENDOR_ID2);
> - for (i = 0; i < sizeof (snd_ac97_codec_ids); i++) {
> + for (i = 0; snd_ac97_codec_ids[i].id != 0 ; i++) {
> if (snd_ac97_codec_ids[i].id == ((id1 << 16) | id2)) {
> codec->name = snd_ac97_codec_ids[i].name;
> codec->codec_init = snd_ac97_codec_ids[i].init;
>

That got audio working, mpg123 and xmms played erm, stuff :) , but I
opened kmix with xmms playing something and xmms continued playing, but
with no sound, and I had to rmmod es1371 and ac97_codec and then
modprobe sound again to get sound back. Opening kmix twice in a row
made the master volume go red like there was no sound card. There
weren't any error messages that I could locate. Is this related, or do
I need something other than es1371 and
ac97_codec modules installed? (I'm compiling with CONFIG_SOUND=y and
CONFIG_SOUND_ES1371=m)

I'm thinking mixer code problems, but then again the only C I know is
how to comment stuff... :)

If it helps, the sound is onboard and is a 1373 (SB PCI64D) IIRC.

Thanks a lot.

JT

-
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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:25 EST