From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andr=E9_Weidemann?= Subject: Re: VM not booting anymore after Ubuntu upgrade Date: Wed, 04 Aug 2010 09:38:53 +0200 Message-ID: <4C59190D.8050007@web.de> References: <4C58FD2F.9050708@web.de> <4C590D25.4070302@redhat.com> <4C590EC9.1080209@web.de> <4C59113E.8020907@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from fmmailgate01.web.de ([217.72.192.221]:35518 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932242Ab0HDHjA (ORCPT ); Wed, 4 Aug 2010 03:39:00 -0400 In-Reply-To: <4C59113E.8020907@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 04.08.2010 09:05, Avi Kivity wrote: > On 08/04/2010 09:55 AM, Andr=E9 Weidemann wrote: >> On 04.08.2010 08:48, Avi Kivity wrote: >>> On 08/04/2010 08:39 AM, Andr=E9 Weidemann wrote: >>>> Hi, >>>> I recently upgraded my machine from Ubuntu 9.10 to 10.4 (x86_64). >>>> Ever since I upgraded my machine I cannot get qemu-kvm to start ag= ain. >>>> >>>> I did not install the kvm package provided by Ubuntu. Instead I pu= lled >>>> todays git from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git= and >>>> ran ./configure && make -j6 && make install. >>>> The configure output can be found here: http://pastebin.org/447003 >>>> >>>> I am using the following command line to boot qemu-kvm: >>>> >>>> qemu-system-x86_64 -vnc :2 -k de -m 1024 -drive >>>> file=3D/dev/sda,if=3Dide,index=3D0 > > /dev/sda? is this not the host disk? It is not the host disk. For some reason the Marvell Controller is foun= d=20 before the Intel ICH10. So the additional disk I put in for testing=20 becomes sda. >>>> >>>> When connecting to the VNC console I only get a black screen. >>> >>> Does the monitor work? add -monitor stdio to the command line and t= ype >>> 'info registers' after you get the bla[nc]k screen. >>> >> >> This is the monitor output: >> >> QEMU 0.13.50 monitor - type 'help' for more information >> (qemu) info registers >> EAX=3D00000010 EBX=3D00000000 ECX=3D00006e82 EDX=3D00b81013 >> ESI=3Df2010000 EDI=3D000c8c00 EBP=3D000e8550 ESP=3D00006e78 >> EIP=3D0008bc2f EFL=3D00010086 [--S--P-] CPL=3D3 II=3D0 A20=3D1 SMM=3D= 0 HLT=3D0 >> ES =3D0000 00000000 0000ffff 0000f300 >> CS =3D0000 00000000 0000ffff 0000f300 > > This guest is very confused (what is it?) This guest is a Windows 7 Pro 64bit. But it does not matter which image= =20 I try to boot. Even a PXE network boot results in the same behavior. > Please enable ftrace: > > # mount -t debugfs debugfs /sys/kernel/debug > # cd /sys/kernel/debug/tracing > # echo 100000 > buffer_size_kb > # echo kvm > set_event > # echo 1 > tracing on > > run the guest and kill qemu immediately when you get to the blank scr= een > (use SDL so you can see it immediately). Then post > /sys/kernel/debug/trace somewhere. I ran the trace and put the ouptut here: http://ilpss8.dyndns.org/~andrew/qemu-kvm.trace.gz Regards Andr=E9