|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Xen 3.1 build of 64-bit uniprocessor xenU kernel broken
Fixed by c/s 15563.
-- Keir
On 19/12/07 22:47, "Steve Dobbelstein" <steved@xxxxxxxxxx> wrote:
I am trying to build a 64-bit uniprocessor unprivileged Xen kernel on the latest xen-3.1-testing tree. I copied the buildconfigs/linux-defconfig_xenU_x86_64 to build-linux-2.6.18-xenU_x86_64/.config and ran make menuconfig making only on change to turn SMP off. The build fails with:
arch/x86_64/kernel/built-in.o: In function `identify_cpu':
/usr/src/xen/xen-3.1-testing.hg-15559/linux-2.6.18-xen/arch/x86_64/kernel/setup-xen.c:1406: undefined reference to `genapic'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2
make: Leaving directory `/usr/src/xen/xen-3.1-testing.hg-15559/linux-2.6.18-xen'
/linux-2.6.18-xen/arch/x86_64/kernel/setup-xen.c makes a reference to the genapic variable via the phys_pkg_id(0) macro. The genapic variable does not exist because it is declared in linux-2.6.18-xen/arch/x86_64/kernel/genapic.c, which is not built because CONFIG_X86_XEN_GENAPIC is not defined. (See linux-2.6.18-xen/arch/x86_64/kernel/Makefile where genapic.o and genapic_xen.o are only built if CONFIG_X86_XEN_GENAPIC is defined.) In linux-2.6.18-xen/arch/x86_64/Kconfig X86_XEN_GENAPIC is defined only if XEN_PRIVILEGED_GUEST || SMP is set. In my case--unpriviliedged, uniprocessor--neither is set, so X86_XEN_GENAPIC does not get set.
Steve D.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|