Hi all, Since Xen won''t run on my desktop PC, I thought I''d try running it under QEMU instead, so that I could still have a play with it and see if it''s worth moving our production server from UML over to Xen. Unfortunately I can''t get Xen to boot properly under QEMU either - the kernel seems fine, it comes up, detects everything and mounts the root filesystem, but as soon as it goes to run init, it just sits there doing nothing at 100% CPU usage. I can type things into the console and the magic SysRq key works so it''s not completely frozen, but it never runs init. The original dom0 kernel I was booting was configured for a P4 so I recompiled it as a P2, and that didn''t work so I recompiled without SMP support but it''s still getting stuck loading init. Is it even possible to run Xen under QEMU? This was Xen 3.0.2-2 and Linux 2.6.16.16. As with my desktop PC, it works fine running the same kernel version without Xen (the only config differences between the kernels being those related to Xen itself.) Has anyone managed to get Xen working under QEMU? Or is there another way to test Xen when it won''t run natively? Thanks, Adam. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
try vmware server , create two cd devices. boot xen live cd in one * and xen made os in other. Experience is a hard teacher because she gives the test first, the lesson afterwards. Vernon Sanders Law>From: Adam Nielsen <adam.nielsen@uq.edu.au> >To: xen-users@lists.xensource.com >Subject: [Xen-users] Is it possible to run Xen under QEMU? >Date: Mon, 19 Jun 2006 10:24:16 +1000 >MIME-Version: 1.0 >Received: from lists.xensource.com ([217.147.82.229]) by >bay0-mc5-f7.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sun, 18 >Jun 2006 17:25:14 -0700 >Received: from localhost ([127.0.0.1] helo=lists.xensource.com)by >host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1Fs7dg-0006r4-Ll; Mon, >19 Jun 2006 00:29:12 +0000 >Received: from [192.168.0.10] (helo=lists.xensource.com)by >host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1Fs7d3-0006YJ-Eefor >xen-users@lists.xensource.com; Mon, 19 Jun 2006 00:28:33 +0000 >Received: from mailhub2.uq.edu.au ([130.102.149.128])by lists.xensource.com >with esmtp (Exim 4.50) id 1Fs7XK-0004os-6Kfor >xen-users@lists.xensource.com; Mon, 19 Jun 2006 00:22:39 +0000 >Received: from smtp1.uq.edu.au (smtp1.uq.edu.au [130.102.148.129])by >mailhub2.uq.edu.au (8.13.7/8.13.7) with ESMTP id k5J0OGZa093958for ><xen-users@lists.xensource.com>;Mon, 19 Jun 2006 10:24:16 +1000 (EST) >Received: from orps-it1.research.uq.edu.au >(orps-it1.research.uq.edu.au[192.168.173.208])by smtp1.uq.edu.au >(8.13.7/8.13.7) with ESMTP id k5J0OGX2075042for ><xen-users@lists.xensource.com>;Mon, 19 Jun 2006 10:24:16 +1000 (EST) >X-Message-Info: txF49lGdW428FNrprYNh03HdsbR8AS3SI5x7x00/qRw>X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.6.1; i686-pc-linux-gnu) >X-Scanned-By: MIMEDefang 2.51 on UQ Mailhub on 130.102.149.128 >X-SA-Exim-Connect-IP: 130.102.149.128 >X-SA-Exim-Mail-From: adam.nielsen@uq.edu.au >X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on (none) >X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 >autolearn=ham version=3.1.0 >X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) >X-SA-Exim-Scanned: Yes (on lists.xensource.com) >X-BeenThere: xen-users@lists.xensource.com >X-Mailman-Version: 2.1.5 >Precedence: list >List-Id: Xen user discussion <xen-users.lists.xensource.com> >List-Unsubscribe: ><http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>,<mailto:xen-users-request@lists.xensource.com?subject=unsubscribe> >List-Post: <mailto:xen-users@lists.xensource.com> >List-Help: <mailto:xen-users-request@lists.xensource.com?subject=help> >List-Subscribe: ><http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>,<mailto:xen-users-request@lists.xensource.com?subject=subscribe> >Errors-To: xen-users-bounces@lists.xensource.com >Return-Path: xen-users-bounces@lists.xensource.com >X-OriginalArrivalTime: 19 Jun 2006 00:25:15.0271 (UTC) >FILETIME=[D5E50170:01C69336] > >Hi all, > >Since Xen won''t run on my desktop PC, I thought I''d try running it >under QEMU instead, so that I could still have a play with it and see >if it''s worth moving our production server from UML over to Xen. > >Unfortunately I can''t get Xen to boot properly under QEMU either - the >kernel seems fine, it comes up, detects everything and mounts the root >filesystem, but as soon as it goes to run init, it just sits there >doing nothing at 100% CPU usage. > >I can type things into the console and the magic SysRq key works so >it''s not completely frozen, but it never runs init. The original dom0 >kernel I was booting was configured for a P4 so I recompiled it as a >P2, and that didn''t work so I recompiled without SMP support but it''s >still getting stuck loading init. > >Is it even possible to run Xen under QEMU? This was Xen 3.0.2-2 and >Linux 2.6.16.16. As with my desktop PC, it works fine running the same >kernel version without Xen (the only config differences between the >kernels being those related to Xen itself.) > >Has anyone managed to get Xen working under QEMU? Or is there another >way to test Xen when it won''t run natively? > >Thanks, >Adam. > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anthony Liguori
2006-Jun-19 02:03 UTC
Re: [Xen-users] Is it possible to run Xen under QEMU?
Adam Nielsen wrote:> Hi all, > > Since Xen won''t run on my desktop PC, I thought I''d try running it > under QEMU instead, so that I could still have a play with it and see > if it''s worth moving our production server from UML over to Xen. >I would not use Xen''s performance under QEMU as a basis for such a decision. Why won''t Xen run on your desktop? FWIW, Xen runs quite nicely under QEMU. Just make sure to disable kqemu (-no-kqemu). The last version of kqemu that worked was 0.7.1 IIRC if you''re desperate for extra speed. Regards, Anthony Liguori> Unfortunately I can''t get Xen to boot properly under QEMU either - the > kernel seems fine, it comes up, detects everything and mounts the root > filesystem, but as soon as it goes to run init, it just sits there > doing nothing at 100% CPU usage. > > I can type things into the console and the magic SysRq key works so > it''s not completely frozen, but it never runs init. The original dom0 > kernel I was booting was configured for a P4 so I recompiled it as a > P2, and that didn''t work so I recompiled without SMP support but it''s > still getting stuck loading init. > > Is it even possible to run Xen under QEMU? This was Xen 3.0.2-2 and > Linux 2.6.16.16. As with my desktop PC, it works fine running the same > kernel version without Xen (the only config differences between the > kernels being those related to Xen itself.) > > Has anyone managed to get Xen working under QEMU? Or is there another > way to test Xen when it won''t run natively? > > Thanks, > Adam. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I would not use Xen''s performance under QEMU as a basis for such a > decision.Oh I''m not doing it to evaluate the performance, just to learn how Xen works, how you configure domUs, etc. (I can''t take a production server down for a day or two just to learn how to set up Xen :-)) I''m pretty certain it''ll be faster than UML, and if Xen doesn''t lock up with heavy disk access it''ll be a lot more reliable than UML is right now ;-)> Why won''t Xen run on your desktop?For some reason the Intel ICH6 SATA drivers timeout running under Xen, and so the kernel boots without recognising my hard drive and complains when it can''t mount the root filesystem. Same kernel options running natively without Xen works fine.> FWIW, Xen runs quite nicely under QEMU. Just make sure to disable > kqemu (-no-kqemu). The last version of kqemu that worked was 0.7.1 > IIRC if you''re desperate for extra speed.Ah! Excellent - disabling kqemu fixed the problem and init now runs - hooray, at long last I can run Xen! :-) Thanks, Adam. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users