<p dir="ltr">OVMF is from git, upgrading QEMU ATM to 2.5.x. Apparently, fedora has 2.5 qemu only in beta 24.</p>
<p dir="ltr">Thanks for the advice, didn't know about the new qemu release.</p>
<div class="gmail_quote">On Mar 27, 2016 1:01 AM, "Dan Ziemba" <<a href="mailto:zman0900@gmail.com">zman0900@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 2016-03-25 at 01:10 +0300, Blank Field wrote:<br>
> Hello again, fellow subscribers.<br>
><br>
> Since 4.3.X kernels I am experiencing some strange problems with disk<br>
> IO.<br>
><br>
> I am passing through the whole /dev/sda(since i also dualboot into<br>
> that system for some weird software or hardware) to my VM, and since<br>
> recent versions of kernel the VM gets stuck in an endless loop,<br>
> consuming 100% one core.<br>
><br>
> The ISA debug console says stuff like:<br>
> PartitionValidMbr: Bad MBR partition size EndingLBA(D99299D3) ><br>
> LastLBA(31FFF)<br>
><br>
> The thing is that the disk in question has nothing to do with MBR, it<br>
> is formatted into GPT.<br>
> I can't pinpoint the source of that weird D99299D3 number.<br>
><br>
> That kind of error happens for every partition detected.<br>
><br>
> Device          Start        End    Sectors   Size Type<br>
> /dev/sda1        2048 1171875000 1171872953 558.8G Microsoft basic<br>
> data<br>
> /dev/sda2  1171875840 1172080639     204800   100M EFI System<br>
> /dev/sda3  1172080640 1172342783     262144   128M Microsoft reserved<br>
> /dev/sda4  1172342784 1465145343  292802560 139.6G Microsoft basic<br>
> data<br>
> /dev/sda5  1465145344 1953525134  488379791 232.9G Microsoft basic<br>
> data<br>
> That looks like a valid partition table for me. Moreover, the fact<br>
> that i am able to boot an UEFI-capable system bare-metal confirms<br>
> that<br>
> the partition table is correct.<br>
><br>
> I remember i've seen some related messages on the list in february or<br>
> something, but they only stated the existence of this error.<br>
><br>
> Have any of you seen stuff like that? If so, how do you live with it?<br>
><br>
> Maybe i should write to edk2-devel mailing list for this, because it<br>
> isn't much related to VFIO, but normal qemu folks rarely sacrifice<br>
> the<br>
> whole disk to a VM.<br>
><br>
> Versions:<br>
> QEMU emulator version 2.4.1 (qemu-2.4.1-7.fc23)<br>
> kernel 4.4.5-300.fc23.x86_64(doesn't matter much from 4.3.X)<br>
> edk2.git-0-20160311.b1594.gf6326d1.x86_64<br>
><br>
<br>
A lot of people had problems booting with OVMF with kernels 4.2 and<br>
4.3.  It's fixed for myself and I think most others with 4.4, but I<br>
think you may need fairly recent qemu and ovmf versions.  Looks like<br>
your OVMF is new enough if that date means what I think it does, but<br>
you should try upgrading to qemu 2.5.  <br>
<br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</blockquote></div>