WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Re: [Fedora-ia64-list] Some testing result about Xen in

To: ia64 Fedora Core Development <fedora-ia64-list@xxxxxxxxxx>
Subject: [Xen-ia64-devel] Re: [Fedora-ia64-list] Some testing result about Xen in FC6-test2
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 24 Aug 2006 06:18:23 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 Aug 2006 14:18:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <094BCE01AFBE9646AF220B0B3F367AAB588DC2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <094BCE01AFBE9646AF220B0B3F367AAB588DC2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Xiantao and all

It's not known exactly why, but this problem is occured 
by making wrong elf header of gate.so.
The following patch fix this issue.
But this problem is not related to xen code, is related to linux code.
I look like this problem is fixed in linux-2.6.18-rc4.
So I think fedora-xen workers don't worry about this issue.


Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

diff -r d42e9a6f5378 linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S
--- a/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S  Fri Aug 18 15:01:04 
2006 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S  Thu Aug 24 06:01:30 
2006 +0900
@@ -13,6 +13,7 @@ SECTIONS
   . = GATE_ADDR + SIZEOF_HEADERS;
 
   .hash                                : { *(.hash) }                          
:readable
+  .gnu.hash                     : { *(.gnu.hash) }
   .dynsym                      : { *(.dynsym) }
   .dynstr                      : { *(.dynstr) }
   .gnu.version                 : { *(.gnu.version) }
diff -r d42e9a6f5378 tools/ioemu/usb-linux.c
--- a/tools/ioemu/usb-linux.c   Fri Aug 18 15:01:04 2006 -0600
+++ b/tools/ioemu/usb-linux.c   Thu Aug 24 06:01:30 2006 +0900
@@ -26,7 +26,6 @@
 #if defined(__linux__)
 #include <dirent.h>
 #include <sys/ioctl.h>
-#include <linux/compiler.h>
 #include <linux/usbdevice_fs.h>
 #include <linux/version.h>
 
--- linux-2.6.16.13-xen/arch/ia64/kernel/Makefile.orig  2006-05-03 
06:38:44.000000000 +0900
+++ linux-2.6.16.13-xen/arch/ia64/kernel/Makefile       2006-08-24 
05:51:10.000000000 +0900
@@ -44,7 +44,8 @@ CPPFLAGS_gate.lds := -P -C -U$(ARCH)
 quiet_cmd_gate = GATE $@
       cmd_gate = $(CC) -nostdlib $(GATECFLAGS_$(@F)) -Wl,-T,$(filter-out 
FORCE,$^) -o $@
 
-GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1
+GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \
+               $(call ld-option, -Wl$(comma)--hash-style=sysv)
 $(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE
        $(call if_changed,gate)
 

Best Regards,

Akio Takebe

>Hi all,
>
>I have installed FC6-test2 in a Tiger4 (I just tried NFS installation from 
>local monitor, it is okay). 
>
>As its original Xen RPM couldn't bring up Tiger4 (I have reported last time
>.), I tried the other 2 ways to test Xen.
>
>
>Way1, use FC6-test2 to build xen-ia64 unstable source/make/install
>       The changeset is 11031 (xen-ia64 unstable tree), kernel is 2.6.16.13.
>       Didn't meet issue in build and installation. But I couldn't boot up 
> Xen0, 
>because Xen0 kept rebooting. Please see the attachment for the serial port 
>log. Is it a compiler issue?
>
>
>Way2, use RHEL4u3 to build xen-ia64 unstable source/install/testing
>       This time, I used RHEL4u3 to build Xen. The source is same with way1.
>       Then, I installed the built out xen into FC6-test2 and its booting is 
> okay.
>       XenU and VTI domain can be created successfully.
>
>Best Regards,
>Yongkang (Kangkang) モタソオ
>
>
>-------------------------------text/plain-------------------------------
>--
>Fedora-ia64-list mailing list
>Fedora-ia64-list@xxxxxxxxxx
>https://www.redhat.com/mailman/listinfo/fedora-ia64-list

Attachment: elf.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>