* linux-2.1.125 on Alpha 164LX
@ 1998-10-10 23:31 Andreas Haumer
1998-10-14 3:09 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Haumer @ 1998-10-10 23:31 UTC (permalink / raw)
To: axp-list, linux-kernel
Hi!
This is just a short report about compiling and running
Linux-2.1.125 on a 164LX Alpha machine.
1.) There are several modules unconditionally using x86 assembler
statements (SCSI drivers like in2000, but others, too)
At these modules the compilation process of course fails.
In order to get a working kernel, I used a very minimalistic
configuration and excluded all those modules giving me compile
errors. I'll try to set up a list of all modules in the next
couple of days.
It would be fine if either these assembler statements could be
used on x86 systems only (providing alternatives on the other
architectures), or the whole module would be disabled on all
other architectures.
2.) In file "kernel/dma.c" there is now included the definition
and initialization of a variable called "dma_spin_lock"
Unfortunately the type of this variable (spinlock_t) and the
initialization value (SPIN_LOCK_UNLOCKED) is unknown, as the
appropriate header file is not included (neither directly nor
indirectly)
I added a "#include <asm/spinlock.h>" statement, and the file
compiled cleanly.
3.) In the theader file "asm/machvec.h", which is included by
"asm/io.h", the types u8, u16, u32 and u64 are used.
These types are declared in "asm/types.h", but unfortunately
only when __KERNEL__ is defined. So all application programs
using "asm/io.h" break, because these types are unknown (thats
the case with "sane", for instance)
Despite these problems I could compile and install 2.1.125, and it's
running for about 90 minutes now without problems.
regards
- andreas
--
Andreas Haumer | email: andreas@xss.co.at | PGP key available
*x Software + Systeme | phone: +43.1.6001508 | on request.
Buchengasse 67/8 | +43.664.3004449 |
A-1100 Vienna, Austria | fax: +43.1.6001507 | AH327-RIPE
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-2.1.125 on Alpha 164LX
1998-10-10 23:31 linux-2.1.125 on Alpha 164LX Andreas Haumer
@ 1998-10-14 3:09 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-14 4:22 ` B. James Phillippe
0 siblings, 1 reply; 6+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-10-14 3:09 UTC (permalink / raw)
To: axp-list
I want to give a quick status report on building kernel 1.2.125 on an
AVANTI-class machine (AlphaStation 200). Note that I'm compiling with
SMP=1. This is a stock kernel with no other patches applied.
1. Ran into the same problem as Andreas Haumer with
"kernel/dma.c"; had to add "#include <asm/spinlock.h>" (per
Andreas' suggestion) to get it to compile.
2. NO_PROC_IDE in include/asm/hardirq.h doesn't get defined
when compiling an SMP-capable kernel. I had to add
"#include <asm/smp.h>" to the SMP-specific section of the
file.
3. arch/alpha/kernel/irq.c makes egcs-1.0.2-1 exit with an
internal error ("unrecognizable insn: (jump_insn 81 80 82
(return) -1 (nil) (nil))"). Neither egcs-1.1b-2 nor
gcc-2.7.2.3-8 exhibited this problem.
4. aboot (I boot from SRM) refused to boot any kernel
generated with binutils-2.9.1.0.6-1, complaining about too
small a block size (or something like that). Backing down
to binutils-2.8.1.0.1-1 made aboot happy.
I don't know if MILO has any issues with the new binutils.
I attempted to rebuild aboot from RedHat's SRPM, but aboot
must have some "issues" with egcs or something. (I
couldn't get it to build and didn't have time to hack the
spec file to make it use gcc.)
The kernel has been running fine all day, although I must say that the
demands I put on this machine are modest (it's a small file server).
(X crashes occasionally (e.g. when playing xquake), but it's been a
problem since May (and I don't believe it is kernel related anyway).)
(P.S. If anyone has any suggestions for maintaining two copies of
binutils, please email me. I'd like to have both the stable and
development toolchains available, if possible. The compilers co-exist
peacefully; it would be nice if I could get binutils to do the same.)
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-2.1.125 on Alpha 164LX
1998-10-14 3:09 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-10-14 4:22 ` B. James Phillippe
1998-10-15 2:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
0 siblings, 1 reply; 6+ messages in thread
From: B. James Phillippe @ 1998-10-14 4:22 UTC (permalink / raw)
To: axp-list
On 13 Oct 1998, His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated wrote:
> I want to give a quick status report on building kernel 1.2.125 on an
> AVANTI-class machine (AlphaStation 200). Note that I'm compiling with
...
> 4. aboot (I boot from SRM) refused to boot any kernel
> generated with binutils-2.9.1.0.6-1, complaining about too
> small a block size (or something like that). Backing down
> to binutils-2.8.1.0.1-1 made aboot happy.
...
> (P.S. If anyone has any suggestions for maintaining two copies of
> binutils, please email me. I'd like to have both the stable and
> development toolchains available, if possible. The compilers co-exist
> peacefully; it would be nice if I could get binutils to do the same.)
Maciej Rozycki posted a patch to this list a while ago, and the URL has
been posted a couple times since. This will allow aboot to boot 2.0 and
2.1 kernels, built with the latest binutils. At least, I'm booting 2.0.35
and 2.1.124 built with egcs-1.1 & binutils-2.9.1.0.13.
ftp://ftp.amg.gda.pl/pub/OS/Linux/people/macro/SRPMS.glibc21/aboot-0.5-6.src.rpm
I've even put a precompiled glibc-2.0 binary RPM of those sources on
ftp://ftp.terran.org/pub/RPMS/alpha-glibc.
cheers,
-bp
--
B. James Phillippe . bryan@terran.org
UNIX Software Engineer . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
MOTM: Waiting for the DSL to go in :)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-2.1.125 on Alpha 164LX
1998-10-14 4:22 ` B. James Phillippe
@ 1998-10-15 2:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 11:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 22:15 ` Richard Henderson
0 siblings, 2 replies; 6+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-10-15 2:12 UTC (permalink / raw)
To: axp-list
>>>>> "BJP" == B James Phillippe <bryan@terran.org> writes:
BJP> Maciej Rozycki posted a patch to this list a while ago, and
BJP> the URL has been posted a couple times since. This will
BJP> allow aboot to boot 2.0 and kernels, built with the latest
BJP> binutils. At least, I'm booting 2.0.35 and 2.1.124 built
BJP> with egcs-1.1 & binutils-2.9.1.0.13.
Yay! Booted up 2.1.125 (SMP target compiled with egcs-1.1 and
binutils-2.9.1.0.6), as desired. Except it hung right after the
"Console: colour VGA+ 80x25" message. Oh well, I'm in the process of
recompiling it with gcc-2.7.2.3-8, so we'll see what happens.
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-2.1.125 on Alpha 164LX
1998-10-15 2:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-10-15 11:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 22:15 ` Richard Henderson
1 sibling, 0 replies; 6+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-10-15 11:12 UTC (permalink / raw)
To: axp-list
>>>>> "XF" == me:
XF> Yay! Booted up 2.1.125 (SMP target compiled with egcs-1.1 and
XF> binutils-2.9.1.0.6), as desired. Except it hung right after
XF> the "Console: colour VGA+ 80x25" message. Oh well, I'm in the
XF> process of recompiling it with gcc-2.7.2.3-8, so we'll see
XF> what happens.
Yup, it booted up fine (been running it all night w/out a hitch). Odd...
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-2.1.125 on Alpha 164LX
1998-10-15 2:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 11:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-10-15 22:15 ` Richard Henderson
1 sibling, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1998-10-15 22:15 UTC (permalink / raw)
To: axp-list
> Yay! Booted up 2.1.125 (SMP target compiled with egcs-1.1 and
> binutils-2.9.1.0.6), as desired. Except it hung right after the
> "Console: colour VGA+ 80x25" message. Oh well, I'm in the process of
> recompiling it with gcc-2.7.2.3-8, so we'll see what happens.
There was a bug in egcs 1.1 that affected the SMP kernel.
r~
Sat Sep 5 21:46:47 1998 Richard Henderson <rth@cygnus.com>
* alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
not whatever we're generating now.
Index: config/alpha/alpha.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/alpha/alpha.c,v
retrieving revision 1.53
retrieving revision 1.53.2.1
diff -u -p -r1.53 -r1.53.2.1
--- alpha.c 1998/07/06 23:32:38 1.53
+++ alpha.c 1998/09/05 21:32:20 1.53.2.1
@@ -2468,6 +2468,8 @@ alpha_return_addr (count, frame)
static int
alpha_ra_ever_killed ()
{
+ rtx top;
+
#ifdef ASM_OUTPUT_MI_THUNK
if (current_function_is_thunk)
return 0;
@@ -2475,8 +2477,11 @@ alpha_ra_ever_killed ()
if (!alpha_return_addr_rtx)
return regs_ever_live[REG_RA];
- return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA),
- get_insns(), NULL_RTX);
+ push_topmost_sequence ();
+ top = get_insns();
+ pop_topmost_sequence ();
+
+ return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA), top, NULL_RTX);
}
\f
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-10-15 22:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-10 23:31 linux-2.1.125 on Alpha 164LX Andreas Haumer
1998-10-14 3:09 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-14 4:22 ` B. James Phillippe
1998-10-15 2:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 11:12 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-15 22:15 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox