From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <9704100714.AA16206@falcon.comm.eng.osaka-u.ac.jp> Date: Thu, 10 Apr 1997 11:12:51 +0200 From: Patrick Kessen Subject: RE: 2.1.32 troubles, make boot doesn't finish (hardly starts) 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+6QIJQ*Q'0IX(` MH"1PO54``!X`'@P!````!0```%--5% `````'@`?# $````4````<&%T"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! ($A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