Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Patrick Kessen <patrickk@simplex.nl>
Subject: RE: 2.1.32 troubles, make boot doesn't finish (hardly starts)
Date: Thu, 10 Apr 1997 11:12:51 +0200	[thread overview]
Message-ID: <f70729e409b9a1a6a0ff391ffb3308e2.axp-list@archive.invalid> (raw)

Hi,

would you email me the ifup scripts?

thanks,

Patrick

----------
From: 	D. Champion
Sent: 	donderdag 10 april 1997 8:03
To: 	axp-list@redhat.com
Subject: 	Re: 2.1.32 troubles, make boot doesn't finish (hardly starts)

>make config, make dep, make clean all goes well...... until...
>
>...
>/usr/src/linux-2.1.32/include/asm/io.h: In function 'set_hae':
>In file included from init/main.c:40:
>/usr/src/linux-2.1.32/include/asm/io.h:41: parse error before '__asm__'
>make: *** [init/main.o] Error 1

To play the facilitator and integrate things, Tim Waugh and Jeff Odom
have suggested parts of this, which is what I used:

*** include/asm-alpha/hardirq.h.orig	Mon Apr  7 21:01:11 1997
--- include/asm-alpha/hardirq.h	Mon Apr  7 21:00:27 1997
***************
*** 12,17 ****
--- 12,19 ----
  #define hardirq_enter(cpu)	(local_irq_count[cpu]++)
  #define hardirq_exit(cpu)	(local_irq_count[cpu]--)
  
+ #define synchronize_irq()	do { } while (0)
+ 
  #else
  
  #error FIXME
*** arch/alpha/kernel/irq.c.orig	Wed Oct 16 01:05:09 1996
--- arch/alpha/kernel/irq.c	Mon Apr  7 20:57:46 1997
***************
*** 28,33 ****
--- 28,35 ----
  
  extern void timer_interrupt(struct pt_regs * regs);
  
+ unsigned int local_irq_count[NR_CPUS];
+ 
  #if NR_IRQS > 64
  #  error Unable to handle more than 64 irq levels.
  #endif
*** include/asm-alpha/io.h.orig	Wed Apr  9 19:57:20 1997
--- include/asm-alpha/io.h	Tue Apr  8 05:30:00 1997
***************
*** 38,44 ****
   */
  extern inline void set_hae(unsigned long new_hae)
  {
! 	unsigned long ipl = swpipl(7);
  	hae.cache = new_hae;
  	*hae.reg = new_hae;
  	mb();
--- 38,45 ----
   */
  extern inline void set_hae(unsigned long new_hae)
  {
! 	unsigned long ipl;
! 	swpipl(ipl, 7);
  	hae.cache = new_hae;
  	*hae.reg = new_hae;
  	mb();

That will build the kernel.  Recent alpha 2.1.x-series kernels are
doing something different in the networking, too; Red Hat's (for one)
network startup scripts will hang when you ifconfig the loopback.
To fix this, install a /etc/sysconfig/network-scripts/ifup-lo that
checks your kernel revision, and manages the ifconfig differently
for the new ones.  I copied stuff (starting with the actual ifconfig,
and ending with the end) from the regular ifup script, and put it in
a function called
	ifup_lo_complex () {
		...
	}
(Don't know whether I can replicate RH's code on this list....)

I then added:
	ifup_lo_simple () {
		ifconfig lo up
	}

	case `uname -r` in
		2.1.[3-9]?)     :
			ifup_lo_simple
			;;
		*)      :
			ifup_lo_complex ifcfg-lo
			;;
	esac

My network starts up fine now.

As you might expect, if you're using pppd you'll have to recompile it
for the dynamic routes in later 2.1-series kernels.

HTH.

-D.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

