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-arm

RE: [XenARM] android emulator

To: <michael@xxxxxxxxxxxx>, <xen-arm@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [XenARM] android emulator
From: Caz Yokoyama <cazyokoyama@xxxxxxxxx>
Date: Mon, 19 Oct 2009 15:02:03 -0700
Cc:
Delivery-date: Mon, 19 Oct 2009 15:02:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references:subject :date:message-id:mime-version:content-type:content-transfer-encoding :x-mailer:in-reply-to:thread-index:x-mimeole; bh=Z1RpK9EfeRDYQVWYLs+2YqUazJTgg40y2ynpqKeHyJ0=; b=u5aIAtD6NX/dr21/HeEXTLCfpEwYFbiqZJ0bkVo7lTy7794O2HDahpJKGw3Q5/k9pj hXaJZnSrtnGLBSMkHXzbiMj8Qs0gRo4VmidB7J12ghqC11AttcYuTPbLrIhFpQ8VC7j/ aQBxARrGmmHAljRaVf42KBUZf81pdReytmTeM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:in-reply-to :thread-index:x-mimeole; b=asoLk0dmG2QRS/Q75eG/w2sNX8cJc07szc9htV/f3FAwua1crIlXqC1nKvNqFOcKsN xpGCxE1AIE1o9bfs6sXieOdGxQql2Cbzbb/TyCkLNo/wgnRUDE9NW1hnjyn58WkPwzg6 Td35B0mySl3j7pIy2utCo+w9h1r7wkArF/0wk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4ADCC4BE.8050206@xxxxxxxxxxxx>
List-help: <mailto:xen-arm-request@lists.xensource.com?subject=help>
List-id: Xen ARM development <xen-arm.lists.xensource.com>
List-post: <mailto:xen-arm@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=unsubscribe>
References: <4ADCC4BE.8050206@xxxxxxxxxxxx>
Sender: xen-arm-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpRBA3+IRzUDwJuSOOn2/dOFEhsaQAAqvyQ
Hello Michael,
What optimization option do you use? -O2? -O0? Don't use -O0. You will have
segfault. Could you run backtrace command on segfault? In addition, please
provide more detail of your environment.
-caz
P.S. You may not hear from anybody other than me. This is a very quiet
mailing list.

-----Original Message-----
From: xen-arm-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-arm-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Michael R. Hines
Sent: Monday, October 19, 2009 12:58 PM
To: xen-arm@xxxxxxxxxxxxxxxxxxx
Subject: [XenARM] android emulator

Greetings,

I have followed all the instructions in the Secure XenARM manual and I
went through section A.2 on how to build XenARM for the Android
emulator. I successfully built the arm-port of Xen as well as the
arm-port of mini-os and I built the patched version of QEMU 0.82.

When I tried to run the emulator, I get a segfault - From what I can
tell, the fault occurs at the very first instruction when QEMU attempts
to start running the Xen hypervisor.

Here is the output of a sample GDB session:

$ gdb emulator
$ (gdb) run -guest0 0x01c00000 mini-os.elf -guest1 0x02c00000
mini-os.elf -show-kernel -system ./images -shell -qemu -s
Starting program: ../android-emulator-xen_arm/emulator -guest0
0x01c00000 mini-os.elf -guest1 0x02c00000 mini-os.elf -show-kernel
-system ./images  -shell -qemu -s
[Thread debugging using libthread_db enabled]
guest0 - mini-os.elf
guest1 - mini-os.elf
[New Thread 0x7f32a807c6f0 (LWP 5913)]
[New Thread 0x7f329e9f0950 (LWP 5916)]
[New Thread 0x7f329e1ef950 (LWP 5917)]
Waiting gdb connection on port 1234

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f32a807c6f0 (LWP 5913)]
0x0000000000000000 in ?? ()
(gdb)


Any ideas on where I could start debugging this? Or are there updated
patches to make this work?

-- 
/*
 * Michael R. Hines
 * Post-Doc, Dept. of Computer Science
 * http://www.cs.columbia.edu/~mhines/
 * Live long and prosper...
 */


_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm


_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm

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