Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: first linux/alpha questions
@ 1996-04-04  6:54 David Mosberger-Tang
  1996-04-04  8:03 ` Harald Koenig
  0 siblings, 1 reply; 11+ messages in thread
From: David Mosberger-Tang @ 1996-04-04  6:54 UTC (permalink / raw)


>>>>> On Wed, 3 Apr 1996 23:28:27 +0200 (MET DST), koenig@tat.physik.uni-tuebingen.de (Harald Koenig) said:

  Harald> - is it possible (using software) to find out there is a
  Harald> 21064 or 21164 CPU in a machine ?  /proc/cpuinfo for my
  Harald> XL266 only says

  Harald> 	cpu           : Alpha
  Harald>	cpu model     : Unknown
  Harald>	cpu variation : 0 cpu

The kernel prints whatever it finds in the so-called "hardware restart
parameter block".  That block is setup by the firmware (MILO, SRM, or
ARC) and is documented in the 2nd edition of the Alpha Architecture
reference manual.  MILO does not currently initialize the "cpu model"
field.  E.g., on my MILO-booted Cabrio at home I get "cpu model:
Unknown" but on the SRM-booted Cabrios at work I get "cpu model: EV45"
(which translates into 21064A).  Adding the missing code to MILO would
be trivial *provided* you know how to find out what CPU you're dealing
with (short of hardcoding it).  Neal, if you're listening: in the ev56
announcement I saw mention of an IMPLVERS instruction or some such
that allegedly allows to determine the CPU type (and/or its features).
Is this implemented in all CPUs and documented some place?  It would
be handy, occasionally.

	--david

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <Pine.LNX.3.91.960403165726.7085C-100000@elroy.redhat.com>]
* Re: first linux/alpha questions
@ 1996-04-04  7:50 Ka'plaagh 04-Apr-1996 0953 +0100
  1996-04-04 11:33 ` Matti E Aarnio
  0 siblings, 1 reply; 11+ messages in thread
From: Ka'plaagh 04-Apr-1996 0953 +0100 @ 1996-04-04  7:50 UTC (permalink / raw)


Milo doesn't initialise that much of the HWRPB, just enough to fool
linux (or to put it another way, to allow linux to tell what system
resources it should use).   I'm happy to add in more stuff so long
as I can deterministically find it out or hardcode it.   Folks are
welcome to send me patches to hwrpb.c.

As for generic linux kernels.   In the old days we had several
generic kernels (one per PCI/memory support chipset) and used the
HWRPB to differentiate between them.   This gave an overhead to
all interrupt handling (each interrupt causes some decision to
be made) but not much else apart from image size.   By the way, the
kernel is larger now than it was then but it's still not out of
hand.  I have been kicking around an idea which goes along the lines
of this:

Milo would load a system specific interrupt "module" into a known
	location,
This would handle all of the interrupt stuff, including request_irq
	and so on.   All this stuff is currently table driven and
	so there is no extra overhead to receiving interrupts, just
	to asking for them, disabling them and so on.   That would
	have to go through a jump table or some such.
This is not a burden for Milo - Milo _has_ to be system specific.  
	The result would be a set of system specific Milos and 3 or
	so "generic" kernels (21066, 21064+Apecs, 21164+Alcor, Jensen).

Now that I've done the PCI-PCI bridge support maybe I'll spend some
time on this...

Dave

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Upgrading to RPM 2.0
@ 1996-04-02 22:11 Matti E Aarnio
  1996-04-03 21:28 ` first linux/alpha questions Harald Koenig
  0 siblings, 1 reply; 11+ messages in thread
From: Matti E Aarnio @ 1996-04-02 22:11 UTC (permalink / raw)


>  Ok, how do you do it...
> 
>  Following the instructions in the README in the rpm/update directory just
> yealds 'error Package x is version 2, this RPM is version 1', at the first
> step. ( Upgrade the old rpm package ).

	ftp.redhat.com/pub/code/rpm/update/ ...

	I had this same problem, and asked tech-sup@redhat.com about it.
	I still think it is illogical not to have even a rpm.README at
	the 2.1/axp/update/ -directory...

> -- 
> Matthew Geier,                 | Australian Public Access Network Association
> matthew@sleeper.apana.org.au   | (+61) 2 588 4615 (Data) 587 9773   (voice)
> matthew@law.usyd.edu.au        | An APANA Sydney hub.    018 977356 (mobile)

	/Matti Aarnio <mea@utu.fi>

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

end of thread, other threads:[~1996-04-15  8:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-04  6:54 first linux/alpha questions David Mosberger-Tang
1996-04-04  8:03 ` Harald Koenig
     [not found] <Pine.LNX.3.91.960403165726.7085C-100000@elroy.redhat.com>
1996-04-04 10:10 ` Richard Henderson
1996-04-12 13:36 ` Harald Koenig
1996-04-15  8:36   ` Fred Roy
  -- strict thread matches above, loose matches on Subject: below --
1996-04-04  7:50 Ka'plaagh 04-Apr-1996 0953 +0100
1996-04-04 11:33 ` Matti E Aarnio
1996-04-02 22:11 Upgrading to RPM 2.0 Matti E Aarnio
1996-04-03 21:28 ` first linux/alpha questions Harald Koenig
1996-04-03 22:00   ` Erik Troan
1996-04-03 22:18   ` Thomas Bogendoerfer
1996-04-04  5:40     ` Linus Torvalds

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