Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Modules on the Alpha
@ 1998-06-11  4:16 Brian E.W. Wood
  1998-06-11  6:32 ` Richard Henderson
  1998-06-11  7:02 ` Joakim Roubert
  0 siblings, 2 replies; 14+ messages in thread
From: Brian E.W. Wood @ 1998-06-11  4:16 UTC (permalink / raw)
  To: axp-list


I run Linux on a couple Alphas and a Sparc. The recent Expo made me realize
that Linux development for the Intel platform appears far ahead of that for the
"exotics".

When I got home I bought an (Intel) notebook and installed Linux on it, in order
to be able to play with the Intel version of Linux. The kernel was virtually
completely modularized and worked very well, and the pcmcia support also seemed
far advanced from when I played with it on a UDB with the first Craftworks AXP
release (ie: it actually worked).

What is the status of loadable module support on the alpha platform? Does it
exist in the 5.1 release?

If not, are there any fundamental problems preventing it? Could a
marginally-competent Alpha user like me help make it happen?

It seems to me that the RH distributions are diverging more and more (with the
Sparc really falling behind). I'd like to see them become closer and not
farther away from each other.

Considering that Linus mentioned the Alpha when asked about his favorite
platform, I'd really like to see it catch up with the Intel stuff, both with the
free and the commercial apps.

Just my $0.02, and I'm *still* looking for a good Word Processor for my Alpha
machines :-)

---
Brian E.W. Wood  beww@intac.com


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

* Re: Modules on the Alpha
  1998-06-11  4:16 Brian E.W. Wood
@ 1998-06-11  6:32 ` Richard Henderson
  1998-06-11  7:02 ` Joakim Roubert
  1 sibling, 0 replies; 14+ messages in thread
From: Richard Henderson @ 1998-06-11  6:32 UTC (permalink / raw)
  To: beww, axp-list

On Thu, Jun 11, 1998 at 12:16:41AM -0400, Brian E.W. Wood wrote:
> What is the status of loadable module support on the alpha platform? Does it
> exist in the 5.1 release?

Modules have existed and have worked on Alpha for about about
a year and a half.  Where've you been?


r~


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

* Re: Modules on the Alpha
  1998-06-11  4:16 Brian E.W. Wood
  1998-06-11  6:32 ` Richard Henderson
@ 1998-06-11  7:02 ` Joakim Roubert
  1 sibling, 0 replies; 14+ messages in thread
From: Joakim Roubert @ 1998-06-11  7:02 UTC (permalink / raw)
  To: Brian E.W. Wood; +Cc: axp-list

On Thu, 11 Jun 1998, Brian E.W. Wood wrote:

> What is the status of loadable module support on the alpha platform? 

I use modules with 2.0.33 and RH 5.0, and it works allright.

/Jokke tmw.
---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)


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

* Re: Modules on the Alpha
@ 1998-06-11 13:41 Greg Lindahl
  1998-06-11 14:22 ` Brian E.W. Wood
  1998-06-12  8:18 ` Quant-X Alpha Linux Support
  0 siblings, 2 replies; 14+ messages in thread
From: Greg Lindahl @ 1998-06-11 13:41 UTC (permalink / raw)
  To: beww; +Cc: axp-list

> What is the status of loadable module support on the alpha platform? Does it
> exist in the 5.1 release?
> 
> If not, are there any fundamental problems preventing it? Could a
> marginally-competent Alpha user like me help make it happen?

I'm using modules with Alpha RH 4.2 -- I did have to get different
lsmod/rmmod/insmod binaries, but the kernels (2.0.30+) support it.
Personally, I don't see much win for the average user; it is kind of
useful for weird hardware and driver developers, but my 100+ boxes
have no modules loaded. Too bad processor support isn't a module, I
have to build separate kernels for PC164 and PC164LX (although perhaps
PC164 config would work with the LX, I haven't tested.)

> Considering that Linus mentioned the Alpha when asked about his
> favorite platform, I'd really like to see it catch up with the Intel
> stuff, both with the free and the commercial apps.

The apps are an issue, we don't even have access to all the rpms, for
example the Extreme Linux rpms. I have a summer student who's going to
start building those for alphas. Maybe we could recruit a group of
enthusiasts who would volunteer to compile rpms for alpha, to help out
folks who only own x86 boxes?

-- g


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

* Re: Modules on the Alpha
       [not found] <357F6DD1.DB201ACE@paralleldata.com>
@ 1998-06-11 14:22 ` Brian E.W. Wood
  0 siblings, 0 replies; 14+ messages in thread
From: Brian E.W. Wood @ 1998-06-11 14:22 UTC (permalink / raw)
  To: Wes Bauske, axp-list


On 11-Jun-98 Wes Bauske wrote:
> 
> Don't know what you've been using but modules work
> in RH5.0, right off the CD. It was a problem in RH4.2
> and you had to do some things to get it working but
> I'm running the tulip.o and st.o modules on my PC164LX
> right now. I have tulip.o running on my PC164. I'm
> sure others have done more with it than I have. 

Well I based my remarks on the statement in the RedHat 5.1 manual which says:

"Only RHL Intel and RHL Sparc support modular kernels. RHL Alpha users must
build a monolithic kernel."

This seemed pretty definitive, sounds like it's not?

Maybe they are referring to the use of kerneld to load modules? Does kerneld
work on the Alpha?

> 
> I thought Craftworks Died. Haven't been able to
> access www.craftwork.com for maybe 6 months.
> I'm sure Debian also supports modules on Alpha.
> In fact, they are about to fix up milo which
> should be interesting.


I don't know the status of Craftworks. I think it was close to two years ago
when I played with their release on a UDB. It seemed that their main code guy
(Mauro something?) left and they sort of went downhill.
> 
> I use both Intel and Alpha and see little difference
> between their configurations. Mostly Intel supports
> more diverse HW. The reason for that being that
> Intel is 32 bit and writing 64bit clean code is
> harder to do, particularly separating ints/pointers.
> Lot's of bad assumptions in the code on Intel.
> The problem isn't Alpha, it's bad code.
> When Merced comes along, Intel will have all sorts
> of problems too. Course Intel keeps slipping the
> date so who knows when that will happen.

Maybe they're just waiting for the Alpha users to fix all the code so they can
jump in and take advantage/ :-)


---
Brian E.W. Wood  beww@intac.com


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

* Re: Modules on the Alpha
  1998-06-11 13:41 Greg Lindahl
@ 1998-06-11 14:22 ` Brian E.W. Wood
  1998-06-12  8:18 ` Quant-X Alpha Linux Support
  1 sibling, 0 replies; 14+ messages in thread
From: Brian E.W. Wood @ 1998-06-11 14:22 UTC (permalink / raw)
  To: axp-list


On 11-Jun-98 Greg Lindahl wrote:
> 
> I'm using modules with Alpha RH 4.2 -- I did have to get different
> lsmod/rmmod/insmod binaries, but the kernels (2.0.30+) support it.
> Personally, I don't see much win for the average user; it is kind of
> useful for weird hardware and driver developers, but my 100+ boxes
> have no modules loaded. Too bad processor support isn't a module, I
> have to build separate kernels for PC164 and PC164LX (although perhaps
> PC164 config would work with the LX, I haven't tested.)

The main advantage I see is for devices which use the parallel port (Zips,
Xircom adapters). It is a real pain to have to load one kernel to print and
another to use a parallel port Zip drive (I know, get a scsi Zip).

> 
>> Considering that Linus mentioned the Alpha when asked about his
>> favorite platform, I'd really like to see it catch up with the Intel
>> stuff, both with the free and the commercial apps.
> 
> The apps are an issue, we don't even have access to all the rpms, for
> example the Extreme Linux rpms. I have a summer student who's going to
> start building those for alphas. Maybe we could recruit a group of
> enthusiasts who would volunteer to compile rpms for alpha, to help out
> folks who only own x86 boxes?

At least two vendors are selling (and supporting) Alpha Beowolf clusters
(sorry, I still like that name better) so it would appear that the code is
available. I don't mind compiling source if I can get it but there is a lot of
stuff for which you can't get an Alpha binary *or* source code.

I read someplace that 10% of the Linux systems in the world are running on
Alphas. If this is correct it would seem that outfits like Applix, Star Office,
Caldera etc. would find it worth their while to support the platform.

---
Brian E.W. Wood  beww@intac.com


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

* Re: Modules on the Alpha
@ 1998-06-11 14:34 Greg Lindahl
  0 siblings, 0 replies; 14+ messages in thread
From: Greg Lindahl @ 1998-06-11 14:34 UTC (permalink / raw)
  To: beww; +Cc: axp-list

> The main advantage I see is for devices which use the parallel port (Zips,
> Xircom adapters). It is a real pain to have to load one kernel to print and
> another to use a parallel port Zip drive (I know, get a scsi Zip).

That's what I mean by "weird hardware" ;-)

> At least two vendors are selling (and supporting) Alpha Beowolf clusters
> (sorry, I still like that name better) so it would appear that the code is
> available.

I don't believe rpms are out there. I've compiled mpich etc. myself.

> I don't mind compiling source if I can get it

But you shouldn't have to.

-- g


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

* Re: Modules on the Alpha
  1998-06-12 14:18 Modules on the Alpha Greg Lindahl
@ 1998-06-12  6:19 ` Jay.Estabrook
  1998-06-12 14:29 ` Christopher Curtis
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 14+ messages in thread
From: Jay.Estabrook @ 1998-06-12  6:19 UTC (permalink / raw)
  To: axp-list


>>> Greg Lindahl said:
> > > have no modules loaded. Too bad processor support isn't a module, I
> > > have to build separate kernels for PC164 and PC164LX (although perhaps
> > 
> > Hmm, processor support can't be a module. Initialization is needed
> > too early, and something like a kernel side 'request_module("pyxis")' 
> > requires a mounted root-filesystem and kerneld running.
> 
> Even if it can't be a module, it would still be handy. Basically you
> would have to split out processor support and have it picked at
> run-time by a command-line argument to the kernel...
> 
> Under SunOS this was very handy; I could make one kernel and use it on
> a huge variety of machines. Most modern Unixes auto-detect the
> hardware type.

A few comments here, from someone who has done "generic" kernel work (I was
in the Digital UNIX group for 3 years), and who is contemplating it again
for LINUX:

1. autodetection of hardware isn't always that easy; even the CPU "registers"
   aren't always in the same place. Yes, this is what "amask" and "implver"
   are supposed to help with, but there's more to it than that.

2. DU depends on SRM console setting up the a certain data structure (HWRPB)
   which contains much critical information; the latest MILOs now do
   a much better job, making it possible to contemplate "generic" kernels
   booted from ARC/AlphaBIOS.

3. have you seen what it *costs*? DU's genvmunix was over 11Mb, last I looked.
   yes, that's largely drivers, but there's a *lot* of machine-specific code
   in there, too... :-\

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Motherboards - LINUX Project
Digital Equipment Corp.                 (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545  Jay.Estabrook@digital.com
-------------------------------------------------------------------------------



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

* Re: Modules on the Alpha
  1998-06-11 13:41 Greg Lindahl
  1998-06-11 14:22 ` Brian E.W. Wood
@ 1998-06-12  8:18 ` Quant-X Alpha Linux Support
  1 sibling, 0 replies; 14+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-06-12  8:18 UTC (permalink / raw)
  To: axp-list; +Cc: beww

Hi Greg !

> have no modules loaded. Too bad processor support isn't a module, I
> have to build separate kernels for PC164 and PC164LX (although perhaps

Hmm, processor support can't be a module. Initialization is needed
too early, and something like a kernel side 'request_module("pyxis")' 
requires a mounted root-filesystem and kerneld running.

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


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

* Re: Modules on the Alpha
@ 1998-06-12 14:18 Greg Lindahl
  1998-06-12  6:19 ` Jay.Estabrook
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Greg Lindahl @ 1998-06-12 14:18 UTC (permalink / raw)
  To: Quant-X Alpha Linux Support; +Cc: axp-list

> > have no modules loaded. Too bad processor support isn't a module, I
> > have to build separate kernels for PC164 and PC164LX (although perhaps
> 
> Hmm, processor support can't be a module. Initialization is needed
> too early, and something like a kernel side 'request_module("pyxis")' 
> requires a mounted root-filesystem and kerneld running.

Even if it can't be a module, it would still be handy. Basically you
would have to split out processor support and have it picked at
run-time by a command-line argument to the kernel...

Under SunOS this was very handy; I could make one kernel and use it on
a huge variety of machines. Most modern Unixes auto-detect the
hardware type.

-- g


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

* Re: Modules on the Alpha
  1998-06-12 14:18 Modules on the Alpha Greg Lindahl
  1998-06-12  6:19 ` Jay.Estabrook
@ 1998-06-12 14:29 ` Christopher Curtis
  1998-06-12 15:08 ` Alvin Starr
  1998-06-12 15:23 ` Richard Henderson
  3 siblings, 0 replies; 14+ messages in thread
From: Christopher Curtis @ 1998-06-12 14:29 UTC (permalink / raw)
  To: axp-list

On Fri, 12 Jun 1998, Greg Lindahl wrote:

> > > have no modules loaded. Too bad processor support isn't a module, I
> > > have to build separate kernels for PC164 and PC164LX (although perhaps
> > 
> > Hmm, processor support can't be a module. Initialization is needed
> > too early, and something like a kernel side 'request_module("pyxis")' 
> > requires a mounted root-filesystem and kerneld running.
> 
> Even if it can't be a module, it would still be handy. Basically you
> would have to split out processor support and have it picked at
> run-time by a command-line argument to the kernel...

You're high.  :)

This is quite impossible to do, except where CPUs are compatible, and only
then would you be able to dynamically load a subset of processor support.
Eg, you could have an "Alpha" family, which would have to be staticly
compiled, and "module" support for the 21164, etc.  Handling loading would
be accomplished by the "least common denominator" of all compatible
processors.  If you mean a single kernel that could load *all* supported
processors, that's quite impossible.  An "if" is quite different whether
you're on an Alpha, SPARC, or x86 variant.

OTOH, You could, I suppose, have a "generic" Alpha kernel with processor
modules, and a "generic" x86 kernel, etc.  But even then you'd have to use
a set of "generic" loader modules (IDE, SCSI, CDROM, etc) to even load the
processor optimized ones, which would then have to replace the modules
that are already active and running, else suffer unoptimized performance
for those modules.

> Under SunOS this was very handy; I could make one kernel and use it on
> a huge variety of machines. Most modern Unixes auto-detect the
> hardware type.

Sun made their own hardware, and I'm pretty sure SunOS would only run on
Sun hardware.  Modern Unices can detect hardware type, but only because
they've been compiled for it.  There is no way you can detect hardware and
do a conditional boot because the conditional itself varies by platform.

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


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

* Re: Modules on the Alpha
@ 1998-06-12 14:38 Greg Lindahl
  0 siblings, 0 replies; 14+ messages in thread
From: Greg Lindahl @ 1998-06-12 14:38 UTC (permalink / raw)
  To: axp-list

> If you mean a single kernel that could load *all* supported
> processors, that's quite impossible.  An "if" is quite different whether
> you're on an Alpha, SPARC, or x86 variant.

I meant a kernel which supports all kinds of Alphas.

> > Under SunOS this was very handy; I could make one kernel and use it on
> > a huge variety of machines. Most modern Unixes auto-detect the
> > hardware type.
> 
> Sun made their own hardware, and I'm pretty sure SunOS would only run on
> Sun hardware.

Sun hardware differs from Sun hardware about as much as various alphas
differ from other alphas. Even support for SPARC clones such as
hypersparc could be compiled into the kernel, to be autodetected.

> Modern Unices can detect hardware type, but only because
> they've been compiled for it.  There is no way you can detect hardware and
> do a conditional boot because the conditional itself varies by platform.

Nope. Solaris is completely dynamic in its detection, although it does
get some help from some magic files on disk, but that's for other
hardware, not the cpu/mmu/etc.

-- g


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

* Re: Modules on the Alpha
  1998-06-12 14:18 Modules on the Alpha Greg Lindahl
  1998-06-12  6:19 ` Jay.Estabrook
  1998-06-12 14:29 ` Christopher Curtis
@ 1998-06-12 15:08 ` Alvin Starr
  1998-06-12 15:23 ` Richard Henderson
  3 siblings, 0 replies; 14+ messages in thread
From: Alvin Starr @ 1998-06-12 15:08 UTC (permalink / raw)
  To: axp-list; +Cc: Quant-X Alpha Linux Support, axp-list

On Fri, 12 Jun 1998, Greg Lindahl wrote:

> > > have no modules loaded. Too bad processor support isn't a module, I
> > > have to build separate kernels for PC164 and PC164LX (although perhaps
> > 
> > Hmm, processor support can't be a module. Initialization is needed
> > too early, and something like a kernel side 'request_module("pyxis")' 
> > requires a mounted root-filesystem and kerneld running.
> 
> Even if it can't be a module, it would still be handy. Basically you
> would have to split out processor support and have it picked at
> run-time by a command-line argument to the kernel...
> 
> Under SunOS this was very handy; I could make one kernel and use it on
> a huge variety of machines. Most modern Unixes auto-detect the
> hardware type.

Solaris is not quite that portable. I just went through that moving some 
disks between an Enterprise 2 and an Enterprise 450. The kernels and 
modules are somewhat customized by the install process. 

The other thing sun has going for them is the fact that they control the 
hardware configuration. The closest example in the Linux world is the PC 
where there is a base level of hardware that is reliable. 

With the Alpha's ther are a number of very different hardware 
configurations that need special configuration even to get as far as 
printing a "hello world" message.


Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin@iplink.net              ||


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

* Re: Modules on the Alpha
  1998-06-12 14:18 Modules on the Alpha Greg Lindahl
                   ` (2 preceding siblings ...)
  1998-06-12 15:08 ` Alvin Starr
@ 1998-06-12 15:23 ` Richard Henderson
  3 siblings, 0 replies; 14+ messages in thread
From: Richard Henderson @ 1998-06-12 15:23 UTC (permalink / raw)
  To: axp-list, Quant-X Alpha Linux Support

On Fri, Jun 12, 1998 at 10:18:01AM -0400, Greg Lindahl wrote:
> Even if it can't be a module, it would still be handy. Basically you
> would have to split out processor support and have it picked at
> run-time by a command-line argument to the kernel...

I did some patches for this sometime about 2.1.6x.  At the time
MILO wasn't providing enough info to be able to decide for many 
boards.  That has since been fixed, but the patches have not 
been revisited.

You might pull them out of the archives and see what happens,,,


r~


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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-12 14:18 Modules on the Alpha Greg Lindahl
1998-06-12  6:19 ` Jay.Estabrook
1998-06-12 14:29 ` Christopher Curtis
1998-06-12 15:08 ` Alvin Starr
1998-06-12 15:23 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1998-06-12 14:38 Greg Lindahl
1998-06-11 14:34 Greg Lindahl
     [not found] <357F6DD1.DB201ACE@paralleldata.com>
1998-06-11 14:22 ` Brian E.W. Wood
1998-06-11 13:41 Greg Lindahl
1998-06-11 14:22 ` Brian E.W. Wood
1998-06-12  8:18 ` Quant-X Alpha Linux Support
1998-06-11  4:16 Brian E.W. Wood
1998-06-11  6:32 ` Richard Henderson
1998-06-11  7:02 ` Joakim Roubert

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