begin 600 WINMAIL.DAT
M>)\^(AT)`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`' $```$````,`````P``, (````+``\.``````(!_P\!````10``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````&%X<"UL:7-T0')E9&AA="YC;VT`4TU4
M4 !A>' M;&ES=$!R961H870N8V]M`````!X``C !````!0```%--5% `````
M'@`#, $````4````87AP+6QI<W1 <F5D:&%T+F-O;0`#`!4,`0````,`_@\&
M````'@`!, $````6````)V%X<"UL:7-T0')E9&AA="YC;VTG`````@$+, $`
M```9````4TU44#I!6% M3$E35$!2141(050N0T]-``````,``#D`````"P! 
M.@$````"`?8/`0````0````````"E3(!!( !`#X```!213H@,BXQ+C,R('1R
M;W5B;&5S+"!M86ME(&)O;W0@9&]E<VXG="!F:6YI<V@@*&AA<F1L>2!S=&%R
M=',I`(X4`06 `P`.````S0<$``H`"P`,`#,`! `P`0$@@ ,`#@```,T'! `*
M``L`# `$``0``0$!"8 !`"$```!%.4(U1D(U03)"0C%$,#$Q03<X,C P03 R
M-#<P0D0U-0`@!P$#D 8`\ D``!0````+`",```````,`)@``````"P`I````
M```#`"X```````,`-@``````0 `Y`* *Q%V/1;P!'@!P``$````^````4D4Z
M(#(N,2XS,B!T<F]U8FQE<RP@;6%K92!B;V]T(&1O97-N)W0@9FEN:7-H("AH
M87)D;'D@<W1A<G1S*0````(!<0`!````%@````&\18]=O%K[M>JQ*Q'0IX(`
MH"1PO54``!X`'@P!````!0```%--5% `````'@`?# $````4````<&%T<FEC
M:VM <VEM<&QE>"YN; `#``801&J;6 ,`!Q"," ``'@`($ $```!E````2$DL
M5T]53$193U5%34%)3$U%5$A%24954%-#4DE05%,_5$A!3DM3+%!!5%))0TLM
M+2TM+2TM+2TM1E)/33I$0TA!35!)3TY314Y4.D1/3D1%4D1!1S$P05!224PQ
M.3DW.#HP,P`````"`0D0`0```#X(```Z" ``U! ``$Q:1G4"36WC_P`*`0\"
M%0*D`^0%ZP*#`% 3`U0"`&-H"L!S973N,@8`!L,"@S(#Q@<3`H,B,P]Z:&5L
M`R!$;.IG`H,T$PU]"H (SPG9XCL7GS(U-0* "H$-L<$+8&YG,3 T%" +"@L2
M\@P!8P! ($AI+ L*A0J%=PA@;&0@>3D(8"!E`, #$0> ('1%%/ @!I!U<" $
M]'-./QR\'L `<&MS'*U09&%T!1!C:QR\"HML$&DQ.# "T6DM,3PT- WP#- D
MPPM9,3;;"J #8'0%D 5 +2;G"H?7)9L,,"9F1@-A.B?N)F8C#((5,"X@0Q' 
M;7#^:0(@)X\HG09@`C ISRK;AF0"( 2!9&%G(!K #"!A)F #$3$Y.3=@(#@Z
M,#,L7RB=5(9O+I\JVV%X<"TD()AS=$ 7H1' ="X%H,9M,C\M;G5B:B:A-%\)
M*MM293G0,BXQ+KX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&RJ%F9] 1^._?]M\K@ >0`- <
MO$T^\,?[OP0@'R%LX^4A1F8*A4'14]L>@$,@: 5 <;!P)J'-(;M;`!WQ)U,!
M3V##4G $,/T=TR?)DUOQDS$7H.%"3,/[T(;5AF1UP"OPYH"+D!V@_R:0PG#$
MT0M@;=$[XL&=`/WH2%1(`/TM*Z *_2=V_\QQC2$Y<-TR4L YT!'PVE*>+1Y#
MDS$V-O$`97$8@-<VF]@S-V4G#:DG,3#3=/\-P3F2P$'DL "Q*S .<]XQ_P\Y
M-K\BWT"/&]4F9C=E[P$"`!HP```#`! 0``````,`$1 `````0 `',,#X_D&/
M1;P!0 `(,,#X_D&/1;P!'@`]``$````%````4D4Z( `````#``TT_3<``+"7
`
end

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-04-10  9:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-10  9:12 Patrick Kessen [this message]
     [not found] <01BC4515.52696580@ispro.xs4all.nl>
1997-04-10  6:03 ` 2.1.32 troubles, make boot doesn't finish (hardly starts) D. Champion
1997-04-10 20:13   ` Jeff Odom
  -- strict thread matches above, loose matches on Subject: below --
1997-04-09 16:14 Patrick Kessen
read-only archive

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