Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.1.115 on alpha fails on compile,  Someone post a fix & I lost it.
@ 1998-08-08 18:36 Mr. James W. Laferriere
  1998-08-08 20:38 ` Dave Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: Mr. James W. Laferriere @ 1998-08-08 18:36 UTC (permalink / raw)
  To: Linux Alpha; +Cc: RedHat Linux Alpha


	Hello All,  Someone yesterday posted a patch for getting 
	2.1.115 to compile on alpha.  I got either heavy handed with 
	delete key or misplaced it.  The messages I am getting are 
	included below , Just in case they are differant .

 				Tia, JimL
+-----------------------------------------------------------------------+ 
|  James W. Laferriere  -   Network   Engineer  -   babydr@nwrain.net   |
|    System Techniques  -   25416   -  22nd S.  - Des-Moines, WA  98198 |
|      Give me VMS     -or-    Give me Linux   -but-   only on AXP      |
+-----------------------------------------------------------------------+
|-> Linux-Vax Port, Now in Progress  !YAY! there's Progress To Report <-|
|-> Please See http://ucnet.canberra.edu.au/~mikal/vaxlinux/home.html <-|
|-> Maintainer:   Michael Still mikal@blitzen.canberra.edu.au         <-|
+-----------------------------------------------------------------------+

rm -f lib.a
ar  rcs lib.a  errno.o ctype.o string.o vsprintf.o
make[2]: Leaving directory `/usr/src/linux-2.1.115r/lib'
make[1]: Leaving directory `/usr/src/linux-2.1.115r/lib'
make[1]: Entering directory `/usr/src/linux-2.1.115r/arch/alpha/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o alpha_ksyms.o alpha_ksyms.c
gcc -D__KERNEL__ -I/usr/src/linux/include  -D__ASSEMBLY__ -D__SMP__ -traditional -c entry.S -o entry.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o traps.o traps.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o process.o process.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o osf_sys.o osf_sys.c
osf_sys.c: In function `osf_sigstack':
osf_sys.c:774: warning: `oss_sp' might be used uninitialized in this function
osf_sys.c:774: warning: `oss_os' might be used uninitialized in this function
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o irq.o irq.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o signal.o signal.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o setup.o setup.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c -o bios32.o bios32.c
In file included from /usr/src/linux/include/asm/smplock.h:6,
                 from /usr/src/linux/include/linux/smp_lock.h:13,
                 from bios32.c:30:
/usr/src/linux/include/linux/interrupt.h:10: warning: `struct pt_regs' declared inside parameter list
/usr/src/linux/include/linux/interrupt.h:10: warning: its scope is only this definition or declaration,
/usr/src/linux/include/linux/interrupt.h:10: warning: which is probably not what you want.
/usr/src/linux/include/asm/softirq.h: In function `remove_bh':
In file included from /usr/src/linux/include/linux/interrupt.h:50,
                 from /usr/src/linux/include/asm/smplock.h:6,
                 from /usr/src/linux/include/linux/smp_lock.h:13,
                 from bios32.c:30:
/usr/src/linux/include/asm/softirq.h:35: `NULL' undeclared (first use this function)
/usr/src/linux/include/asm/softirq.h:35: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/softirq.h:35: for each function it appears in.)
/usr/src/linux/include/asm/smplock.h: In function `lock_kernel':
In file included from /usr/src/linux/include/linux/smp_lock.h:13,
                 from bios32.c:30:
/usr/src/linux/include/asm/smplock.h:41: dereferencing pointer to incomplete type
/usr/src/linux/include/asm/smplock.h: In function `unlock_kernel':
/usr/src/linux/include/asm/smplock.h:47: dereferencing pointer to incomplete type
make[1]: *** [bios32.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.1.115r/arch/alpha/kernel'
make: *** [linuxsubdirs] Error 2



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

* Re: 2.1.115 on alpha fails on compile,  Someone post a fix & I lost it.
  1998-08-08 18:36 2.1.115 on alpha fails on compile, Someone post a fix & I lost it Mr. James W. Laferriere
@ 1998-08-08 20:38 ` Dave Gilbert
  1998-08-09  1:55   ` Mr. James W. Laferriere
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Gilbert @ 1998-08-08 20:38 UTC (permalink / raw)
  To: RedHat Linux Alpha; +Cc: Linux Alpha, Mr. James W. Laferriere

On Sat, 8 Aug 1998, Mr. James W. Laferriere wrote:

> 
> 	Hello All,  Someone yesterday posted a patch for getting 
> 	2.1.115 to compile on alpha.  I got either heavy handed with 
> 	delete key or misplaced it.  The messages I am getting are 
> 	included below , Just in case they are differant .
> 
> /usr/src/linux/include/asm/smplock.h:41: dereferencing pointer to incomplete type
> /usr/src/linux/include/asm/smplock.h: In function `unlock_kernel':
> /usr/src/linux/include/asm/smplock.h:47: dereferencing pointer to incomplete type

Switch off SMP and it compiles straight out of the box;
In linux/Makefile >>comment out<< that says:

SMP = 1

by making it

#SMP = 1

Dave

P.S. make xconfig seems to work nicely on 2.1.115
P.P.S. I used gcc 2.7.2.3 on a heavily upgraded RH5.0 system. 

 --------------------------------------------------------------------
/ Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
\   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
 \____________________________|___ http://www.treblig.demon.co.uk __/


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

* Re: 2.1.115 on alpha fails on compile,  Someone post a fix & I lost it.
  1998-08-08 20:38 ` Dave Gilbert
@ 1998-08-09  1:55   ` Mr. James W. Laferriere
  1998-08-09 14:04     ` Dave Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: Mr. James W. Laferriere @ 1998-08-09  1:55 UTC (permalink / raw)
  To: Dave Gilbert; +Cc: RedHat Linux Alpha, Linux Alpha


	Hello Dave, Thank you that was the trick .

	I've one more question, I have an AS200 4/100 an Avanti (style)
	system .  I am looking to be able to boot remotely to my newly
	created image , I am a -few- miles away .  Milo & linload have
	been installed on a FAT filesystem .  I can mount it & write to
	it , but I can't find -any- (I mean any) documentation on how
	to remotely set var's into the systems memory for reboot.

	I guess what I am looking for is something like the SunOS reboot
	command 'reboot "sda1:vmlinux.gz-21115 root=/dev/sda1"'

	Is anyone aware of this functionality & where to get the Documents
	I've already gone to the RedHat/support/docs & the HOWTO's ....

On Sat, 8 Aug 1998, Dave Gilbert wrote:
> On Sat, 8 Aug 1998, Mr. James W. Laferriere wrote:
> > 	Hello All,  Someone yesterday posted a patch for getting 
> > 	2.1.115 to compile on alpha.  I got either heavy handed with 
> > 	delete key or misplaced it.  The messages I am getting are 
> > 	included below , Just in case they are differant .
> > 
> > /usr/src/linux/include/asm/smplock.h:41: dereferencing pointer to
>>incomplete type
> > /usr/src/linux/include/asm/smplock.h: In function `unlock_kernel':
> > /usr/src/linux/include/asm/smplock.h:47: dereferencing pointer to
>>incomplete type
> 
> Switch off SMP and it compiles straight out of the box;
> In linux/Makefile >>comment out<< that says:
> 
> SMP = 1
> 
> by making it
> 
> #SMP = 1
> 
> Dave
> 
> P.S. make xconfig seems to work nicely on 2.1.115
> P.P.S. I used gcc 2.7.2.3 on a heavily upgraded RH5.0 system. 
> 
>  --------------------------------------------------------------------
> / Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
> \   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
>  \____________________________|___ http://www.treblig.demon.co.uk __/
 				Tia, JimL
+-----------------------------------------------------------------------+ 
|  James W. Laferriere  -   Network   Engineer  -   babydr@nwrain.net   |
|    System Techniques  -   25416   -  22nd S.  - Des-Moines, WA  98198 |
|      Give me VMS     -or-    Give me Linux   -but-   only on AXP      |
+-----------------------------------------------------------------------+
|-> Linux-Vax Port, Now in Progress  !YAY! there's Progress To Report <-|
|-> Please See http://ucnet.canberra.edu.au/~mikal/vaxlinux/home.html <-|
|-> Maintainer:   Michael Still mikal@blitzen.canberra.edu.au         <-|
+-----------------------------------------------------------------------+



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

* Re: 2.1.115 on alpha fails on compile,  Someone post a fix & I lost it.
  1998-08-09  1:55   ` Mr. James W. Laferriere
@ 1998-08-09 14:04     ` Dave Gilbert
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Gilbert @ 1998-08-09 14:04 UTC (permalink / raw)
  To: Mr. James W. Laferriere; +Cc: RedHat Linux Alpha, Linux Alpha

On Sat, 8 Aug 1998, Mr. James W. Laferriere wrote:

> 	Hello Dave, Thank you that was the trick .

No problemo.

> 	I've one more question, I have an AS200 4/100 an Avanti (style)
> 	system .  I am looking to be able to boot remotely to my newly
> 	created image , I am a -few- miles away .  Milo & linload have
> 	been installed on a FAT filesystem .  I can mount it & write to
> 	it , but I can't find -any- (I mean any) documentation on how
> 	to remotely set var's into the systems memory for reboot.
> 
> 	I guess what I am looking for is something like the SunOS reboot
> 	command 'reboot "sda1:vmlinux.gz-21115 root=/dev/sda1"'

Rebooting machines at a long distance always makes me nervous - what do
you do when a kernel just doesn't work?

To be honest my soloution would be to take a 386 and hook it onto the
serial port of your Alpha and have something wired accross the reset
on the alpha from the 386.

Now do everything by accessing the 386 over the serial port - this means
you can even remotely reset the alpha if the kernel screws up.

(That was the simultaneously nice and annoying thing about Suns, the way
you could bring them back to the monitor with a Break on the serial port).

And heck, you can probably persuade someone to give you a 386 presently
being used as a door stop somewhere.

Dave

 --------------------------------------------------------------------
/ Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
\   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
 \____________________________|___ http://www.treblig.demon.co.uk __/


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

end of thread, other threads:[~1998-08-09 14:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-08 18:36 2.1.115 on alpha fails on compile, Someone post a fix & I lost it Mr. James W. Laferriere
1998-08-08 20:38 ` Dave Gilbert
1998-08-09  1:55   ` Mr. James W. Laferriere
1998-08-09 14:04     ` Dave Gilbert

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