* 2.0.33 sound errors
@ 1998-03-19 4:10 Tad Grosvenor
1998-03-19 4:25 ` Christopher Curtis
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Tad Grosvenor @ 1998-03-19 4:10 UTC (permalink / raw)
To: axp-list
On my redhat 4.2 udb I have been trying to compile kernel 2.0.33. I got
the source, the 2.0.32 patches, the em86 patches, and the rlimit patches.
Every time it dies in the sound directory.
Any ideas?
make[2]: Entering directory `/usr/src/linux-2.0.33/drivers/sound'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes
-g -O2 -pipe -mno-fp-regs -c -o dev_table.o dev_table.c
In file included from sound_config.h:166,
from dev_table.c:17:
dev_table.h:421: `MSS_DMA2' undeclared here (not in a function)
dev_table.h:421: initializer element for
`snd_installed_cards[0].config.dma2' is not constant
make[2]: *** [dev_table.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.0.33/drivers/sound'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.33/drivers'
make: *** [linuxsubdirs] Error 2
Tad
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-19 4:10 2.0.33 sound errors Tad Grosvenor
@ 1998-03-19 4:25 ` Christopher Curtis
1998-03-19 6:45 ` Robert-Velisav MICIOVICI
1998-03-19 15:41 ` Cornelius Creedon
2 siblings, 0 replies; 11+ messages in thread
From: Christopher Curtis @ 1998-03-19 4:25 UTC (permalink / raw)
To: axp-list
On Wed, 18 Mar 1998, Tad Grosvenor wrote:
> On my redhat 4.2 udb I have been trying to compile kernel 2.0.33. I got
> the source, the 2.0.32 patches, the em86 patches, and the rlimit patches.
> Every time it dies in the sound directory.
>
> dev_table.h:421: `MSS_DMA2' undeclared here (not in a function)
> dev_table.h:421: initializer element for
You need to tell it either to include the FM synth/OPL3 etc, or tell it
not to include them. Whatever the opposite of what you have now.
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-19 4:10 2.0.33 sound errors Tad Grosvenor
1998-03-19 4:25 ` Christopher Curtis
@ 1998-03-19 6:45 ` Robert-Velisav MICIOVICI
1998-03-19 15:41 ` Cornelius Creedon
2 siblings, 0 replies; 11+ messages in thread
From: Robert-Velisav MICIOVICI @ 1998-03-19 6:45 UTC (permalink / raw)
To: axp-list
Hi, please tell me the url where I can get the patch for em86 and the
other usefull patches for alpha linux? which reminds me... What patches
do I need except em86?
Thank you very much.
--
SysAdm @ LCJDAP
"Alexandru Papiu Ilarian" Highschool's Network Administrator
MY homepage WWW: http://lcjdap.soroscj.ro/users/roby/
Visit the Romanian Linux Resource and Help Project at the address below
http://lcjdap.soroscj.ro/users/roby/RLRwp.html
IRC Nick: R0by777, alternate Roby
Phone1 DIALOG GSM : 004/094/573077 - (personal)
Phone2/Fax: 004/064/432002 - at the highschool (work)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-19 4:10 2.0.33 sound errors Tad Grosvenor
1998-03-19 4:25 ` Christopher Curtis
1998-03-19 6:45 ` Robert-Velisav MICIOVICI
@ 1998-03-19 15:41 ` Cornelius Creedon
1998-03-19 18:18 ` Paul Chapman
1998-03-20 2:36 ` Tad Grosvenor
2 siblings, 2 replies; 11+ messages in thread
From: Cornelius Creedon @ 1998-03-19 15:41 UTC (permalink / raw)
To: axp-list
the last time i compiled on my udb this MSS_DMA2 caused problems, which
were introduced by applying some patch.
(i forget which)
my solution was to remove the reference to MSS_DMA2 from the sources.
the error below seems to point to dev_table.h...
-cc
On Wed, 18 Mar 1998, Tad Grosvenor wrote:
> On my redhat 4.2 udb I have been trying to compile kernel 2.0.33. I got
> the source, the 2.0.32 patches, the em86 patches, and the rlimit patches.
> Every time it dies in the sound directory.
>
> Any ideas?
>
> make[2]: Entering directory `/usr/src/linux-2.0.33/drivers/sound'
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes
> -g -O2 -pipe -mno-fp-regs -c -o dev_table.o dev_table.c
> In file included from sound_config.h:166,
> from dev_table.c:17:
> dev_table.h:421: `MSS_DMA2' undeclared here (not in a function)
> dev_table.h:421: initializer element for
> `snd_installed_cards[0].config.dma2' is not constant
> make[2]: *** [dev_table.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.0.33/drivers/sound'
> make[1]: *** [sub_dirs] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.0.33/drivers'
> make: *** [linuxsubdirs] Error 2
>
>
> Tad
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-19 15:41 ` Cornelius Creedon
@ 1998-03-19 18:18 ` Paul Chapman
1998-03-20 4:16 ` Rui-Tao Dong ~{6-HpLN~}
1998-03-20 2:36 ` Tad Grosvenor
1 sibling, 1 reply; 11+ messages in thread
From: Paul Chapman @ 1998-03-19 18:18 UTC (permalink / raw)
To: axp-list
On Thu, 19 Mar 1998, Cornelius Creedon wrote:
>
> the last time i compiled on my udb this MSS_DMA2 caused problems, which
> were introduced by applying some patch.
I seem to remember this having something to do with using another DMA
channel to allow recording. Has anyone ever successfully recorded sound
with a UDB?
-Paul Chapman
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-19 15:41 ` Cornelius Creedon
1998-03-19 18:18 ` Paul Chapman
@ 1998-03-20 2:36 ` Tad Grosvenor
1998-03-20 2:48 ` Cornelius Creedon
1 sibling, 1 reply; 11+ messages in thread
From: Tad Grosvenor @ 1998-03-20 2:36 UTC (permalink / raw)
To: axp-list
Hrm, do I just remove the referenced to it in the .h file, or dec_table.c
also? I am nothing close to a c programmer (first few weeks of C++ at
school) so bear with me on this one.
I tried defining MSS_DMA2 in configure.c in the sound directory. No
effect.
Thanks
Tad
On Thu, 19 Mar 1998, Cornelius Creedon wrote:
>
> the last time i compiled on my udb this MSS_DMA2 caused problems, which
> were introduced by applying some patch.
> (i forget which)
> my solution was to remove the reference to MSS_DMA2 from the sources.
> the error below seems to point to dev_table.h...
>
> -cc
>
> On Wed, 18 Mar 1998, Tad Grosvenor wrote:
>
> > On my redhat 4.2 udb I have been trying to compile kernel 2.0.33. I got
> > the source, the 2.0.32 patches, the em86 patches, and the rlimit patches.
> > Every time it dies in the sound directory.
> >
> > Any ideas?
> >
> > make[2]: Entering directory `/usr/src/linux-2.0.33/drivers/sound'
> > gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes
> > -g -O2 -pipe -mno-fp-regs -c -o dev_table.o dev_table.c
> > In file included from sound_config.h:166,
> > from dev_table.c:17:
> > dev_table.h:421: `MSS_DMA2' undeclared here (not in a function)
> > dev_table.h:421: initializer element for
> > `snd_installed_cards[0].config.dma2' is not constant
> > make[2]: *** [dev_table.o] Error 1
> > make[2]: Leaving directory `/usr/src/linux-2.0.33/drivers/sound'
> > make[1]: *** [sub_dirs] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.0.33/drivers'
> > make: *** [linuxsubdirs] Error 2
> >
> >
> > Tad
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
> >
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-20 2:36 ` Tad Grosvenor
@ 1998-03-20 2:48 ` Cornelius Creedon
0 siblings, 0 replies; 11+ messages in thread
From: Cornelius Creedon @ 1998-03-20 2:48 UTC (permalink / raw)
To: axp-list
well, one 'solution' is to remove it from dev_table.h
around line 419ish i think
you wont find it in dev_table.c
this will allow the kernel to compile (and have sound support, if you have
chosen the correct i/o, irq, dma which are 530, 9, 3 on my UDB)
but as was pointed out, no recording abilities...
-cc
On Thu, 19 Mar 1998, Tad Grosvenor wrote:
> Hrm, do I just remove the referenced to it in the .h file, or dec_table.c
> also? I am nothing close to a c programmer (first few weeks of C++ at
> school) so bear with me on this one.
>
> I tried defining MSS_DMA2 in configure.c in the sound directory. No
> effect.
>
> Thanks
> Tad
>
>
> On Thu, 19 Mar 1998, Cornelius Creedon wrote:
>
> >
> > the last time i compiled on my udb this MSS_DMA2 caused problems, which
> > were introduced by applying some patch.
> > (i forget which)
> > my solution was to remove the reference to MSS_DMA2 from the sources.
> > the error below seems to point to dev_table.h...
> >
> > -cc
> >
> > On Wed, 18 Mar 1998, Tad Grosvenor wrote:
> >
> > > On my redhat 4.2 udb I have been trying to compile kernel 2.0.33. I got
> > > the source, the 2.0.32 patches, the em86 patches, and the rlimit patches.
> > > Every time it dies in the sound directory.
> > >
> > > Any ideas?
> > >
> > > make[2]: Entering directory `/usr/src/linux-2.0.33/drivers/sound'
> > > gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes
> > > -g -O2 -pipe -mno-fp-regs -c -o dev_table.o dev_table.c
> > > In file included from sound_config.h:166,
> > > from dev_table.c:17:
> > > dev_table.h:421: `MSS_DMA2' undeclared here (not in a function)
> > > dev_table.h:421: initializer element for
> > > `snd_installed_cards[0].config.dma2' is not constant
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-19 18:18 ` Paul Chapman
@ 1998-03-20 4:16 ` Rui-Tao Dong ~{6-HpLN~}
1998-03-20 4:32 ` Cornelius Creedon
0 siblings, 1 reply; 11+ messages in thread
From: Rui-Tao Dong ~{6-HpLN~} @ 1998-03-20 4:16 UTC (permalink / raw)
To: axp-list; +Cc: Paul Chapman
>>>>> "paul" == Paul Chapman <pchapman@fizz.phys.dal.ca> writes:
paul> On Thu, 19 Mar 1998, Cornelius Creedon wrote:
............................................................
paul> I seem to remember this having something to do with using another DMA
paul> channel to allow recording. Has anyone ever successfully recorded sound
paul> with a UDB?
I got a patch off the net against 2.0.30 and recording & playing works
just fine on my UDB.
Regards,
Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>, Mission Viejo, California
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-20 4:16 ` Rui-Tao Dong ~{6-HpLN~}
@ 1998-03-20 4:32 ` Cornelius Creedon
1998-03-20 5:22 ` Rui-Tao Dong ~{6-HpLN~}
0 siblings, 1 reply; 11+ messages in thread
From: Cornelius Creedon @ 1998-03-20 4:32 UTC (permalink / raw)
To: axp-list
okay.
how about some more info.
what patch did you use? where from?
when you 'make config' do you define MSS_DMA2 ?
what settings for i/o irq dma...
what flavour of udb?
...
On 19 Mar 1998, Rui-Tao Dong ~{6-HpLN~} wrote:
>
> >>>>> "paul" == Paul Chapman <pchapman@fizz.phys.dal.ca> writes:
>
> paul> On Thu, 19 Mar 1998, Cornelius Creedon wrote:
>
> ............................................................
>
> paul> I seem to remember this having something to do with using another DMA
> paul> channel to allow recording. Has anyone ever successfully recorded sound
> paul> with a UDB?
>
> I got a patch off the net against 2.0.30 and recording & playing works
> just fine on my UDB.
>
> Regards,
>
> Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>, Mission Viejo, California
>
>
>
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-20 4:32 ` Cornelius Creedon
@ 1998-03-20 5:22 ` Rui-Tao Dong ~{6-HpLN~}
1998-03-24 15:19 ` Cornelius Creedon
0 siblings, 1 reply; 11+ messages in thread
From: Rui-Tao Dong ~{6-HpLN~} @ 1998-03-20 5:22 UTC (permalink / raw)
To: axp-list
>>>>> "cornelius" == Cornelius Creedon <neil@box1.staller.sunysb.edu> writes:
cornelius> okay.
cornelius> how about some more info.
cornelius> what patch did you use? where from?
cornelius> when you 'make config' do you define MSS_DMA2 ?
cornelius> what settings for i/o irq dma...
cornelius> what flavour of udb?
This is what I got. BTW, I got a 166MHz UDB.
Regards,
Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>, Mission Viejo, California
----------------------------------------
From: Chel van Gennip <chel@vangennip.nl>
Subject: Re: MSS in a Multia
Newsgroups: comp.os.linux.alpha
Date: 1997/09/28
Message-ID: <342E6484.56AAC946@vangennip.nl>
Chel van Gennip wrote:
[...]
>
> Homonnai Mihaly wrote:
> >
> > Chel van Gennip (cvgennip@hiscom.nl) wrote:
> > : Homonnai Mihaly wrote:
> >
> > : > Daniel Tryba (muaddib@stack.nl) wrote:
> ...
> > : > The correct parameters are:
> > : > ioport=0x530, IRQ=9, DMA=3
> ..
> > : These values work fine for sound output. I tried to do sound input but I
> > : failed.Has anyone sound input on the UDB working?
> >
> > Try this
> > cat /dev/dsp > test
> > <talk into the microphone>
> > cat test > /dev/dsp
> > <listen>
> > It should work IMHO
....
[...]
> #define MSS_DMA2 (-1)
Just after I posted I found out the config file I posted
was a 2.1.xx config file. In 2.0.30 the config file had no
MSS_DMA2 line.
So I tried to enable the second DMA, for a quick result I made
a small change in drives/sound/ad1848.c I added in ad1848_init
two lines:
void
ad1848_init (char *name, int io_base, int irq, int dma_playback, int
dma_capture, int share_dma, int *osp)
{
/*
* NOTE! If irq < 0, there is another driver which has allocated the
IRQ
* so that this driver doesn't need to allocate/deallocate it.
* The actually used IRQ is ABS(irq).
*/
int my_dev;
char dev_name[100];
ad1848_info *devc = &dev_info[nr_ad1848_devs];
int audio_flags = DMA_AUTOMODE;
/*chel*/
dma_playback=3;
dma_capture=1;
This solved the problem, so the settings for Multia sound should
be:
ioport=0x530, IRQ=9, DMA=3 DMA2=1
Chel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 2.0.33 sound errors
1998-03-20 5:22 ` Rui-Tao Dong ~{6-HpLN~}
@ 1998-03-24 15:19 ` Cornelius Creedon
0 siblings, 0 replies; 11+ messages in thread
From: Cornelius Creedon @ 1998-03-24 15:19 UTC (permalink / raw)
To: axp-list
this worked for me.
i also had to add this to .../linux/drivers/sound/Config.in:
(with 2.0.33)
if [ "$CONFIG_MSS" = "y" ]; then
int 'MSS/WSS DMA2 0, 1 or 3' MSS_DMA2 1
fi
thanks for the patch.
;)
-cc
On 19 Mar 1998, Rui-Tao Dong ~{6-HpLN~} wrote:
>
> cornelius> how about some more info.
>
> This is what I got. BTW, I got a 166MHz UDB.
>
> Regards,
>
> Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>, Mission Viejo, California
>
> ----------------------------------------
>
> From: Chel van Gennip <chel@vangennip.nl>
> Subject: Re: MSS in a Multia
> Newsgroups: comp.os.linux.alpha
> Date: 1997/09/28
> Message-ID: <342E6484.56AAC946@vangennip.nl>
>
> Chel van Gennip wrote:
> [...]
> >
> > Homonnai Mihaly wrote:
> > >
> > > Chel van Gennip (cvgennip@hiscom.nl) wrote:
> > > : Homonnai Mihaly wrote:
> > >
> > > : > Daniel Tryba (muaddib@stack.nl) wrote:
> > ...
> > > : > The correct parameters are:
> > > : > ioport=0x530, IRQ=9, DMA=3
> > ..
> > > : These values work fine for sound output. I tried to do sound input but I
> > > : failed.Has anyone sound input on the UDB working?
> > >
> > > Try this
> > > cat /dev/dsp > test
> > > <talk into the microphone>
> > > cat test > /dev/dsp
> > > <listen>
> > > It should work IMHO
> ....
> [...]
> > #define MSS_DMA2 (-1)
>
> Just after I posted I found out the config file I posted
> was a 2.1.xx config file. In 2.0.30 the config file had no
> MSS_DMA2 line.
>
> So I tried to enable the second DMA, for a quick result I made
> a small change in drives/sound/ad1848.c I added in ad1848_init
> two lines:
> void
> ad1848_init (char *name, int io_base, int irq, int dma_playback, int
> dma_capture, int share_dma, int *osp)
> {
> /*
> * NOTE! If irq < 0, there is another driver which has allocated the
> IRQ
> * so that this driver doesn't need to allocate/deallocate it.
> * The actually used IRQ is ABS(irq).
> */
>
>
> int my_dev;
> char dev_name[100];
>
> ad1848_info *devc = &dev_info[nr_ad1848_devs];
>
> int audio_flags = DMA_AUTOMODE;
>
> /*chel*/
> dma_playback=3;
> dma_capture=1;
>
> This solved the problem, so the settings for Multia sound should
> be:
>
> ioport=0x530, IRQ=9, DMA=3 DMA2=1
>
> Chel
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1998-03-24 15:17 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-19 4:10 2.0.33 sound errors Tad Grosvenor
1998-03-19 4:25 ` Christopher Curtis
1998-03-19 6:45 ` Robert-Velisav MICIOVICI
1998-03-19 15:41 ` Cornelius Creedon
1998-03-19 18:18 ` Paul Chapman
1998-03-20 4:16 ` Rui-Tao Dong ~{6-HpLN~}
1998-03-20 4:32 ` Cornelius Creedon
1998-03-20 5:22 ` Rui-Tao Dong ~{6-HpLN~}
1998-03-24 15:19 ` Cornelius Creedon
1998-03-20 2:36 ` Tad Grosvenor
1998-03-20 2:48 ` Cornelius Creedon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox