Vipin Bhargava
2005-May-23 16:23 UTC
[Xen-devel] 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.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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arun Sharma
2005-May-23 19:34 UTC
Re: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2005-May-23 20:03 UTC
Re: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vipin Bhargava
2005-May-23 23:22 UTC
Re: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vipin Bhargava
2005-May-23 23:24 UTC
Re: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
> > 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. > > -- KeirOk. 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arun Sharma
2005-May-24 00:19 UTC
Re: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Nakajima, Jun
2005-May-24 02:31 UTC
RE: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vipin Bhargava
2005-May-25 02:13 UTC
Re: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
> > 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arun Sharma
2005-May-25 17:13 UTC
Re: [Xen-devel] x86_64 compile error / isa_bus_to_virt_needs_PRIVILEGED_BUILD
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel