x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Vipin Bhargava
Using FC3
x86_64and doing "make ARCH=xen world", I get the following:
The issue is that x86-64 Kconfig defaults these two to y.
CONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y
Can you try turning them off?
-Arun
Quoted 5 lines
Quoted 3 lines · Vipin Bhargava
Using FC3
x86_64and doing "make ARCH=xen world", I get the following:
Quoted 9 lines
The issue is that x86-64
Kconfigdefaults these two to y.
CONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCan you try turning them off?
-Arun
Sorry, that doesn't work :-(
Same error.
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:548: error:
`isa_bus_to_virt_needs_PRIVILEGED_BUILD' undeclared (first use in this function)arch/xen/x86_64/kernel/mpparse.c:548: error: (Each undeclared identifier is reported only oncearch/xen/x86_64/kernel/mpparse.c:548: 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:584: error:
`isa_bus_to_virt_needs_PRIVILEGED_BUILD' undeclared (first use in this function)
make[3]: *** [arch/xen/x86_64/kernel/mpparse.o] Error 1 make[2]: *** [arch/xen/x86_64/kernel] Error 2
make[2]: Leaving directory `/home/vipin/xen-src/xen-unstable/linux-2.6.11-xenU'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/vipin/xen-src/xen-unstable'
make: *** [linux-2.6-xenU-build] Error 2
Vip
Quoted 11 lines · Vipin Bhargava
Quoted 11 lines
Quoted 3 lines · Vipin Bhargava
Using FC3
x86_64and doing "make ARCH=xen world", I get the following:The issue is that x86-64
Kconfigdefaults these two to y.
CONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y
Quoted 8 lines
Quoted 4 lines
Can you try turning them off?
-Arun
Sorry, that doesn't work :-(
Same error.
If CONFIG_X86_IO_APIC=n, you shouldn't be trying to build mpparse.c. Please try the updated patch I just sent.
-Arun
Quoted 7 lines
If
CONFIG_X86_IO_APIC=n, you shouldn't be trying to buildmpparse.c. Please try the updated patch I just sent.-Arun
This worked. Both xen0 and xenU compile.
It won't boot xen0, I get
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
my grub looks like:
title Fedora Core (2.6.11-initrd-xen0)
root (hd0,1)
kernel /boot/xen.gz dom0_mem=262144 noreboot
module /boot/vmlinuz-2.6.11.10-xen0 ro root=/dev/sda2
module /boot/initrd-2.6.11.10-xen0.imgDoes it work out-of-the-box with SATA drives?
Vip
Quoted 10 lines · Vipin Bhargava
It won't boot xen0, I get
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0) Please append a correct "root=" boot optionKernel panic - not syncing: VFS: Unable to mount root fs onunknown-block(2,0)
my grub looks like:
Please post the full dmesg with and without xen. It works with SATA drives for me.
-Arun