Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2002 09:46:53 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Rob B <rbyrnes@ozemail.com.au>
Cc:        <hdl@abs.net>, sam@errno.com, <freebsd-alpha@FreeBSD.ORG>
Subject:   Re: 4.7-STABLE kernel build failure with current CVS, any ideas?
Message-ID:  <15888.23645.644351.257656@grasshopper.cs.duke.edu>
In-Reply-To: <5.1.1.6.2.20021230111030.01d0b880@127.0.0.1>
References:  <000001c2af4d$0f7da3f0$011872cf@gamer> <5.1.1.6.2.20021230111030.01d0b880@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help

Rob B writes:
 > At 02:14 30/12/2002, Howard Leadmon sent this up the stick:
 > >   When I ran a cvsup on my Alpha of the current 4.7 code, all went well 
 > > till I
 > >tried to build a new kernel.  At that point it failed, and it seems like it's
 > >in the new crypto stuff that came down.
 > >
 > ><snip>
 > >I glanced back at the list, and didn't see any chatter about this, so was
 > >wondering if anyone has any idea how to fix this issue?  All of my x86 based
 > >machines built and updated fine, so something specific to the Alpha.

Yes, the crypto author appears to have forgotten to backport the
required alpha bits.  

Can you try the following untested patch?  I'm quite busy right now
(just got back from vacation) and don't have time to take an alpha
to -stable to fix this.

Drew

Index: alpha/alpha/ipl_funcs.c
===================================================================
RCS file: /home/ncvs/src/sys/alpha/alpha/Attic/ipl_funcs.c,v
retrieving revision 1.15.2.4
diff -u -r1.15.2.4 ipl_funcs.c
--- alpha/alpha/ipl_funcs.c	26 Jul 2001 18:53:01 -0000	1.15.2.4
+++ alpha/alpha/ipl_funcs.c	30 Dec 2002 14:41:15 -0000
@@ -160,6 +160,7 @@
 GENSET(setsoftvm,	&ipending,	1 << SWI_VM)
 GENSET(setsofttq,	&ipending,	1 << SWI_TQ)
 GENSET(setsoftclock,	&ipending,	1 << SWI_CLOCK)
+GENSET(setsoftcrypto,	&ipending,	1 << SWI_CRYPTO)
 
 GENSET(schedsofttty,	&idelayed,	1 << SWI_TTY)
 GENSET(schedsoftnet,	&idelayed,	1 << SWI_NET)
Index: alpha/include/ipl.h
===================================================================
RCS file: /home/ncvs/src/sys/alpha/include/Attic/ipl.h,v
retrieving revision 1.12.2.1
diff -u -r1.12.2.1 ipl.h
--- alpha/include/ipl.h	18 Jul 2000 21:12:43 -0000	1.12.2.1
+++ alpha/include/ipl.h	30 Dec 2002 14:45:41 -0000
@@ -38,6 +38,7 @@
 #define SWI_TTY		0
 #define SWI_NET		1
 #define SWI_CAMNET	2
+#define	SWI_CRYPTO	SWI_CAMNET
 #define SWI_CAMBIO	3
 #define SWI_VM		4
 #define SWI_CLOCK	5
@@ -80,6 +81,7 @@
 SPLUP(splnet, IO)
 SPLUP(splbio, IO)
 SPLUP(splcam, IO)
+SPLUP(splcrypto, IO)
 SPLUP(splimp, IO)
 SPLUP(spltty, IO)
 SPLUP(splvm, IO)
@@ -113,6 +115,7 @@
 extern void setsoftvm(void);
 extern void setsofttq(void);
 extern void setsoftclock(void);
+extern void setsoftcrypto(void);
 
 extern void schedsofttty(void);
 extern void schedsoftnet(void);


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15888.23645.644351.257656>