Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2002 10:43:08 -0500
From:      "Howard Leadmon" <hdl@abs.net>
To:        "'Andrew Gallatin'" <gallatin@cs.duke.edu>, "'Rob B'" <rbyrnes@ozemail.com.au>
Cc:        <sam@errno.com>, <freebsd-alpha@FreeBSD.ORG>
Subject:   RE: 4.7-STABLE kernel build failure with current CVS, any  ideas?
Message-ID:  <000301c2b0e3$5474a2f0$011872cf@gamer>
In-Reply-To: <15888.23645.644351.257656@grasshopper.cs.duke.edu>

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

I applied and compiled the patch below, and the machine is now up and =
happily
running the updated kernel.  So I would say from that you have a winner =
unless
it introduced some issue I missed.  :-)

Happy New Year to all...


---
Howard Leadmon - hdl@abs.net
Charm Net, LLC - Phone: 410-685-3900 - FAX: 410-361-8162

=20

> -----Original Message-----
> From: Andrew Gallatin [mailto:gallatin@cs.duke.edu]
> Sent: Monday, December 30, 2002 9:47 AM
> To: Rob B
> Cc: hdl@abs.net; sam@errno.com; freebsd-alpha@FreeBSD.ORG
> Subject: Re: 4.7-STABLE kernel build failure with current CVS, any =
ideas?
>=20
>=20
> 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.
>=20
> Yes, the crypto author appears to have forgotten to backport the
> required alpha bits.
>=20
> 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.
>=20
> Drew
>=20
> Index: alpha/alpha/ipl_funcs.c
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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)
>=20
>  GENSET(schedsofttty,	&idelayed,	1 << SWI_TTY)
>  GENSET(schedsoftnet,	&idelayed,	1 << SWI_NET)
> Index: alpha/include/ipl.h
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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);
>=20
>  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?000301c2b0e3$5474a2f0$011872cf>