I am trying to build the unmodified_drivers for SuSE10 with the latest unstable XEN x64 version. It doesn't seem to work (or at least for me it doesn't). There appears to be a possible interface version mismatch. Can someone take a quick look and see if soemthing is broken in Xen.
SLES10x64:/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6 # ./mkbuildtree
Defaulting to this machine's architecture, x86_64, for linking.
This may be overridden on the command line (i386,x86_64,ia64).
create symbolic link `platform-pci/gnttab.c' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/drivers/xen/core/gnttab.c'
create symbolic link `platform-pci/features.c' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/drivers/xen/core/features.c'
create symbolic link `xenbus/xen_proc.c' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/drivers/xen/core/xen_proc.c'
create symbolic link `util/reboot.c' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/drivers/xen/core/reboot.c'
create symbolic link `include/asm/hypervisor.h' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypervisor.h'
create symbolic link `include/asm/hypercall.h' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h'
create symbolic link `include/asm/synch_bitops.h' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/synch_bitops.h'
create symbolic link `include/asm/maddr.h' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/maddr.h'
create symbolic link `include/asm-i386/asm-i386' to `/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/../../linux-2.6-xen-sparse/include/asm-i386'
SLES10x64:/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6 # make -C /lib/modules/2.6.16.21-0.8-smp/build M=$PWD modules
make: Entering directory `/usr/src/linux-2.6.16.21-0.8-obj/x86_64/smp'
make -C /usr/src/linux-2.6.16.21-0.8 O=/usr/src/linux-2.6.16.21-0.8-obj/x86_64/smp modules
CC [M] /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.o
In file included from /usr/src/linux-2.6.16.21-0.8/include/xen/interface/xen.h:439,
from /usr/src/linux-2.6.16.21-0.8/include/asm-i386/mach-xen/asm/hypervisor.h:41,
from /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypervisor.h:2,
from /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/block.h:51,
from /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:39:
/usr/src/linux-2.6.16.21-0.8/include/xen/interface/xen-compat.h:23:2: error: #error "These header files do not support the requested interface version."
In file included from /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:44:
/usr/src/linux-2.6.16.21-0.8/include/xen/evtchn.h: In function ânotify_remote_via_evtchnâ:
/usr/src/linux-2.6.16.21-0.8/include/xen/evtchn.h:107: warning: passing argument 1 of âHYPERVISOR_event_channel_opâ makes integer from pointer without a cast
/usr/src/linux-2.6.16.21-0.8/include/xen/evtchn.h:107: error: too few arguments to function âHYPERVISOR_event_channel_opâ
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function âblkfront_probeâ:
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:91: error: âXBT_NILâ undeclared (first use in this function)
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:91: error: (Each undeclared identifier is reported only once
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:91: error: for each function it appears in.)
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function âtalk_to_backendâ:
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:156: error: storage size of âxbtâ isnât known
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:156: warning: unused variable âxbtâ
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: At top level:
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:255: warning: âenum xenbus_stateâ declared inside parameter list
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:255: warning: its scope is only this definition or declaration, which is probably not what you want
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:255: error: parameter 2 (âbackend_stateâ) has incomplete type
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function âconnectâ:
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:311: error: âXBT_NILâ undeclared (first use in this function)
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function âblkfront_closingâ:
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:369: error: implicit declaration of function âxenbus_frontend_closedâ
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function âblkif_releaseâ:
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:457: error: variable âstateâ has initializer but incomplete type
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:457: error: storage size of âstateâ isnât known
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:457: warning: unused variable âstateâ
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function âxlblk_initâ:
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:857: error: implicit declaration of function âis_running_on_xenâ
make[4]: *** [/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.o] Error 1
make[3]: *** [/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront] Error 2
make[2]: *** [_module_/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-2.6.16.21-0.8-obj/x86_64/smp'
SLES10x64:/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6 #
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|