On 11/26/13 09:46, Laszlo Ersek wrote:
> On 11/26/13 07:44, Gary Ching-Pang Lin wrote:
>> On Tue, Nov 26, 2013 at 06:21:21AM +0100, Laszlo Ersek wrote:
>>> Hi,
>>>
>>> as soon as Timer.efi is installed and the first timer interrupt is
>>> delivered, OVMF hangs with the VCPU spinning at 100%.
>>>
>>> I can see that SVN r14887 is the commit that directly switches the
>>> libraries that OvmfPkg uses.
>>>
>>> However, at that point "MdeModulePkg/Library/CpuExceptionHandlerLibNull"
>>> (or other OvmfPkg dependencies) are already broken. Because if I revert
>>> just r14887, then the busy loop related to the timer interrupt is
>>> replaced by a reboot, at the same spot -- after Timer.efi is loaded and
>>> the first interrupt is delivered. Different symptom (infinite reboot
>>> loop), unusable just the same.
>>>
>>> I have to revert r14885 too, to get it working again.
>>>
>> I am using r14890 and no system hang happened.
>> My system: openSUSE 12.3 + kernel 3.12.0, qemu 1.6.0
>> CPU: Intel Core2 Duo P8600
> 
> Can you please try a few different guest RAM sizes?
> 
> For me it works with 2056 MB, but if I go just 1 MB higher (to 2057 MB),
> then I witness the hang after Timer.efi is loaded.

I traced into the hang (under KVM) with trace-cmd, and I'm seeing a long series 
of

 qemu-system-x86-20449 [002] 73561.567277: kvm_entry:            vcpu 0
 qemu-system-x86-20449 [002] 73561.568271: kvm_exit:             reason 
EXTERNAL_INTERRUPT rip 0x8001e17f info 0 800000ef
 qemu-system-x86-20449 [002] 73561.568277: kvm_entry:            vcpu 0
 qemu-system-x86-20449 [002] 73561.569271: kvm_exit:             reason 
EXTERNAL_INTERRUPT rip 0x8001e178 info 0 800000ef

The rip alternates between 0x8001e17f and 0x8001e178.

Laszlo

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to