* x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
@ 2005-05-23 16:23 Vipin Bhargava
2005-05-23 20:03 ` Keir Fraser
0 siblings, 1 reply; 9+ messages in thread
From: Vipin Bhargava @ 2005-05-23 16:23 UTC (permalink / raw)
To: xen-devel
Using FC3 x86_64 and doing "make ARCH=xen world", I get the
following:
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: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 once
arch/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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
[not found] <mailman.1116874317.9642@unix-os.sc.intel.com>
@ 2005-05-23 19:34 ` Arun Sharma
2005-05-23 23:22 ` Vipin Bhargava
0 siblings, 1 reply; 9+ messages in thread
From: Arun Sharma @ 2005-05-23 19:34 UTC (permalink / raw)
To: Vipin Bhargava; +Cc: xen-devel
Vipin Bhargava wrote:
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
2005-05-23 16:23 Vipin Bhargava
@ 2005-05-23 20:03 ` Keir Fraser
2005-05-23 23:24 ` Vipin Bhargava
0 siblings, 1 reply; 9+ messages in thread
From: Keir Fraser @ 2005-05-23 20:03 UTC (permalink / raw)
To: Vipin Bhargava; +Cc: xen-devel
On 23 May 2005, at 17:23, Vipin Bhargava wrote:
> Using FC3 x86_64 and doing "make ARCH=xen world", I get the
> following:
>
> 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: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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
2005-05-23 19:34 ` x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD Arun Sharma
@ 2005-05-23 23:22 ` Vipin Bhargava
2005-05-24 0:19 ` Arun Sharma
0 siblings, 1 reply; 9+ messages in thread
From: Vipin Bhargava @ 2005-05-23 23:22 UTC (permalink / raw)
To: Arun Sharma; +Cc: xen-devel, Vipin Bhargava
> Vipin Bhargava wrote:
>> 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
>
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
2005-05-23 20:03 ` Keir Fraser
@ 2005-05-23 23:24 ` Vipin Bhargava
0 siblings, 0 replies; 9+ messages in thread
From: Vipin Bhargava @ 2005-05-23 23:24 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel, Vipin Bhargava
>
> On 23 May 2005, at 17:23, Vipin Bhargava wrote:
>
>> Using FC3 x86_64 and doing "make ARCH=xen world", I get the
>> following:
>>
>> 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: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
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
2005-05-23 23:22 ` Vipin Bhargava
@ 2005-05-24 0:19 ` Arun Sharma
2005-05-25 2:13 ` Vipin Bhargava
0 siblings, 1 reply; 9+ messages in thread
From: Arun Sharma @ 2005-05-24 0:19 UTC (permalink / raw)
To: Vipin Bhargava; +Cc: xen-devel
Vipin Bhargava wrote:
>>Vipin Bhargava wrote:
>>
>>>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
>>
>
>
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
@ 2005-05-24 2:31 Nakajima, Jun
0 siblings, 0 replies; 9+ messages in thread
From: Nakajima, Jun @ 2005-05-24 2:31 UTC (permalink / raw)
To: Vipin Bhargava, Keir Fraser; +Cc: xen-devel
Vipin Bhargava wrote:
>>
>> 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.
It's true that x86-64 xenlinux is not for public consumption yet, but
we'll be surprised if dom0 does not boot or run well even at this point.
We checked:
Latest ChangeSet: 2005/05/23 19:35:08 1.1516
4292225caWyLsfo-mZ3yV4QmUhXSAQ
It worked on both UP & DP systems with ACPI on. On DP system if acpi=off
is given to both xen & dom0 it works. So please build xen and dom0, and
test that on x86-64 as well before you deliver changes if affect x86-64.
Jun
>
> Vip
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
2005-05-24 0:19 ` Arun Sharma
@ 2005-05-25 2:13 ` Vipin Bhargava
2005-05-25 17:13 ` Arun Sharma
0 siblings, 1 reply; 9+ messages in thread
From: Vipin Bhargava @ 2005-05-25 2:13 UTC (permalink / raw)
To: Arun Sharma; +Cc: xen-devel, Vipin Bhargava
>
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
2005-05-25 2:13 ` Vipin Bhargava
@ 2005-05-25 17:13 ` Arun Sharma
0 siblings, 0 replies; 9+ messages in thread
From: Arun Sharma @ 2005-05-25 17:13 UTC (permalink / raw)
To: Vipin Bhargava; +Cc: xen-devel
Vipin Bhargava wrote:
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-05-25 17:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1116874317.9642@unix-os.sc.intel.com>
2005-05-23 19:34 ` x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD Arun Sharma
2005-05-23 23:22 ` Vipin Bhargava
2005-05-24 0:19 ` Arun Sharma
2005-05-25 2:13 ` Vipin Bhargava
2005-05-25 17:13 ` Arun Sharma
2005-05-24 2:31 Nakajima, Jun
-- strict thread matches above, loose matches on Subject: below --
2005-05-23 16:23 Vipin Bhargava
2005-05-23 20:03 ` Keir Fraser
2005-05-23 23:24 ` Vipin Bhargava
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.