From: Jay A Estabrook <Jay.Estabrook@digital.com>
Subject: Re: Compiling Milo for kernel 2.0.35
Date: 1998/10/25 [thread overview]
Message-ID: <36329E03.3F54@digital.com> (raw)
In-Reply-To: 363209CB.B0FAA49E@foo.com
Tom Flynn wrote:
>
> Having recently installed RedHat alpha 5.1 and having some trouble
> with unaligned traps, I'm trying to get a consistant MILO and kernel
> build.
How do you expect this is going to solve the problem? Anyone using
the 2.1.xx kernels is using a MILO built from 2.0.xx sources. Kernel
version and MILO version do not have to match for booting, only
for *building*.
I assume the traps coming from the kernel; do they happen a lot, or
just a few times using specific utilities, like mounting a DOS FS?
You can check the frequency by looking at the appropriate lines in
/proc/cpuinfo, or by looking at /var/log/messages, of course... ;-}
There was a known problem with older versions of the tulip.c driver
of Donald Becker, but those have been fixed for a while. You can grab
the latest version off his website:
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
> So I rebuilt the
> 2.0.35 kernel that comes with 5.1, then grabbed the Milo source from
> dec.com, but they dont have a source for 2.0.35, so I tried Milo for
> 2.0.30. When compiling I get errors for:
> undefined reference to '__constant_c_memset'
> and if I push past this...
> conflicting types for block_read
> conflicting types for block_write
The undefined reference is because of using an older EGCS, I believe?
The conflicting types are because you mismatched the kernel and MILO
sources.
> The same errors crop up when I try to compile the sources for milo
> 2.1.13 which is the next available version.
NO! Didn't you look at the date on those 2.1.13 MILO sources? They're
nearly two years old! Way out of date, and they didn't work even then!
There are NO MILO sources, AFAIK, that use the 2.1.xx kernels
and build working MILOs.
> has anyone recently had luck compiling milo agaisnt their kernel, or
> is everyone using the "standard" precompiled milos with success?
Well, I do it all the time, and so do a few of the Debian folk; but
it's not for the faint of heart because of some issues that arise
with certain components of the build. I like to include the DEC BIOS
emulator when I build MILOs, but that currently links only under the
Red Hat 4.2 compilation system (glibc-1 and gcc 2.7.2.3). The Debian
people have come up with MILOs that don't use any emulator at all; this
will build under most Alpha installations today, but it requires the
console VGA mode to be fairly close to standard 25x80 text mode, as
it attempts to set up the VGA by banging its registers instead of
running the BIOS code that usually does this. Unfortunately, this
technique does not work on all the platforms.
Now, the milo-sources-2.0.30-0.4.tar.gz are intended to go along with
the alpha-patches-2.0.30-0.4.tar.gz (applied to pristine 2.0.30). If
you mismatch the kernel sources with the MILO sources, you may get
some of those mismatched argument type errors.
Note that these sources and patches are to be found on
gatekeeper.dec.com in:
/pub/DEC/Linux-Alpha/Kernels/
and NOT in the Miniloader/ directory, which, sadly, is out of date;
the docs in there are still useful, though also dated.
I expect to have some new MILO sources to go along with 2.0.35 sources
in the near future. However, I haven't yet solved the BIOS emulator
problems, so one may still need to build under old compilers.
--Jay++
prev parent reply other threads:[~1998-10-25 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-24 4:00 Compiling Milo for kernel 2.0.35 Tom Flynn
1998-10-24 4:00 ` Kevin Buesing
1998-10-25 4:00 ` Jay A Estabrook [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox