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] Running Xen inside QEMU

To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, Martin Dommermuth <mailmartin@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Running Xen inside QEMU
From: "Robert Kaiser (FH)" <kaiser@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 May 2008 23:04:26 +0200
Delivery-date: Fri, 09 May 2008 14:04:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080505103122.GE4497@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: Wiesbaden University of Applied Sciences
References: <20080505102551.GC6309@m42s11> <20080505103122.GE4497@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
Hi,


Am Montag, 5. May 2008 12:31 schrieb Samuel Thibault:
> Martin Dommermuth, le Mon 05 May 2008 12:25:51 +0200, a écrit :
> > Hi there,
> >
> > I hope this is the right list to ask this. Sorry, if not.
> >
> > I am about to create a realtime scheduler for XEN as my diploma
> > thesis. During development I want to run Xen inside of Qemu.
> > When I try to boot the last lines I see are:
> > Freeing unused kernel memory: 196k freed
> > input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
> >
> > Then nothing more happens. I see qemu maxing out my cpu. I can still
> > type and delete chars.
> > Any idea what's causing this? Is it stuck in Xen or the Linux kernel?
>
> These messages come from the Linux kernel, so it's most probably Linux
> which somehow got wrong.  Which parameters do you give to it?  You may
> want to use the serial console as well (add -serial stdio to the qemu
> command line).
>

I'm using qemu's built-in GDB stub to trace/debug Xen, and I had this problem 
too: The Dom0 Linux crashes/hangs just after the message "Freeing unused 
kernel memory: ...". I was able to get it to work by building both Xen and 
the Linux guest with PAE disabled, i.e. "make dist XEN_TARGET_X86_PAE=n".

This seems a bit strange since qemu supposedly supports PAE, nevertheless, 
disabling it fixed the problem for me :-).

Cheers

Rob
-- 
Robert Kaiser                    http://wwwvs.informatik.fh-wiesbaden.de
Labor für Verteilte Systeme            kaiser@xxxxxxxxxxxxxxxxxxxxxxxxxx
FH Wiesbaden - University of Applied Sciences     tel: (+49)611-9495-294
Kurt-Schumacher-Ring 18, 65197 Wiesbaden, Germany fax: (+49)611-9495-289 


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

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

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