From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: VM not booting anymore after Ubuntu upgrade Date: Wed, 04 Aug 2010 10:05:34 +0300 Message-ID: <4C59113E.8020907@redhat.com> References: <4C58FD2F.9050708@web.de> <4C590D25.4070302@redhat.com> <4C590EC9.1080209@web.de> 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: =?ISO-8859-1?Q?Andr=E9_Weidemann?= Return-path: Received: from mx1.redhat.com ([209.132.183.28]:15204 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755611Ab0HDHFl (ORCPT ); Wed, 4 Aug 2010 03:05:41 -0400 In-Reply-To: <4C590EC9.1080209@web.de> Sender: kvm-owner@vger.kernel.org List-ID: 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 aga= in. >>> >>> I did not install the kvm package provided by Ubuntu. Instead I pul= led >>> 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? >>> >>> When connecting to the VNC console I only get a black screen. >> >> Does the monitor work? add -monitor stdio to the command line and ty= pe >> '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?) 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 scree= n=20 (use SDL so you can see it immediately). Then post=20 /sys/kernel/debug/trace somewhere. --=20 I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.