From: "Robert Kaiser (FH)" Subject: Re: Running Xen inside QEMU Date: Fri, 9 May 2008 23:04:26 +0200 Message-ID: <200805092304.26841.kaiser@informatik.fh-wiesbaden.de> References: <20080505102551.GC6309@m42s11> <20080505103122.GE4497@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20080505103122.GE4497@implementation.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault , Martin Dommermuth , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, Am Montag, 5. May 2008 12:31 schrieb Samuel Thibault: > Martin Dommermuth, le Mon 05 May 2008 12:25:51 +0200, a =E9crit : > > 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 probl= em=20 too: The Dom0 Linux crashes/hangs just after the message "Freeing unused=20 kernel memory: ...". I was able to get it to work by building both Xen and= =20 the Linux guest with PAE disabled, i.e. "make dist XEN_TARGET_X86_PAE=3Dn". This seems a bit strange since qemu supposedly supports PAE, nevertheless,= =20 disabling it fixed the problem for me :-). Cheers Rob =2D-=20 Robert Kaiser =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://wwwvs.informati= k.fh-wiesbaden.de Labor f=FCr Verteilte Systeme =A0 =A0 =A0 =A0 =A0 =A0kaiser@informatik.fh-w= iesbaden.de =46H Wiesbaden - University of Applied Sciences =A0 =A0 tel: (+49)611-9495-= 294 Kurt-Schumacher-Ring 18, 65197 Wiesbaden, Germany fax: (+49)611-9495-289=20 > Samuel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel