5 messages in com.xensource.lists.xen-ia64-develRe: [Xen-ia64-devel] some more proble...
FromSent OnAttachments
Magenheimer, Dan (HP Labs Fort Collins)10 May 2005 07:57 
Ricardo Staudt10 May 2005 11:37 
Magenheimer, Dan (HP Labs Fort Collins)11 May 2005 08:29 
Magenheimer, Dan (HP Labs Fort Collins)11 May 2005 13:55 
Ricardo Staudt11 May 2005 21:23 
Subject:Re: [Xen-ia64-devel] some more problems...
From:Ricardo Staudt (rica@cpts.pucrs.br)
Date:05/11/2005 09:23:56 PM
List:com.xensource.lists.xen-ia64-devel

(NOTE: I'm forwarding this e-mail to the list, I previously sent this e-mail to Dan alone by mistake)

Yep, I got it, I guess that most of the problem we had was actually because we were trying to run that 'install.sh' file in the main directory (as if we were compiling the i386 version) in order to compile the xen kernel, we were obviously wrong but didn't noticed because it seemed to work well until a certain point :P.

We're now trying to figure out how to configure elilo.conf properly to boot it, but I didn't had much time to check that out yet. Is there a doc file explaining it or a sample anywhere?

I'm from a HP lab down here in Brazil and I'm part of the team that's working on a upcoming tests for this project. Most of the confusion that resulted on those problems came because we are currently porting a rather big test plan that was previously designed for the i386 platform in order to use on the upcoming ia64 tests. Once we get it all working, we will start running tests like crazy and publish them to you and the community. We also plan to write some documentation and articles in order to help since you guys seem to be way too busy working on the this implementation alone.

Magenheimer, Dan (HP Labs Fort Collins) wrote:

Hi Ricardo --

Were you able to get the compile working?

-----Original Message----- From: xen-@lists.xensource.com [mailto:xen-@lists.xensource.com] On Behalf Of Ricardo Staudt Sent: Tuesday, May 10, 2005 12:37 PM To: xen-@lists.xensource.com Subject: [Xen-ia64-devel] some more problems...

Hello fellow hard working Xen developers, I'm having some more problems trying to compile Xen/ia64... yet again :)

Ok, first of all (and this might be the problem right here), what would be the ideal environment to compile Xen on a ia64? As I posted before, I'm using a RX5670 Itanium 2 running Redhat AS update 3 with the updated glibc to the newest version. What are YOU guys using? I suppose that the problems I'm having may have to do with the the library versions (glibc, python or whatever) or the OS, so any support on that would be very helpful.

Oh, btw, I'm trying to compile the xeno-unstable-ia64.bk <http://xen-ia64.bkbits.net:8080/xeno-unstable-ia64.bk> repository (which I assume is the correct), should I try another? My 'make' attempt error:

make -C xen install make[1]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen' rm -f include/xen/banner.h include/xen/compile.h drivers/char/console.o make -C arch/ia64 delete-unfresh-files make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64' echo any unfresh-files to delete for ia64\? any unfresh-files to delete for ia64? make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64'make include/xen/compile.h make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen' tools/figlet/figlet -d tools/figlet Xen 3.0"-devel" > include/xen/banner.h.new __ __ _____ ___ _ _ \ \/ /___ _ __ |___ / / _ \ __| | _____ _____| | \ // _ \ '_ \ |_ \| | | |__ / _` |/ _ \ \ / / _ \ | / \ __/ | | | ___) | |_| |__| (_| | __/\ V / __/ | /_/\_\___|_| |_| |____(_)___/ \__,_|\___| \_/ \___|_|

make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen' [ -e include/asm ] || ln -sf asm-ia64 include/asm make -C arch/ia64 asm-offsets.s make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64' make[2]: `asm-offsets.s' is up to date. make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64'make include/asm-ia64/asm-offsets.h make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen' make[2]: `include/asm-ia64/asm-offsets.h' is up to date. make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen' make -C common make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/common' make[2]: Nothing to be done for `default'. make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/common' make -C drivers make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers' make -C char make[3]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers/char' gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -O2 -iwithprefix include -Wall -fomit-frame-pointer -I/root/bitkeeper/xeno-unstable-ia64.bk/xen/include -D__KERNEL__ -I/root/bitkeeper/xeno-unstable-ia64.bk/xen/include/asm-ia64 -Wno-pointer-arith -Wredundant-decls -DIA64 -DXEN -DLINUX_2_6 -ffixed-r13 -mfixed-range=f12-f15,f32-f127 -w -g -DNDEBUG -c console.c -o console.o ld -g -r -o driver.o console.o serial.o make[3]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers/char' make -C acpi make[3]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers/acpi' make[3]: Nothing to be done for `default'. make[3]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers/acpi' #make -C pci make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers' make -C arch/ia64 make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64' ld -r -o arch.o xensetup.o setup.o time.o irq.o ia64_ksyms.o process.o smp.o xenmisc.o pdb-stub.o acpi.o hypercall.o machvec.o dom0_ops.o domain.o idle0_task.o pal.o hpsim.o efi.o efi_stub.o ivt.o mm_contig.o xenmem.o sal.o cmdline.o mm_init.o tlb.o smpboot.o extable.o linuxextable.o xenirq.o xentime.o regionreg.o entry.o unaligned.o privop.o vcpu.o irq_ia64.o irq_lsapic.o vhpt.o xenasm.o dom_fw.o ia64lib.o ld -g -T /root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64/xen.lds.s -N \ -Map map.out head.o /root/bitkeeper/xeno-unstable-ia64.bk/xen/common/common.o /root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers/char/driver.o /root/bitkeeper/xeno-unstable-ia64.bk/xen/drivers/acpi/driver.o /root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64/arch.o -o /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen-syms objcopy -R .note -R .comment -S /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen-syms /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen/arch/ia64'gzip -f -9 < /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen > /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen.gz.new mv /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen.gz.new /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen.gz [ -d /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/boot ] || install -d -m0755 /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/boot install -m0644 /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen.gz /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/boot install -m0644 /root/bitkeeper/xeno-unstable-ia64.bk/xen/xen-syms /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/boot [ -d /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/include /xen/io ] || \ install -d -m0755 /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/include/xen/io install -m0644 include/public/*.h /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/include/xen install -m0644 include/public/io/*.h /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/include/xen/io install -m0644 include/public/COPYING /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/include/xen make[1]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/xen' make -C tools install make[1]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools' make -C check make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/check' ./chk build make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/check' make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxutil' make libxutil.so libxutil.so.3.0 libxutil.so.3.0.0 libxutil.a make[3]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxutil' make[3]: `libxutil.so' is up to date. make[3]: `libxutil.so.3.0' is up to date. make[3]: `libxutil.so.3.0.0' is up to date. make[3]: `libxutil.a' is up to date. make[3]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxutil' [ -d /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/lib ] || install -d -m0755 -p /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/lib install -m0755 libxutil.so.3.0.0 /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/lib install -m0644 libxutil.a /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/lib ln -sf libxutil.so.3.0.0 /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/lib/lib xutil.so.3.0 ln -sf libxutil.so.3.0 /root/bitkeeper/xeno-unstable-ia64.bk/dist/install/usr/lib/libxutil.so make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxutil' make[2]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxc' [ -e xen/linux ] || mkdir -p xen/linux [ -e xen/io ] || mkdir -p xen/io ( cd xen >/dev/null ; \ ln -sf ../../../xen/include/public/*.h . ) ( cd xen/io >/dev/null ; \ ln -sf ../../../../xen/include/public/io/*.h . ) ( cd xen/linux >/dev/null ; \ ln -sf ../../../../linux-2.6.11-xen-sparse/include/asm-xen/linux-publ ic/*.h . ) make libxc.a libxc.so libxc.so.3.0 libxc.so.3.0.0 make[3]: Entering directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxc' make[3]: `libxc.a' is up to date. gcc -DPIC -Wall -Werror -O3 -fno-strict-aliasing -I ../../tools/libxutil -I. -Wp,-MD,.xc_bvtsched.opic.d -fPIC -c -o xc_bvtsched.opic xc_bvtsched.c In file included from xen/arch-ia64.h:36, from xen/xen.h:17, from xc.h:24, from xc_private.h:17, from xc_bvtsched.c:9: /usr/include/asm/tlb.h:1:29: asm-generic/tlb.h: No such file or directory In file included from xen/xen.h:17, from xc.h:24, from xc_private.h:17, from xc_bvtsched.c:9: xen/arch-ia64.h:69: syntax error before "TR_ENTRY" cc1: warnings being treated as errors xen/arch-ia64.h:69: warning: no semicolon at end of struct or union xen/arch-ia64.h:70: `NDTRS' undeclared here (not in a function) xen/arch-ia64.h:70: warning: type defaults to `int' in declaration of `dtrs' xen/arch-ia64.h:70: warning: data definition has no type or storage class xen/arch-ia64.h:71: syntax error before "itlb" xen/arch-ia64.h:71: warning: type defaults to `int' in declaration of `itlb' xen/arch-ia64.h:71: warning: data definition has no type or storage class xen/arch-ia64.h:72: syntax error before "dtlb" xen/arch-ia64.h:72: warning: type defaults to `int' in declaration of `dtlb' xen/arch-ia64.h:72: warning: data definition has no type or storage class xen/arch-ia64.h:85: syntax error before '}' token xen/arch-ia64.h:85: warning: type defaults to `int' in declaration of `arch_vcpu_info_t' xen/arch-ia64.h:85: warning: data definition has no type or storage class In file included from xc.h:24, from xc_private.h:17, from xc_bvtsched.c:9: xen/xen.h:338: syntax error before "arch_vcpu_info_t" xen/xen.h:338: warning: no semicolon at end of struct or union xen/xen.h:339: warning: type defaults to `int' in declaration of `vcpu_info_t' xen/xen.h:339: warning: data definition has no type or storage class xen/xen.h:347: syntax error before "vcpu_info_t" xen/xen.h:347: warning: no semicolon at end of struct or union xen/xen.h:416: syntax error before '}' token xen/xen.h:416: warning: type defaults to `int' in declaration of `shared_info_t'xen/xen.h:416: warning: data definition has no type or storage class xen/xen.h:474: syntax error before '*' token xen/xen.h:474: warning: type defaults to `int' in declaration of `HYPERVISOR_shared_info' xen/xen.h:474: warning: data definition has no type or storage class In file included from xc_private.h:17, from xc_bvtsched.c:9: xc.h:42:2: #error "Define barriers" xen/arch-ia64.h:70: storage size of `dtrs' isn't known make[3]: *** [xc_bvtsched.opic] Error 1 make[3]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxc' make[2]: *** [build] Error 2 make[2]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools/libxc' make[1]: *** [install] Error 2 make[1]: Leaving directory `/root/bitkeeper/xeno-unstable-ia64.bk/tools' make: *** [tools] Error 2