On 11/28/2017 09:15 PM, Richard Purdie wrote:
On Tue, 2017-11-28 at 20:48 +0800, Robert Yang wrote:
Hi RP,
On 11/28/2017 06:47 PM, Robert Yang wrote:
# Works
$ runqemu tmp/deploy/images/qemux86-64/ nographic snapshot
# Doesn't work, like hang:
$ runqemu tmp/deploy/images/qemux86-64/ nographic snapshot kvm
I upgraded qemu-native to qemu-2.11.0-rc2, then no hangs any more. I
dropped
the conflicted patches during upgrade. I will send a formal upgrade
tomorrow
it this is acceptable.
Here is the draft patch for testing:
git://git.openembedded.org/openembedded-core-contrib rbt/qemu_test
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/
qemu_test
Thanks for the data point. I've been putting my data into:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12301
As you can see there, I think there are actually two issues:
a) A boot hang around the ..TIMER line where the guest isn't getting
timer interupts
b) Something which causes the APIC to see "version 0".
I applied the 2.11-rc2 upgrade and it seemed to stop the hangs I was
seeing with "-no-kvm-irqchip" but doesn't stop the ones I see without
that.
Maybe you can try to reboot the host ? It didn't work when I first
upgrade to 2.11.0-rc2, and it worked after I reboot the machine.
My host is fedora 26 server which is running in qemu-kvm, what I did was:
- Upgrade to 2.11.0-rc2
- $ bitbake qemu-helper-native
- Reboot fedora 26
- run runqemu-parallel with qemux86-64
No hangs
- Back to qemu 2.10.1
- $ bitbake qemu-helper-native
- run runqemu-parallel
Hangs
- Upgrade to 2.11.0-rc2 again, no hangs
// Robert
I am seeing hangs in guests where the version 0 message appears as well
as where we see 0x14. The 0x14 versions do boot further into userspace
usually.
It also seems host hardware specific as I cannot get my local build
machine to hang as yet. That could mean its timing or could be cpu
revision, I've removed many but not all OS differences :/.
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core