Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* MILO 2.0.30 compilation
@ 1997-09-26 22:07 Ivan Passos
  0 siblings, 0 replies; 4+ messages in thread
From: Ivan Passos @ 1997-09-26 22:07 UTC (permalink / raw)


Hi,

I'm trying to compile MILO against a Linux kernel 2.0.30 on a Alpha 
PC164 and I'm having some problems.

What I did:

1) Downloaded the milo-2.0.30.tar.gz from gatekeeper.dec.com.
2) Untarred it to /usr/local/alpha/milo/2.0.30/src .
3) Run 'make KSRC=/usr/src/linux config':

[root@alpha src]# make KSRC=/usr/src/linux config
/bin/sh Configure config.in
*
* Alpha Linux Miniloader setup
*
Echo output to the serial port (MINI_SERIAL_ECHO) [y]
Use Digitals BIOS emulation code (not free) (MINI_DIGITAL_BIOSEMU) [n]
Is this an LX164 (CONFIG_ALPHA_LX164) [n]
Build PALcode from sources (Warning this is dangerous)
(MINI_BUILD_PALCODE_FROM_
SOURCES) [n]

The Alpha Linux Miniloader is now hopefully configured for your setup.

[root@alpha src]#

4) Run 'make KSRC=/usr/src/linux':

[root@alpha src]# make KSRC=/usr/src/linux
ld -non_shared -N  -Ttext 0xfffffc0000d00000  \
head.o entry.o boot_main.o hwrpb.o cpu.o milo.o nvram.o zip/misc.o
zip/inflate.o zip/unzip.o memory.o env.o 28f008sa.o timer.o devices.o 
/usr/src/linux/kernel/softirq.o /usr/src/linux/arch/alpha/kernel/irq.o 
/usr/src/linux/init/version.o /usr/src/linux/drivers/block/block.a  
/usr/src/linux/kernel/resource.o /usr/src/linux/drivers/scsi/scsi.a 
video.o biosvga.o x86_sysenv.o tga.o kbd.o printf.o support.o uart.o  
/usr/src/linux/arch/alpha/kernel/cia.o  
/usr/src/linux/arch/alpha/kernel/bios32.o 
/usr/src/linux/drivers/pci/pci.a /usr/src/linux/arch/alpha/lib/lib.a 
/usr/src/linux/lib/lib.a 
/usr/src/linux/arch/alpha/lib/lib.ax86/libx86-milo.a 
/usr/src/linux/arch/alpha/lib/lib.a /usr/src/linux/lib/lib.a 
/usr/src/linux/arch/alpha/lib/lib.a fs/fs-milo.a \
-o milo.full.exe || \
        (rm -f milo.full.exe && exit 1)
fs/fs-milo.a(dos.o): In function `fill_block_list':
/usr/local/alpha/milo/2.0.30/milo-2.0.30/fs/dos.c:278: undefined 
reference to `malloc'
/usr/local/alpha/milo/2.0.30/milo-2.0.30/fs/dos.c:278: undefined 
reference to `malloc'
/usr/local/alpha/milo/2.0.30/milo-2.0.30/fs/dos.c:231: undefined 
reference to `malloc'
/usr/local/alpha/milo/2.0.30/milo-2.0.30/fs/dos.c:231: undefined 
reference to `malloc'
fs/fs-milo.a(dos.o): In function `msdos_search_root':
/usr/local/alpha/milo/2.0.30/milo-2.0.30/fs/dos.c:352: undefined 
reference to `malloc'
fs/fs-milo.a(dos.o):/usr/local/alpha/milo/2.0.30/milo-2.0.30/fs/dos.c:
352: more undefined references to `malloc' follow
make: *** [milo.full.exe] Error 1
[root@alpha src]#

Do I need some patch or something similar ????

Thanks in advance.

Regards,

-- 
*******************************************************************
Cyclades Corporation                   Tel.: (510)770-9727 ext. 202
Ivan Passos                       E-mail : mailto:ivan@cyclades.com
Software Engineer                     WWW : http://www.cyclades.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] 4+ messages in thread

* Re: MILO 2.0.30 compilation
@ 1997-09-27 12:15 Ka'Plaagh
  0 siblings, 0 replies; 4+ messages in thread
From: Ka'Plaagh @ 1997-09-27 12:15 UTC (permalink / raw)


Get the latest sources (milo-pre-2.0.31-3.tar.gz) and build these against 
kernel 2.0.30 plus Jay's/Jim's alpha patches

Dave

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

