lkml.org 
[lkml]   [1996]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMore kernel troubles/bugs?
Ok I just sent in a bug report, and was given a fix, but the fix causes 
more problems... Details(errors and config files) are referenced by footnotes

Well I have a soundblaster16 - Vibra16 from creative labs, and when I use
the standard config or menuconfig(1) with and try to compile I get a whole
bunch of errors and then one fatal error(2).

This has caused me to try to use the "old config script" which generates
/etc/soundconf(3), and turn off all the options in the regular sound config.
But then I got two errors with insmod about /dev/audio not being
installed that someone from this list kindly informed me I had to say yes to
/dev/audio support, which I HAD done on the old configure script. But I
figgured what the hell, and said yes in regular config too.

The thing compiled and loaded fine, but when I tried to run doom with sound,
the machine went down. I
assumed this was because I hadn't also said yes to FM and MIDI support in
config, but I had in old script. So I enabled those, and now I get some
more errors(4).

I'm not sure if this qualifies as a bug/bugs, but if its not a bug,
then it sure is one HELL of an inconvenience.

1.
[*] Sound Blaster (SB, SBPro, SB16, clones) support
[*] /dev/dsp and /dev/audio support
[*] MIDI interface support
[*] FM synthesizer (YM3812/OPL-3) support
(65536) Audio DMA buffer size 4096, 16384, 32768 or 65536
(220) I/O base for SB Check from manual of the card
(5) Sound Blaster IRQ Check from manual of the card
(1) Sound Blaster DMA 0, 1 or 3
(5) Sound Blaster 16 bit DMA (_REQUIRED_for SB16, Jazz16, SMW) 5, 6
(330) MPU401 I/O base of SB16, Jazz16 and ES1688 Check from manual of
(-1) SB MPU401 IRQ (Jazz16, SM Wave and ES1688) Use -1 with SB16

2.
make[3]: Leaving directory `/usr/src/linux-2.0/drivers/sound/lowlevel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O4
-fomit-$
sions.h -c -o sb_audio.o sb_audio.c
In file included from sound_config.h:15,
from sb_audio.c:1218:
os.h:39: redefinition of `struct snd_wait'
In file included from sb_audio.c:1218:
sound_config.h:115: redefinition of `struct fileinfo'
sound_config.h:121: redefinition of `struct address_info'
sound_config.h:136: redefinition of `struct voice_alloc_info'
sound_config.h:145: redefinition of `struct channel_info'
In file included from sb_audio.c:1223:
sb.h:53: redefinition of `struct mixer_def'
sb.h:59: redefinition of `mixer_tab'
sb.h:59: `mixer_tab' previously declared here
sb.h:60: redefinition of `mixer_ent'
sb.h:60: `mixer_ent' previously declared here
sb.h:62: redefinition of `struct sb_devc'
sb.h:105: redefinition of `sb_devc'
sb.h:105: `sb_devc' previously declared here
sb_audio.c:1227: redefinition of `sb_audio_open'
sb_audio.c:96: `sb_set_input_parms' previously defined here
sb_audio.c:1315: redefinition of `sb1_audio_output_block'
sb_audio.c:113: `sb1_audio_output_block' previously defined here

... and about 3 more pages just like that untill finally it died ...

sb_audio.c:2779: redefinition of `sb20_audio_trigger'
sb_audio.c:1577: `sb20_audio_trigger' previously defined here
{standard input}: Assembler messages:
{standard input}:1636: Fatal error: Symbol sb1_audio_trigger already defined.
sb_audio.c:2811: redefinition of `sb201_audio_set_speed'
sb_audio.c:1609: `sb201_audio_set_speed' previously defined here
sb_audio.c: In function `sb201_audio_set_speed':
sb_audio.c:2837: output pipe has been closed
cpp: output pipe has been closed
gcc: Internal compiler error: program cc1 got fatal signal 13
make[2]: *** [sb_audio.o] Error 1

3.
/* Generated by configure. Don't edit!!!! */
/* Making changes to this file is not as simple as it may look. */

/* If you change the CONFIG_ settings in local.h you */
/* _have_ to edit .defines too. */

#undef CONFIG_PAS
#define CONFIG_SB
#undef CONFIG_ADLIB
#undef CONFIG_GUS
#undef CONFIG_MPU401
#undef CONFIG_UART6850
#undef CONFIG_PSS
#undef CONFIG_GUS16
#undef CONFIG_GUSMAX
#undef CONFIG_MSS
#undef CONFIG_SSCAPE
#undef CONFIG_TRIX
#undef CONFIG_MAD16
#undef CONFIG_CS4232
#undef CONFIG_MAUI
#undef CONFIG_SPNP
#undef CONFIG_UNUSED1
#undef CONFIG_UNUSED2
#undef CONFIG_AEDSP16
#define CONFIG_AUDIO
#define CONFIG_MIDI
#define CONFIG_YM3812

#undef CONFIG_MPU_EMU
#undef CONFIG_AD1848
#define CONFIG_SBDSP
#define CONFIG_UART401
#define CONFIG_SEQUENCER

#define SBC_BASE 0x220
#define SBC_IRQ 5
#define SBC_DMA 1
#define SB_DMA2 5
#define SB_MPU_BASE 0x330
#define DSP_BUFFSIZE 65536
#define SELECTED_SOUND_OPTIONS 0x00a80002

4.
compute_finetune: wrong version or undefined
pmgr_inform: wrong version or undefined
note_to_freq: wrong version or undefined
Loading failed! The module symbols (from linux-2.0.21) don't match your
linux-2.0.21


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.026 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site