Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RH5.1 - Compile kernel on UDB
@ 1998-06-17 23:18 Thompson Freeman
  1998-06-19  2:48 ` Cornelius Creedon
  0 siblings, 1 reply; 6+ messages in thread
From: Thompson Freeman @ 1998-06-17 23:18 UTC (permalink / raw)
  To: axp-list

I looked in the archives, and errata, but if the answer is in either
location I didn't recognize it.

Now that I have 5.1 loaded onto my UDB, I'd like to reactivate  sound,
which appears to require recompiling the kernel. I've done so in the past
on 4.2, but I'm not a programmer, so I get into difficulties quickly. In
this case, I get a kernel which will not boot. I get a hard hang _before_
any of the various messages get emitted (a dmesg length of zero (0)).

Frankly, I'm a bit baffled on what to do next, and would appreciate some
guidance.

Thank you in advance.

---------------------------------------------------
Thompson Freeman

Free Wisdom!! Bring your own bucket and shovel!
---------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RH5.1 - Compile kernel on UDB
  1998-06-17 23:18 RH5.1 - Compile kernel on UDB Thompson Freeman
@ 1998-06-19  2:48 ` Cornelius Creedon
  1998-06-19  3:06   ` Paul Tomblin
  1998-06-20 14:55   ` Thompson Freeman
  0 siblings, 2 replies; 6+ messages in thread
From: Cornelius Creedon @ 1998-06-19  2:48 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1338 bytes --]


after the usual 'make config' 'make dep' make clean' you have to do
make boot
is this what you used?
i will assume you have gotten and applied kernel patches as necessary.
also, there is an additional patch i needed the last time i compiled
(2.0.33) for the sound driver to compile successfully.
attached is a copy of the post to this list with the patch.

-cc

On Wed, 17 Jun 1998, Thompson Freeman wrote:

> I looked in the archives, and errata, but if the answer is in either
> location I didn't recognize it.
> 
> Now that I have 5.1 loaded onto my UDB, I'd like to reactivate  sound,
> which appears to require recompiling the kernel. I've done so in the past
> on 4.2, but I'm not a programmer, so I get into difficulties quickly. In
> this case, I get a kernel which will not boot. I get a hard hang _before_
> any of the various messages get emitted (a dmesg length of zero (0)).
> 
> Frankly, I'm a bit baffled on what to do next, and would appreciate some
> guidance.
> 
> Thank you in advance.
> 
> ---------------------------------------------------
> Thompson Freeman
> 
> Free Wisdom!! Bring your own bucket and shovel!
> ---------------------------------------------------
> 
> -- 
> 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
> 

[-- Attachment #2: Type: TEXT/PLAIN, Size: 2720 bytes --]


From rdong@internetMCI.com Wed Apr 29 18:37:58 1998
Date: 19 Mar 1998 21:22:47 -0800
From: Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>
Reply-To: axp-list@redhat.com
To: axp-list@redhat.com
Subject: Re: 2.0.33 sound errors
Resent-Date: 20 Mar 1998 05:16:15 -0000
Resent-From: axp-list@redhat.com
Resent-cc: recipient list not shown: ;


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


-- 
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] 6+ messages in thread

* Re: RH5.1 - Compile kernel on UDB
  1998-06-19  2:48 ` Cornelius Creedon
@ 1998-06-19  3:06   ` Paul Tomblin
  1998-06-19  3:22     ` Cornelius Creedon
  1998-06-20 14:55   ` Thompson Freeman
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Tomblin @ 1998-06-19  3:06 UTC (permalink / raw)
  To: axp-list

Quoting Cornelius Creedon (neil@box1.staller.sunysb.edu):
> 
> after the usual 'make config' 'make dep' make clean' you have to do
> make boot

I also have to copy the vmlinuz.gz file from
/usr/src/linux/alpha/boot/vmlinuz.gz to /vmlinuz.gz

Also, you might want to use "make xconfig" or "make menuconfig" instead of
"make config".  It's easier than answering all those questions every time,
especially if you're just changing one or two things.

