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

Re: [Xen-devel] xen-unstable-9514 and CONFIG_IA32_EMULATION

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen-unstable-9514 and CONFIG_IA32_EMULATION
From: "Magnus Damm" <magnus.damm@xxxxxxxxx>
Date: Thu, 20 Apr 2006 08:48:15 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Apr 2006 16:48:34 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k8lOLROOx+XGS8YfNeDcXf+bQ0JY3oEh5/BPiGM/rGRMYDQQprC1Cnq9xqKKGA/IKu5L/KWo8lcJHpmB8G0Fjmg1BiAIUs6AqqqTMyjCwTrsI8bhUUpoz6BNzvuhCz5QUXEDos3bfZ4tdeEebJH+P69QkckfD/blBSBNuvlTcQA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA354@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA354@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 4/19/06, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> wrote:
> > Maybe one of you quickly can tell me if the x86_64 kernel
> > configuration option CONFIG_IA32_EMULATION is supposed to
> > work under Xen?
> >
> > I've used an ia32 root file system together with
> > CONFIG_IA32_EMULATION inside qemu-system-x86_64 for quite a
> > while now (without xen). It works pretty well.
> >
> > However, when I try this with xen-unstable-9514 all I get is
> > general protection errors...
>
> It seems to work pretty well for me. What 32b distro are you using?

I'm using a minimal custom initramfs, basically busybox built using crosstool.

> Does the system boot successfully despite the complaints?

Nope. I will get an endless amount of segfault messages, but no shell.

I did some more testing this morning. First I replaced /init with a
native static x86_64 version of bash. /init started ok, but running
the ia32 version of /bin/sh resulted in:

[snip]
NET: Registered protocol family 17
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 10.0.2.2, my address is 10.0.2.15
IP-Config: Complete:
      device=eth0, addr=10.0.2.15, mask=255.255.255.0, gw=10.0.2.2,
     host=10.0.2.15, domain=, nis-domain=(none),
     bootserver=10.0.2.2, rootserver=10.0.2.2, rootpath=
init-3.1# /bin/sh
sh[13] general protection rip:f7fd684b rsp:ffffd1fc error:802
Segmentation fault
init-3.1#

To understand more I've tried the same initramfs with and without Xen,
on both i386 and x86_64.

Working in qemu (i386): vanilla-2.6.16, linux-2.6.16-xen (dom0)
Working in qemu-system-x86_64: vanilla-2.6.16
Not working in qemu-system-x8x_64: linux-2.6.16-xen (dom0)

I will try to find some real x86_64 hardware, but it the meantime I'd
be happy to email the initramfs to anyone. The file is about 2 megs
large.

Also, I've wonder if this is related to tls? Or maybe it is qemu...

Thanks for the help!

/ magnus

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

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