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-ppc-devel

Re: [XenPPC] 64bit apps in DomU should get a more useful error message [

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [XenPPC] 64bit apps in DomU should get a more useful error message [Fixed]
From: Christian Ehrhardt <ehrhardt@xxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Jul 2007 15:22:24 +0200
Cc: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jul 2007 06:20:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <825D1725-7E4F-45B9-A58E-006866771A27@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <46922051.9070504@xxxxxxxxxxxxxxxxxx> <825D1725-7E4F-45B9-A58E-006866771A27@xxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070301)
Jimi Xenidis wrote:
Now Executed in a xenppc DomU
./hellobit.32
Hello World!
./hellobit.64
-bash: ./hellobit.64: No such file or directory
hmm.. this works just fine for me and should have nothing to do with Xen at all, unless your block device does not work :)
can you cat it? ls it? file it?
Yes I can (tested it already). Hollis suggested that there may be some compat libraries missing but I did not find an obvious one missing. And thats right, some links in /lib64 were broken while I created the DomU image files from my Dom0 some months ago.
I should never trust rpm -qa without checking file existence ;-)

=>Fixed, the following is just a bit of output how it looks like so that everyone with a similar issue will find some help here via google.

DomU:
uname -a
Linux xen_SLES10_G1 2.6.18-Xen #25 SMP Sun Jul 29 00:29:02 CEST 2007 ppc64 ppc64 ppc64 GNU/Linux
file hellobit.32 hellobit.64
hellobit.32: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped hellobit.64: ELF 64-bit MSB executable, cisco 7500, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped
ldd hellobit.32
       linux-vdso32.so.1 =>  (0x00100000)
       libc.so.6 => /lib/power4/libc.so.6 (0x0fe8b000)
       /lib/ld.so.1 (0xf7fe1000)
ldd hellobit.64
       not a dynamic executable

Dom0:
uname -a
Linux pbclient4 2.6.18-Xen #25 SMP Sun Jul 29 00:29:02 CEST 2007 ppc64 ppc64 ppc64 GNU/Linux
file hellobit.32 hellobit.64
hellobit.32: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), not stripped hellobit.64: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), not stripped
ldd hellobit.32
       linux-vdso32.so.1 =>  (0x00100000)
       libc.so.6 => /lib/libc.so.6 (0x0fe8d000)
       /lib/ld.so.1 (0xf7fe1000)
ldd hellobit.64
       linux-vdso64.so.1 =>  (0x0000000000100000)
       libc.so.6 => /lib64/libc.so.6 (0x0000040000055000)
       /lib64/ld64.so.1 (0x0000040000000000)

--

Grüsse / regards, Christian Ehrhardt

IBM Linux Technology Center, Open Virtualization
+49 7031/16-3385
Ehrhardt@xxxxxxxxxxxxxxxxxx
Ehrhardt@xxxxxxxxxx

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Johann Weihen Geschäftsführung: Herbert Kircher Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


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

<Prev in Thread] Current Thread [Next in Thread>