Re: SB and 2.1.126 [NOT THE COMPILE PROBLEM]

Mike (mike@oakley.keble.ox.ac.uk)
Mon, 26 Oct 1998 23:01:58 +0000 (GMT)


On Mon, 26 Oct 1998, Mike wrote:

>
> Having gently persuaded 2.1.126 to compile by applying:
>
> diff -urN linux/include/linux/soundcard.h linux-2.1.126-clean/include/linux/soundcard.h
> --- linux/include/linux/soundcard.h Sat Oct 24 15:13:36 1998
> +++ linux-2.1.126-clean/include/linux/soundcard.h Sun Jul 26 13:24:35 1998
> @@ -771,8 +771,6 @@
> #define SOUND_MIXER_CAPS 0xfc
> # define SOUND_CAP_EXCL_INPUT 0x00000001 /* Only one recording source at a time */
> #define SOUND_MIXER_STEREODEVS 0xfb /* Mixer channels supporting stereo */
> -#define SOUND_MIXER_OUTSRC 0xfa /* Arg contains a bit for each input source to output */
> -#define SOUND_MIXER_OUTMASK 0xf9 /* Arg contains a bit for each supported input source to output */
>
> /* Device mask bits */
>
> diff -urN linux/kernel/acct.c linux-2.1.126-clean/kernel/acct.c
> --- linux/kernel/acct.c Sat Oct 24 13:11:10 1998
> +++ linux-2.1.126-clean/kernel/acct.c Sat Oct 24 11:57:18 1998
> @@ -87,7 +87,7 @@
> if (!acct_file || !acct_needcheck)
> return;
>
> - sb = acct_file->f_dentry->d_inode->i_sb;
> + sb = acct_file->f_dentry->f_inode->i_sb;
> if (!sb->s_op || !sb->s_op->statfs)
> return;
>

As several people have pointed out this patch is the opposite of what I
meant, but the mail point of the post was not the patch (which was taken
from somebody else's anyhow) but that sound does not work for me even with
the patch.

>
> it all seemed fine. But sound is broken in quake (although everything
> else seems to be happy). With quake, I just get white noise. Any ideas?
>

--
Mike <rickettm@ox.compsoc.net>

To think contrary to one's era is heroism. But to speak against it is madness. -- Eugene Ionesco

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