Bug 502862
Summary: | libvirt runs qemu-system-ppc with wrong machine type - should be g3beige, not g3bw | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas J. Baker <tjb> | ||||
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 11 | CC: | berrange, clalance, crobinso, itamar, markmc, veillard, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.6.2-12.fc11 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-06-24 19:21:19 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 480594 | ||||||
Attachments: |
|
Description
Thomas J. Baker
2009-05-27 15:01:12 UTC
I tried rebuilding the libvirt-0.6.3-11.fc12.src.rpm with a patch (soon attached) that replaced all occurrences of g3bw with g3beige and now creating a ppc system seems to start OK but just hangs with a black screen. An error is logged: LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/root USER=tjb LOGNAME=tjb /usr/bin/qemu-system-ppc -S -M g3beige -m 512 -smp 1 -name sawhorse -uuid d1f92863-ee9b-b0fd-fc0a-d69ba5ce3511 -monitor pty -pidfile /var/run/libvirt/qemu//sawhorse.pid -no-reboot -boot d -drive file=/var/lib/libvirt/images/sawhorse.img,if=ide,index=0 -drive file=/tmp/Fedora-9-ppc-DVD.iso,if=ide,media=cdrom,index=2 -net nic,macaddr=54:52:00:02:36:2a,vlan=0 -net tap,fd=18,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 char device redirected to /dev/pts/3 char device redirected to /dev/pts/4 invalid/unsupported opcode: 00 - 18 - 01 (00004070) 00000004 1 invalid/unsupported opcode: 00 - 04 - 17 (000095c8) 000095ec 0 Created attachment 345637 [details]
g3bw to g3beige patch
Hum, the QEmu PPC emulation has changed since qemu support was added to libvirt. Patch looks fine, but I would prefer to have this handled directly on the libvir-list as for other upstream libvirt issues. https://www.redhat.com/mailman/listinfo/libvir-list Daniel What about the fact that it doesn't run even after patched? I can't really open another bug report about a patched version of libvirt, can I? Is PPC emulation supposed to work at all? Well libvirt's responsbility ends once the QEMU process succesfully starts. The errors you now see invalid/unsupported opcode: 00 - 18 - 01 (00004070) 00000004 1 invalid/unsupported opcode: 00 - 04 - 17 (000095c8) 000095ec 0 should be reported against 'QEMU', since it looks like their PPC emulation bugs. (In reply to comment #3) > Hum, the QEmu PPC emulation has changed since qemu support was added > to libvirt. Patch looks fine, but I would prefer to have this handled directly > on the libvir-list as for other upstream libvirt issues. > > https://www.redhat.com/mailman/listinfo/libvir-list Thomas, please post the patch to libvir-list and we'll cherry-pick it into F-11 when it gets applied upstream. (In reply to comment #1) > invalid/unsupported opcode: 00 - 18 - 01 (00004070) 00000004 1 > invalid/unsupported opcode: 00 - 04 - 17 (000095c8) 000095ec 0 See bug #494075 - try openbios from updates-testing (In reply to comment #4) > Is PPC emulation supposed to work at all? Of course! There may just not be many people testing it, is all. We'll do our best to fix any issues you come across, just please do file them as separate bugs. I posted the patch to the list. I updated to the updates-testing openbios. Now libvirt correctly starts a ppc machine which appears to start up correctly but it doesn't boot from the CDROM image I specified. It just gives me a '0 >' prompt and I don't understand how to boot it. Should I bugzilla this as an openbios bug? Thanks. tjb: yeah, any further problems you have, please file in another bug Patch is upstream now, need to pull it into F11 Building this update: * Fri Jun 5 2009 Mark McLoughlin <markmc> - 0.6.2-12.fc11 - Use the correct QEMU machine type for ppc (bug #502862) - Fix crash with TLS connections (bug #503066) - Fix broken networking with newer qemu releases (bug #503275) - Remove the qemu BuildRequires libvirt-0.6.2-12.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libvirt-0.6.2-12.fc11 This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping libvirt-0.6.2-12.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libvirt'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6060 libvirt-0.6.2-12.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |