x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
Using FC3 x86_64 and doing "make ARCH=xen world", I get the following:
CC arch/xen/x86_64/kernel/mpparse.oarch/xen/x86_64/kernel/mpparse.c: In function `get_smp_config':arch/xen/x86_64/kernel/mpparse.c:549: error:
`isa_bus_to_virt_needs_PRIVILEGED_BUILD' undeclared (first use in this function)arch/xen/x86_64/kernel/mpparse.c:549: error: (Each undeclared identifier is reported only oncearch/xen/x86_64/kernel/mpparse.c:549: error: for each function it appears in.)arch/xen/x86_64/kernel/mpparse.c: In function `smp_scan_config':arch/xen/x86_64/kernel/mpparse.c:585: error:
`isa_bus_to_virt_needs_PRIVILEGED_BUILD' undeclared (first use in this function)
make[4]: *** [arch/xen/x86_64/kernel/mpparse.o] Error 1 make[3]: *** [arch/xen/x86_64/kernel] Error 2
make[3]: Leaving directory `/home/vipin/xen-src/xen-unstable/linux-2.6.11-xenU'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/vipin/xen-src/xen-unstable' make[1]: *** [linux-2.6-xenU-build] Error 2
make[1]: Leaving directory `/home/vipin/xen-src/xen-unstable'
make: *** [kernels] Error 1
On a complete guess -
The .config shows:
# CONFIG_XEN_PHYSDEV_ACCESS is not set
Why does include/asm-xen/asm-x86_64/io.h not seem to do this properly with:
#ifdef CONFIG_XEN_PHYSDEV_ACCESS
#define isa_bus_to_virt(_x) (void *)(__fix_to_virt(FIX_ISAMAP_BEGIN) + (_x)) #else
#define isa_bus_to_virt(_x) isa_bus_to_virt_needs_PRIVILEGED_BUILD #endif
xen0 compiles fine.
Vip
Quoted 6 lines · Vipin Bhargava
Using FC3
x86_64and doing "make ARCH=xen world", I get the following:CC
arch/xen/x86_64/kernel/mpparse.oarch/xen/x86_64/kernel/mpparse.c: In function `get_smp_config':arch/xen/x86_64/kernel/mpparse.c:549: error:
We're still in the process of sorting out x86/64 dom0 -- domU is not at all expected to work or even build. No control tools for booting domUs are checked in yet anyway.
-- Keir
Quoted 10 lines · Vipin Bhargava
Quoted 7 lines
Using FC3
x86_64and doing "make ARCH=xen world", I get the following:CC
arch/xen/x86_64/kernel/mpparse.oarch/xen/x86_64/kernel/mpparse.c: In function `get_smp_config':arch/xen/x86_64/kernel/mpparse.c:549: error:
Quoted 5 lines
We're still in the process of sorting out x86/64 dom0 -- domU is not at all expected to work or even build. No control tools for booting domUs are checked in yet anyway.
-- Keir
Ok. Thanks for the info.
I was informed on irc #xen to wait at least a couple of weeks, before anything stable is to show up in the x86_64.
Vip