From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 277FA21A00ACD for ; Mon, 26 Jun 2017 12:51:06 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 51A05C0587D4; Mon, 26 Jun 2017 19:52:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 51A05C0587D4 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 51A05C0587D4 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-99.phx2.redhat.com [10.3.116.99]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E33860F83; Mon, 26 Jun 2017 19:52:34 +0000 (UTC) To: "Gabriel L. Somlo" , edk2-devel@ml01.01.org Cc: star.zeng@intel.com, liming.gao@intel.com References: <20170626171354.GK29456@HEDWIG.INI.CMU.EDU> From: Laszlo Ersek Message-ID: <9a43884f-ca38-c92d-2e45-5719b54cd0e8@redhat.com> Date: Mon, 26 Jun 2017 21:52:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170626171354.GK29456@HEDWIG.INI.CMU.EDU> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 26 Jun 2017 19:52:35 +0000 (UTC) Subject: Re: can't boot OVMF guest after commit 45cfcd8 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 19:51:06 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Hi Gabriel, On 06/26/17 19:13, Gabriel L. Somlo wrote: > Hi, > > Following commit 45cfcd8dccf84b8abbc1d6f587fedb5d2037ec79, a.k.a. > "MdeModulePkg/DxeCore: Fixed Interface returned by CoreOpenProtocol", > I'm no longer able to boot a VM guest with OVMF. Using command line: > > bin/qemu-system-x86_64 -machine q35,accel=kvm -m 2048 -bios OVMF.fd \ > -device ide-drive,bus=ide.2,drive=CD \ > -drive id=CD,if=none,snapshot=on,file=Fedora-Workstation-Live-x86_64-25-1.3.iso > > everything hangs at the Tianocore splash screen indefinitely. > > Reverting the commit locally gets things to work fine once again. > > Sorry for the noise if this report is a dupe, otherwise please let me > know if/what other information and test results I can provide to help. Thank you for the report and for identifying the commit -- I guess I should have stumbled upon this myself, but other duties have kept me from building OVMF for a while now. :/ Can you please add the following options to your QEMU command line, for capturing the OVMF debug log? Maybe we'll know better where the problem occurs this way. -debugcon file:debug.log -global isa-debugcon.iobase=0x402 In addition, -serial stdio might help you catch a register dump (written to serial) from the default CPU exception handler in UefiCpuPkg, if an unhandled page fault occurs, for example. Thanks, Laszlo