Skip to contentSkip to conversation

x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD

DISCUSSION Arun Sharma 2 participants 5 messages May 23, 2005 – May 25, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Vipin Bhargava

Using FC3 x86_64 and 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=y
CONFIG_X86_IO_APIC=y

Can you try turning them off?

-Arun

#2 lore raw
Quoted 5 lines
Quoted 3 lines · Vipin Bhargava

Using FC3 x86_64 and doing "make ARCH=xen world", I get the following:

Quoted 9 lines

The issue is that x86-64 Kconfig defaults these two to y.

CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y

Can you try turning them off?

-Arun

Sorry, that doesn't work :-(
Same error.

CC arch/xen/x86_64/kernel/mpparse.o
arch/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 once
arch/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

#3 lore raw
Quoted 11 lines · Vipin Bhargava
Quoted 11 lines
Quoted 3 lines · Vipin Bhargava

Using FC3 x86_64 and 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=y
CONFIG_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

#4 lore raw
Quoted 7 lines

If CONFIG_X86_IO_APIC=n, you shouldn't be trying to build mpparse.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.img

Does it work out-of-the-box with SATA drives?

Vip

#5 lore raw
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 option

Kernel panic - not syncing: VFS: Unable to mount root fs on

unknown-block(2,0)

my grub looks like:

Please post the full dmesg with and without xen. It works with SATA drives for me.

-Arun