From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tq2hJ-0006Uh-RC for qemu-devel@nongnu.org; Tue, 01 Jan 2013 09:20:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tq2hI-0002S2-LF for qemu-devel@nongnu.org; Tue, 01 Jan 2013 09:20:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tq2eg-0001hi-6d for qemu-devel@nongnu.org; Tue, 01 Jan 2013 09:17:22 -0500 Date: Tue, 1 Jan 2013 16:17:19 +0200 From: Gleb Natapov Message-ID: <20130101141719.GE12402@redhat.com> References: <20130101100818.GC12402@redhat.com> <20130101113019.GD12402@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Fwd: Problem booting 32 bit guest on 64 bit host using kvm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Blakeney Cc: qemu-devel@nongnu.org On Tue, Jan 01, 2013 at 10:42:26PM +1000, Mark Blakeney wrote: > As per first post, kvm worked for me on Ubuntu 12.04 32 bit with > whatever 3.* kernel that was. I have upgraded to a new box with newly > installed Ubuntu 12.10 64 bit and now kvm does not work. Same qemu > image. I suspect the architecture change from 32 to 64 bit is the > issue here but I guess you are suggesting it may be related to the > kernel upgrade? > Don't know yet. What was the kernel version on 12.04 32 bit? You said that kernel 3.5 64bit does not work for you either. Can you try older kernel? > -- > Mark Blakeney. > > > On Tue, Jan 1, 2013 at 9:30 PM, Gleb Natapov wrote: > > On Tue, Jan 01, 2013 at 09:17:52PM +1000, Mark Blakeney wrote: > >> Linux pc 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 > >> x86_64 x86_64 x86_64 GNU/Linux (Ubuntu version 3.7.0.7.11) > >> > >> I am using xorg edgers on Ubuntu 12.10 because I have a brand new box > >> and have been seeing graphics issues so trying latest drivers. > >> However, I am fairly sure I tried booting that qemu image on the stock > >> Ubuntu kernel (3.5.0.21.27) with the same result. > >> > > So is there kernel that works, or kvm never worked for this image? > > > >> -- > >> Mark Blakeney. > >> > >> > >> On Tue, Jan 1, 2013 at 8:08 PM, Gleb Natapov wrote: > >> > On Tue, Jan 01, 2013 at 11:17:52AM +1000, Mark Blakeney wrote: > >> >> Hi, I am inexperienced using QEMU and hoping somebody here can help me. > >> >> > >> >> Some time ago I cloned a disk image of an old Solaris legacy system and was > >> >> able to successfully boot and use it within QEMU. Recently I upgraded my > >> >> host from i386 Ubuntu 12.04 to a new box running x86_64 Ubuntu 12.10. Now I > >> >> find that the same qemu command line results in that guest failing to boot > >> >> with a "no active boot partition" error message. > >> >> > >> >> The command I have been using is: > >> >> > >> >> qemu-system-i386 \ > >> >> -machine pc,accel=kvm \ > >> >> -m 256M \ > >> >> -vga std \ > >> >> -net nic,vlan=1,model=pcnet \ > >> >> -net user,vlan=1,hostfwd=::8050-$GUEST:22 \ > >> >> -hda "$DISK" > >> >> > >> >> I find that if I change to "accel=tcg" in above command (or add -no-kvm) > >> >> then the guest will boot ok but I find my host works much harder & slower > >> >> than when I use kvm. Is there a qemu option so I can use kvm but get around > >> >> this guest boot issue? > >> >> > >> > What is your kernel version? > >> > > >> > -- > >> > Gleb. > > > > -- > > Gleb. -- Gleb.