Re: SB: get rid of oops, SF16FMI radio

John Gotts (jgotts@umich.edu)
Wed, 08 Apr 1998 21:51:44 -0400


In message <A3268932B8@vcnet.vc.cvut.cz>, "Petr Vandrovec Ing. VTEI" writes:

> it is possible that I missed out something, but I downloaded 2.1.91-pre1
>and SB still does not work. I am sure that Alan works on this, but I think
>that it is not good that there are still oopses for about 2 weeks now.
>I'm not sure whether my patch is better than adding kmalloc() into place
>where audio_devs[]->devc is initialized, but it is smaller and easier
>(for me).

>diff -urN linux-2.1.90.dist/drivers/sound/sb_common.c linux/drivers/sound/sb_c
>ommon.c
>--- linux-2.1.90.dist/drivers/sound/sb_common.c Sat Mar 14 00:36:03 1998
>+++ linux/drivers/sound/sb_common.c Wed Mar 18 15:54:59 1998
>@@ -928,7 +928,7 @@
> sound_unload_mididev(devc->my_mididev);
> sound_unload_audiodev(devc->my_dev);
> }
>- kfree(devc);
>+ /* kfree(devc); */
> }
> else
> release_region(hw_config->io_base, 16);

I tried your patch with 2.1.93. No luck. When sb unloads I get the following:

baits-209-72(~)% /sbin/lsmod
Module Size Used by
lsmod: QM_INFO: No such file or directory

Alan told me he sent the correct patch to Linus a long time ago, but it looks
like it still hasn't made it into 2.1.x.

--
John GOTTS <jgotts@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts

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