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 <[EMAIL PROTECTED]>

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
>[EMAIL PROTECTED]
>https://www.redhat.com/mailman/listinfo/fedora-ia64-list

Attachment: elf.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to