-- 
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RH5.1 - Compile kernel on UDB
  1998-06-19  3:06   ` Paul Tomblin
@ 1998-06-19  3:22     ` Cornelius Creedon
  1998-06-19  3:29       ` Paul Tomblin
  0 siblings, 1 reply; 6+ messages in thread
From: Cornelius Creedon @ 1998-06-19  3:22 UTC (permalink / raw)
  To: axp-list


On Thu, 18 Jun 1998, Paul Tomblin wrote:

> Quoting Cornelius Creedon (neil@box1.staller.sunysb.edu):
> > 
> > after the usual 'make config' 'make dep' make clean' you have to do
> > make boot
> 
> I also have to copy the vmlinuz.gz file from
> /usr/src/linux/alpha/boot/vmlinuz.gz to /vmlinuz.gz

of course, or to wherever you tell the boot loader to get it from...
;)

> Also, you might want to use "make xconfig" or "make menuconfig" instead of
> "make config".  It's easier than answering all those questions every time,
> especially if you're just changing one or two things.

in the past people have reported problems with both xconfig and
menuconfig on the alpha, so i suggested plain vanilla config as the tried
and true reliable option...

-cc

> -- 
> Paul Tomblin, ptomblin@xcski.com.
> "The day Microsoft makes something that doesn't suck is probably the day they
> start making vacuum cleaners" - Ernst Jan Plugge
> 
> -- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RH5.1 - Compile kernel on UDB
  1998-06-19  3:22     ` Cornelius Creedon
@ 1998-06-19  3:29       ` Paul Tomblin
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Tomblin @ 1998-06-19  3:29 UTC (permalink / raw)
  To: axp-list

Quoting Cornelius Creedon (neil@box1.staller.sunysb.edu):
> On Thu, 18 Jun 1998, Paul Tomblin wrote:
> 
> > Quoting Cornelius Creedon (neil@box1.staller.sunysb.edu):
> > > 
> > > after the usual 'make config' 'make dep' make clean' you have to do
> > > make boot
> > 
> > I also have to copy the vmlinuz.gz file from
> > /usr/src/linux/alpha/boot/vmlinuz.gz to /vmlinuz.gz
> 
> of course, or to wherever you tell the boot loader to get it from...
> ;)

Oh, I also have to "make modules; make modules_install", because I have a few
things as modules.

> 
> > Also, you might want to use "make xconfig" or "make menuconfig" instead of
> > "make config".  It's easier than answering all those questions every time,
> > especially if you're just changing one or two things.
> 
> in the past people have reported problems with both xconfig and
> menuconfig on the alpha, so i suggested plain vanilla config as the tried
> and true reliable option...

Really?  What sort of problems?  I've never had any problems.  Although I must
admit that my *first* make on alpha, I did a full "make config" and I've only
used "make xconfig" since that.  So maybe whatever is wrong with the "easy"
configurations just misses or skips entries that I already had configured
correctly.

When I get a new kernel, I copy the .config file off from my old kernel, so
the basic configuration is still in place.

-- 
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RH5.1 - Compile kernel on UDB
  1998-06-19  2:48 ` Cornelius Creedon
  1998-06-19  3:06   ` Paul Tomblin
@ 1998-06-20 14:55   ` Thompson Freeman
  1 sibling, 0 replies; 6+ messages in thread
From: Thompson Freeman @ 1998-06-20 14:55 UTC (permalink / raw)
  To: axp-list


I _knew_ I had seen something on this, even if I wasn't recognizing it in
the archives! Thanks to you  and thanks to the list!

On Thu, 18 Jun 1998, Cornelius Creedon wrote:

> 
> after the usual 'make config' 'make dep' make clean' you have to do
> make boot
> is this what you used?
> i will assume you have gotten and applied kernel patches as necessary.
> also, there is an additional patch i needed the last time i compiled
> (2.0.33) for the sound driver to compile successfully.
> attached is a copy of the post to this list with the patch.
> 
> -cc
> 
> On Wed, 17 Jun 1998, Thompson Freeman wrote:
> 
> > I looked in the archives, and errata, but if the answer is in either
> > location I didn't recognize it.
> > 
> > Now that I have 5.1 loaded onto my UDB, I'd like to reactivate  sound,
> > which appears to require recompiling the kernel. I've done so in the past
> > on 4.2, but I'm not a programmer, so I get into difficulties quickly. In
> > this case, I get a kernel which will not boot. I get a hard hang _before_
> > any of the various messages get emitted (a dmesg length of zero (0)).
> > 
> > Frankly, I'm a bit baffled on what to do next, and would appreciate some
> > guidance.
> > 
> > Thank you in advance.
> > 
> > ---------------------------------------------------
> > Thompson Freeman
> > 
> > Free Wisdom!! Bring your own bucket and shovel!
> > ---------------------------------------------------
> > 
> > -- 
> > 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
> > 
> 

---------------------------------------------------
Thompson Freeman

Free Wisdom!! Bring your own bucket and shovel!
---------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-06-20 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-17 23:18 RH5.1 - Compile kernel on UDB Thompson Freeman
1998-06-19  2:48 ` Cornelius Creedon
1998-06-19  3:06   ` Paul Tomblin
1998-06-19  3:22     ` Cornelius Creedon
1998-06-19  3:29       ` Paul Tomblin
1998-06-20 14:55   ` Thompson Freeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox