No asm/smp.h == no compile
Jim Nance (Jim_Nance@avanticorp.com)
Mon, 18 Mar 1996 08:54:16 -0500 (EST) 

I just tried to compile 1.3.75 for the alpha. It dies right off because
kernel/sched.c tries to include asm/smp.h which does not exist. I suppose
that the easiest fix would be to add a few #ifdefs to the kernel, but
how about a more innovative fix. Like shipping a multiprocessor machine
to Helsinki (Maddog?). Actually, now that I think about it, I don't know
that anyone makes a low-end AXP based system. Does anyone know?

Another point of interest. I heard a rumor that Linus was going to do the
UltraSparc port. If this is true, will he be the only person who has ported
a 64 bit OS to more than 1 architecture?

Jim

re: No asm/smp.h == no compile
Neal. (crook@rdgeng.enet.dec.com)
Mon, 18 Mar 96 15:50:55 MET 

>I just tried to compile 1.3.75 for the alpha. It dies right off because
>kernel/sched.c tries to include asm/smp.h which does not exist. I suppose
>that the easiest fix would be to add a few #ifdefs to the kernel, but
>how about a more innovative fix. Like shipping a multiprocessor machine
>to Helsinki (Maddog?). Actually, now that I think about it, I don't know
>that anyone makes a low-end AXP based system. Does anyone know?

Well, I don't think we accept that any of our Alpha machines are low-end ;-)
Having said that, the major drive for Linux on Alpha has come from within
Digital's semiconductor organisation (Digital Semiconductor) and DS have
no multiprocessor chipsets or hardware platforms. Therefore, it is unlikely
that there will be any point in doing Alpha SMP for a year or two.

Neal.
European Semiconductor Applications Engineering
Digital Semiconductor.

Re: No asm/smp.h == no compile
Jon 'maddog' Hall, USG Senior Leader (hall@zk3.dec.com)
Mon, 18 Mar 96 11:05:45 -0500 

crook@rdgeng.enet.dec.com said:

> Well, I don't think we accept that any of our Alpha machines are 
> low-end ;-) Having said that, the major drive for Linux on Alpha has 
> come from within Digital's semiconductor organisation (Digital 
> Semiconductor) and DS have no multiprocessor chipsets or hardware 
> platforms. Therefore, it is unlikely that there will be any point in 
> doing Alpha SMP for a year or two.

> Neal. European Semiconductor Applications Engineering Digital 
> Semiconductor. 

Neal forgets that the "major drive for Linux on the Alpha" has come from the
Linux community, and that although the bulk of Digital's engineering work has
been done by Digital Semiconductor, that Linux now runs on machines sold
by our workstation group, Components and Peripherals Group, our server
group and even OEMs who use our chips to build their own boards.

Early in the project my interest was piqued by someone who had actually
taken an early kernel and tried to boot it on an 8400 and had shown great joy
at getting out at least a few console messages before the kernel crashed.
Sadly I have lost that mail.

If enough people feel that they want to run Linux on our existing servers,
or if an OEM comes forward with a multi-CPU board, I am sure that Digital
Semiconductor will be happy to help the Linux community with engineering
issues to make this happen. And it may be a lot sooner than "a year or so".

md

-- 
===============================================================================
Jon "maddog" Hall			
Officer - Linux International           Senior Leader
Mailstop ZK03-2/U15			UNIX Software Group
Digital Equipment Corporation		Internet: maddog@zk3.dec.com
110 Spit Brook Rd.			Voice: 603.881.1341
Nashua, N.H. 03062-2698			Fax: 603.881.6059

Re: No asm/smp.h == no compile
Jon 'maddog' Hall, USG Senior Leader (hall@zk3.dec.com)
Mon, 18 Mar 96 09:56:20 -0500 

Jim_Nance@avanticorp.com said:
> I just tried to compile 1.3.75 for the alpha. It dies right off 
> because kernel/sched.c tries to include asm/smp.h which does not 
> exist. I suppose that the easiest fix would be to add a few #ifdefs 
> to the kernel, but how about a more innovative fix. Like shipping a 
> multiprocessor machine to Helsinki (Maddog?). Actually, now that I 
> think about it, I don't know that anyone makes a low-end AXP based 
> system. Does anyone know?

I believe a more innovative fix would be to have an asm/smp.h that defines
only one processor. :-) Since some people are (obviously) compiling the
kernel, it must exist.

>Actually, now that I 
> think about it, I don't know that anyone makes a low-end AXP based 
> system. Does anyone know?

I do not know of anyone who is shipping a multi-processor "low-end" AXP system
other than the ones that Digital is producing, assuming you consider them
"low-end". I would love to see a multi-processor Alpha motherboard that
could be easily turned into an "SBC".

> Another point of interest. I heard a rumor that Linus was going to 
> do the UltraSparc port. If this is true, will he be the only person 
> who has ported a 64 bit OS to more than 1 architecture?

Again, it depends on what you consider an "operating system". OSF/1 MACH
has been ported to both Alpha and the PowerPC, although I am not sure if the
PowerPC Linux environment is "64-bit". And I am not sure what CMU itself
has done along the 64-bit lines. And since Linus doing the UltraSparc port
is still "future", only time will tell if he is "first" or not.

Offhand, I would say that Linux has a "bleeding edge".

md


-- 
===============================================================================
Jon "maddog" Hall			
Officer - Linux International           Senior Leader
Mailstop ZK03-2/U15			UNIX Software Group
Digital Equipment Corporation		Internet: maddog@zk3.dec.com
110 Spit Brook Rd.			Voice: 603.881.1341
Nashua, N.H. 03062-2698			Fax: 603.881.6059