* MILO 2.0.30 compilation
@ 1998-04-07 13:35 Andrew Martin
  1998-04-09  0:28 ` Christian Worley
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Martin @ 1998-04-07 13:35 UTC (permalink / raw)
  To: axp-list

Hi

I am trying to compile MILO against a Linux kernel 2.0.30 on a Alpha 
PC164 500MHz and I am not getting very far

This is what I have done so far:=

1.. Downloaded the milo-2.0.30.tar.gz from gatekeeper.dec.com.
2.. used tar to extract it to /usr/src/linux/milo-2.0.30/
3.. Run 'make KSRC=/usr/src/linux config':

# make KSRC=/usr/src/linux config

*
* Alpha Linux Miniloader setup
*
Echo output to the serial port (MINI_SERIAL_ECHO) [y]
Use Digitals BIOS emulation code (not free) (MINI_DIGITAL_BIOSEMU) [n]
Is this an LX164 (CONFIG_ALPHA_LX164) [n]
Build PALcode from sources (Warning this is dangerous)
(MINI_BUILD_PALCODE_FROM_
SOURCES) [n]

The Alpha Linux Miniloader is now hopefully configured for your setup.

4.. Run 'make KSRC=/usr/src/linux':

This runs for about a minute and then returns with this error:

make: *** [milo.full.exe] Error 1

I have also downloaded the 'latest milo,milo-pre-2.0.31-3.tar.gz' from
dec and also returns with the same error.

All I want to do is build a kernal and milo that will support the DPT
SCSI controller.

Best regards,


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

* Re: MILO 2.0.30 compilation
  1998-04-07 13:35 MILO 2.0.30 compilation Andrew Martin
@ 1998-04-09  0:28 ` Christian Worley
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Worley @ 1998-04-09  0:28 UTC (permalink / raw)
  To: andrew.martin, axp-list@redhat.com

Andrew Martin wrote:
> I am trying to compile MILO against a Linux kernel 2.0.30 on a Alpha
> PC164 500MHz and I am not getting very far
> 

Which 2.0.30 are you running?  I know this sounds like a stupid
question, but both RH4.2 and 5.0 were based on 2.0.30.

You're better off with RH4.2, since the DEC vga bios emulator only
comes in library form, and is incompatible with the glibc in rh5.0.

It's OK to use rh5.0 too, "just say no" to the MINI_DIGITAL_BIOSEMU
prompt (and prey that the free bios emulator can find your graphics
adapter).

> This is what I have done so far:=
> 
> 1.. Downloaded the milo-2.0.30.tar.gz from gatekeeper.dec.com.

Mistake.  You need milo-sources-2.0.30-0.4.tar.gz.

This too is on gatekeeper (from this list, dated 3 Feb 98):

Jay Estabrook wrote:
> >>> Christian Worley said:
> > 
> > The RedHat 5.0 distribution does not include milo source, so I got it
> > from Gatekeeper (the 2.0.30 version of milo).  Anybody know what source
> > RedHat uses to build it's milo's?
> 
> Red Hat doesn't build the MILOs they include, we (DEC) do...
> 
> > I have had good luck building "milo" from RedHat 4.2., but I can't
> > reboot (as in "shutdown -r now") a RH5.0 kernel from the milo I built
> > with RH4.2 (but RedHat's 4.2 milo, off their CD, reboots a 5.0 kernel
> > just fine... so I'm sure my problems have been with me all along, and
> > I'm just not building milo correctly... and the instructions don't
> > include "how to configure your kernel for milo" before
> > configuring/building milo itself [I've tried to figure that out by trial
> > and error]).
> 
> Which MILO sources have you been using? The latest MILOs on RH 5.0 were built
> using the MILO sources and kernel patches as follows:
> 
>   gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels/alpha-patches-2.0.30-0.4.gz
>   gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels/milo-sources-2.0.30-0.4.tgz
> 

[Note: don't use the patch archive, they're already applied in the
source archive]

Look for other tidbits in the archive for this newsgroup from Jay. 
He's the guru on Milo.

Back to Andrew Martin quote:
> *
> * Alpha Linux Miniloader setup
> *
> Echo output to the serial port (MINI_SERIAL_ECHO) [y]

Always say "yes"... the only good way to debug milo is thru a serial
port (much happens before the monitor comes alive).

> Use Digitals BIOS emulation code (not free) (MINI_DIGITAL_BIOSEMU) [n]

Again, "No" if you're using RH5.0, yes otherwise.

> Is this an LX164 (CONFIG_ALPHA_LX164) [n]

My milo doesn't ask this question?  I'm a PC164 too, it gets that from
/usr/src/linux/.config.  Oh yea, I remember... the version you're
using doesn't differentiate a PC164... the version above will!

> Build PALcode from sources (Warning this is dangerous)
> (MINI_BUILD_PALCODE_FROM_
> SOURCES) [n]

Say "yes" for the version above.  Some of the palcode in the
distribution was incorrectly compiled or stale or something like that.

> This runs for about a minute and then returns with this error:
> 
> make: *** [milo.full.exe] Error 1

Around this point, a bunch of tools that are in the Milo package need
to be made.  I've found that sometimes I need to go manually build one
of their libraries first (somehow, a make file dependancy is missing).

Not enough output to tell what's happening... is this all you get? 
The last 50 lines might help see the error (if you're getting any
output at all).

> 
> I have also downloaded the 'latest milo,milo-pre-2.0.31-3.tar.gz' from
> dec and also returns with the same error.

Don't use that one either.

> 
> All I want to do is build a kernal and milo that will support the DPT
> SCSI controller.

Could you tell me how this goes?  I too am interested in this.  The
scsi portion shouldn't be a problem, although it adds a lot of bulk to
Milo.  Is there a loadable module for this driver (that you would load
upon boot, but does you no good if your kernel or root are across the
SCSI).

Chris
-- 
  When I die, please cast my ashes upon Bill Gates
   --for once, let him clean up after me!


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

end of thread, other threads:[~1998-04-09  0:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-07 13:35 MILO 2.0.30 compilation Andrew Martin
1998-04-09  0:28 ` Christian Worley
  -- strict thread matches above, loose matches on Subject: below --
1997-09-27 12:15 Ka'Plaagh
1997-09-26 22:07 Ivan Passos

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