make world difficulties ia64 debian

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

make world difficulties ia64 debian

JCURREY
I have scouted around in the various FAQ's, the mailing list, and other parts of the xen.org site.  I have not been able to find an answer to my problem, so I apologize if I missed something obvious.
 
I had previously downloaded the xen-4.0.0 tarball from xen.org and have installed it on an intel PC running Debian Lenny.  I had absolutely no problems.
 
Today I am trying to install xen on an HP Itanium2 box running Debian Lenny.  I went through the same process of apt-get as required in the release notes (http://wiki.xensource.com/xenwiki/Xen4.04/24/2010) with the exception that gcc-multilib is evidently not available for IA64.
 
I proceeded with a "make world" and at the end got:
 
 AS      arch/ia64/xen/xensetup.o
  AS      arch/ia64/xen/xenpal.o
  CC      arch/ia64/xen/hypervisor.o
  CC      arch/ia64/xen/util.o
  CC      arch/ia64/xen/xencomm.o
  CC      arch/ia64/xen/xcom_hcall.o
/downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_hcall.c: In function ‘xencomm_hypercall_memory_op’:
/downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_hcall.c:449: warning: ‘buffer.p’ may be used uninitialized in this function
/downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_hcall.c:446: warning: ‘extent_start_va[0].p’ may be used uninitialized in this function
  CC      arch/ia64/xen/xcom_privcmd.o
/downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c: In function ‘xencomm_privcmd_sysctl’:
/downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c:188: error: ‘struct xen_sysctl_physinfo’ has no member named ‘cpu_to_node’
/downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c:190: error: ‘struct xen_sysctl_physinfo’ has no member named ‘cpu_to_node’
/downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c:194: error: ‘struct xen_sysctl_physinfo’ has no member named ‘cpu_to_node’
make[7]: *** [arch/ia64/xen/xcom_privcmd.o] Error 1
make[6]: *** [arch/ia64/xen] Error 2
make[5]: *** [vmlinuz] Error 2
make[4]: *** [vmlinuz] Error 2
make[4]: Leaving directory `/downloads/xen-4.0.0/build-linux-2.6.18-xen_ia64'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/downloads/xen-4.0.0'
make[2]: *** [linux-2.6-xen-install] Error 2
make[2]: Leaving directory `/downloads/xen-4.0.0'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/downloads/xen-4.0.0'
make: *** [world] Error 2
debian-sys0v:/downloads/xen-4.0.0#
 
It seems that cpu_to_node is not available.
 
Please point me in the right direction.
 
jimc

_______________________________________________
Xen-ia64-devel mailing list
[hidden email]
http://lists.xensource.com/xen-ia64-devel
Reply | Threaded
Open this post in threaded view
|

Re: make world difficulties ia64 debian

KUWAMURA Shin'ya
Hi,

>>>>> On Mon, 17 May 2010 06:51:39 EDT
>>>>> [hidden email] said:
>
> /downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c:  In
> function  `xencomm_privcmd_sysctl':
> /downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c:188:  
> error: `struct xen_sysctl_physinfo' has no member named  `
> cpu_to_node'
> /downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c:190:  
> error: `struct xen_sysctl_physinfo' has no member named  `
> cpu_to_node'
> /downloads/xen-4.0.0/linux-2.6.18-xen.hg/arch/ia64/xen/xcom_privcmd.c:194:  
> error: `struct xen_sysctl_physinfo' has no member named  `
> cpu_to_node'
> make[7]: *** [arch/ia64/xen/xcom_privcmd.o] Error  1

The current linux-2.6.18-xen.hg (changeset 1017:948c933f8839) is
broken and incompatible with xen-4.0.0 for ia64.
Please use an older changeset, e.g. 1016:5bccfba3e847.

For example:
  cd /downloads/xen-4.0.0/linux-2.6.18-xen.hg/
  hg update -C -r 1016
  cd /downloads/xen-4.0.0
  make

Best regards,
--
  KUWAMURA Shin'ya

_______________________________________________
Xen-ia64-devel mailing list
[hidden email]
http://lists.xensource.com/xen-ia64-devel
Reply | Threaded
Open this post in threaded view
|

Re: make world difficulties ia64 debian

JCURREY
In reply to this post by JCURREY
Thank you for your response and assistance.
 
I removed the previous directories and files, downloaded the xen-4.0.0 tarball, unpacked it, executed make world.
 
I then followed your instructions and rolled back to 1016 and executed the make with the following results:
 
/downloads/xen-4.0.0/tools/ioemu-dir/hw/pci.h:174:1: warning: "PCI_STATUS_FAST_BACK" redefined
In file included from /usr/include/pci/pci.h:13,
                 from /downloads/xen-4.0.0/tools/ioemu-dir/hw/pt-msi.h:4,
                 from /downloads/xen-4.0.0/tools/ioemu-dir/hw/pt-msi.c:22:
/usr/include/pci/header.h:33:1: warning: this is the location of the previous definition
  CC    i386-dm/kqemu.o
  CC    i386-dm/i386-dis.o
  AR    i386-dm/libqemu.a
  LINK  i386-dm/qemu-dm
vl.o: In function `drive_get_index':
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2242: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2242: relocation truncated to fit: GPREL22 against `.data.rel.ro'
vl.o: In function `drive_get_max_bus':
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2263: relocation truncated to fit: GPREL22 against `.data.rel.ro'
vl.o: In function `drive_get_serial':
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2277: relocation truncated to fit: GPREL22 against `.data.rel.ro'
vl.o: In function `drive_get_onerror':
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2288: relocation truncated to fit: GPREL22 against `.data.rel.ro'
vl.o: In function `show_available_alarms':
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:1050: relocation truncated to fit: GPREL22 against `.rodata.cst8'
vl.o: In function `drive_init':
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2574: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2568: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2574: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2596: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2596: additional relocation overflows omitted from the output
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[4]: *** [qemu-dm] Error 1
make[4]: Leaving directory `/downloads/xen-4.0.0/tools/ioemu-qemu-xen/i386-dm'
make[3]: *** [subdir-i386-dm] Error 2
make[3]: Leaving directory `/downloads/xen-4.0.0/tools/ioemu-qemu-xen'
make[2]: *** [subdir-install-ioemu-dir] Error 2
make[2]: Leaving directory `/downloads/xen-4.0.0/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/downloads/xen-4.0.0/tools'
make: *** [install-tools] Error 2
debian-sys0v:/downloads/xen-4.0.0#
 
I hope that you will be able to tell me how to proceed.
 
jimc

_______________________________________________
Xen-ia64-devel mailing list
[hidden email]
http://lists.xensource.com/xen-ia64-devel
Reply | Threaded
Open this post in threaded view
|

Re: make world difficulties ia64 debian

KUWAMURA Shin'ya
Hi,

>>>>> On Tue, 18 May 2010 10:35:01 EDT
>>>>> [hidden email] said:
>
> LINK  i386-dm/qemu-dm
> vl.o: In function  `drive_get_index':
> /downloads/xen-4.0.0/tools/ioemu-dir/vl.c:2242: relocation  truncated to
> fit: GPREL22 against  `.data.rel.ro'

This seems to gcc-related problem.  On RHEL5.4, GCC 4.1.2 works well,
but GCC 4.4.0 does not work because of the same error.

Could you use gcc-4.1?
# make CC=gcc-4.1

Best regards,
--
  KUWAMURA Shin'ya

_______________________________________________
Xen-ia64-devel mailing list
[hidden email]
http://lists.xensource.com/xen-ia64-devel
Reply | Threaded
Open this post in threaded view
|

Re: make world difficulties ia64 debian

JCURREY
In reply to this post by JCURREY
Thank you.
 
We got a complete compile.
 
The final formula was:
 
1) Delete the prior work
2) Unpack the tarball
3) apt-get install gcc-4.1
4) the hg update -C -r 1016 that you recommended before
5) make CC=gcc-4.1
 
Now on to booting and testing.
 
Thank you again.
 
jimc

_______________________________________________
Xen-ia64-devel mailing list
[hidden email]
http://lists.xensource.com/xen-ia64-devel