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 13:22:37 +0200 Message-ID: <4C594D7D.3040102@web.de> References: <4C58FD2F.9050708@web.de> <4C590D25.4070302@redhat.com> <4C590EC9.1080209@web.de> <4C59113E.8020907@redhat.com> <4C59190D.8050007@web.de> <4C594179.6010609@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]:38265 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932201Ab0HDLWm (ORCPT ); Wed, 4 Aug 2010 07:22:42 -0400 In-Reply-To: <4C594179.6010609@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 04.08.2010 12:31, Avi Kivity wrote: > On 08/04/2010 10:38 AM, Andr=E9 Weidemann wrote: >> >>> 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 s= creen >>> (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 >> > > > <...>-26008 [001] 5175193.046430: kvm_exit: reason exception rip 0xfc= 842 > <...>-26008 [001] 5175193.046430: kvm_page_fault: address fc842 > error_code 9 > <...>-26008 [001] 5175193.046432: kvm_entry: vcpu 0 > <...>-26008 [001] 5175193.046434: kvm_exit: reason cr_access rip 0xfc= 796 > <...>-26008 [001] 5175193.046435: kvm_cr: cr_write 0 =3D 0x10 > <...>-26008 [001] 5175193.046442: kvm_entry: vcpu 0 > <...>-26008 [001] 5175193.046444: kvm_exit: reason exception rip 0xfc= 799 > <...>-26008 [001] 5175193.046447: kvm_entry: vcpu 0 > <...>-26008 [001] 5175193.046449: kvm_exit: reason exception rip 0xfc= 799 > <...>-26008 [001] 5175193.046449: kvm_page_fault: address feffd066 > error_code 9 > <...>-26008 [001] 5175193.046453: kvm_inj_virq: irq 13 > > #GP at fc799. > > fc78f: 0f 20 c0 mov %cr0,%eax > fc792: 66 83 e0 fe and $0xfffffffe,%eax > fc796: 0f 22 c0 mov %eax,%cr0 > fc799: ea 9e c7 00 f0 ljmp $0xf000,$0xc79e > > I think we're in big real mode and your kernel has trouble emulating = the > ljmp. Can you try latest seabios[1]? Commit 0f788893a8bba has a worka= round. > > > [1] git://git.linuxtogo.org/home/kevin/seabios.git Thank you very much. Running qemu-kvm with the latest seabios fixed the= =20 problem. The VM is running fine again. Best Regards Andr=E9