svn commit: r266269 - in stable/9/sys: amd64/include i386/include modules modules/xenhvm xen

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Tue Sep 23 16:13:40 UTC 2014


On 16 May 2014, at 19:28 , Colin Percival <cperciva at FreeBSD.org> wrote:

> Author: cperciva
> Date: Fri May 16 19:28:22 2014
> New Revision: 266269
> URL: http://svnweb.freebsd.org/changeset/base/266269
> 
> Log:
>  Add xenhvm.ko, which can be loaded along with a !XENHVM kernel in order to
>  provide support for the Xen/HVM environment.
> 
>  This code is compiled with XENHVM defined; since this would result in the
>  (no longer used) "last processed" values being included in PCPU data
>  structures, an additional MODXENHVM define is used to exclude those.  This
>  allows KBI to be retained for both GENERIC and XENHVM kernel configurations
>  (which are not KBI compatible with each other).
> 
>  This is a direct commit to stable/9, since stable/10 and HEAD have XENHVM
>  merged into the GENERIC kernel configuration (but the changes in stable/10
>  and HEAD cannot be MFCed as-is).
> 
>  Discussed with: royger, gjb
>  Relnotes:	FreeBSD 9.3-RELEASE can run in Xen/HVM environments,
>  		including Amazon EC2, using GENERIC + xenhvm.ko.
> 

I think it is this commit that completely broke the pc98 build on stable/9
and probably has been broken since?

The modules Makefile probably wants MACHINE == “i386” and not MACHINE_CPUARCH for this module (as in you want to mov the _xenhvm= into the dedicated amd64 and i386 sections?



>>> stage 3.1: making dependencies
--------------------------------------------------------------
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//balloon/balloon.c:43:32: error: machine/xen/xen-os.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//balloon/balloon.c:44:32: error: machine/xen/xenvar.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//balloon/balloon.c:45:33: error: machine/xen/xenfunc.h: No such file or directory
In file included from @/xen/interface/xen.h:33,
                 from @/xen/hypervisor.h:32,
                 from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//balloon/balloon.c:46:
@/xen/interface/arch-x86/xen.h:35:2: error: #error "using old handle"
In file included from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//balloon/balloon.c:46:
@/xen/hypervisor.h:39:35: error: machine/xen/hypercall.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkfront/blkfront.c:54:32: error: machine/xen/xen-os.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkfront/blkfront.c:55:32: error: machine/xen/xenvar.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkfront/blkfront.c:56:33: error: machine/xen/xenfunc.h: No such file or directory
In file included from @/xen/interface/xen.h:33,
                 from @/xen/hypervisor.h:32,
                 from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkfront/blkfront.c:58:
@/xen/interface/arch-x86/xen.h:35:2: error: #error "using old handle"
In file included from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkfront/blkfront.c:58:
@/xen/hypervisor.h:39:35: error: machine/xen/hypercall.h: No such file or directory
In file included from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkfront/blkfront.c:60:
@/xen/evtchn.h:16:38: error: machine/xen/synch_bitops.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkback/blkback.c:73:32: error: machine/xen/xen-os.h: No such file or directory
In file included from @/xen/interface/xen.h:33,
                 from @/xen/hypervisor.h:32,
                 from @/xen/evtchn.h:15,
                 from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkback/blkback.c:80:
@/xen/interface/arch-x86/xen.h:35:2: error: #error "using old handle"
In file included from @/xen/evtchn.h:15,
                 from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkback/blkback.c:80:
@/xen/hypervisor.h:39:35: error: machine/xen/hypercall.h: No such file or directory
In file included from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//blkback/blkback.c:80:
@/xen/evtchn.h:16:38: error: machine/xen/synch_bitops.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//control/control.c:131:32: error: machine/xen/xen-os.h: No such file or directory
In file included from @/xen/interface/xen.h:33,
                 from @/xen/hypervisor.h:32,
                 from @/xen/evtchn.h:15,
                 from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//control/control.c:138:
@/xen/interface/arch-x86/xen.h:35:2: error: #error "using old handle"
In file included from @/xen/evtchn.h:15,
                 from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//control/control.c:138:
@/xen/hypervisor.h:39:35: error: machine/xen/hypercall.h: No such file or directory
In file included from /scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//control/control.c:138:
@/xen/evtchn.h:16:38: error: machine/xen/synch_bitops.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//netback/netback.c:83:32: error: machine/xen/xen-os.h: No such file or directory
/scratch/tmp/bz/stable9.svn/sys/modules/xenhvm/../../dev/xen//netback/netback.c:84:32: error: machine/xen/xenvar.h: No such file or directory
In file included from @/xen/interface/xen.h:33,
                 from @/xen/hypervisor.h:32,
…


— 
Bjoern A. Zeeb             "Come on. Learn, goddamn it.", WarGames, 1983



More information about the svn-src-stable-9 mailing list