Bug 974804
| Summary: | qemu incorrectly installs arm binfmt handler on arm systems | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | merlisk |
| Component: | qemu | Assignee: | Fedora Virtualization Maintainers <virt-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, merlisk, pbonzini, pholica, rjones, scottt.tw, virt-maint |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | arm | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-1.4.2-4.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-29 18:14:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
merlisk
2013-06-16 03:14:52 UTC
This happens over and over. Perhaps a problem with binfmt-misc? Can you check if removing /lib/binfmt.d/qemu-arm.conf and/or /lib/binfmt.d/qemu-armeb.conf fixes the problem? What exactly is crashing? How would systemd-fsck end up running qemu? It's be very helpful to collect coredumps. https://fedoraproject.org/wiki/How_to_debug_Systemd_problems Well, this is a problem... I cannot access my filesystem. That is an unmountable partition on my SD card. I cannot delete any files, edit files, or check core dump logs. I cannot run any commands, because I can't access the bash shell. P.S.: Is there any way to send core dumps to the boot partition of my SD card? Can you post the *complete* boot log messages. It's impossible to tell what's going on with just the two lines you have quoted above. That's the complete log. The complete log is two lines of output? The kernel prints nothing at all? I simply don't believe it. You'll need to obtain the complete log and attach it to this bug, else this bug will never be fixable. This looks like a binfmt handler has been registered to use 'qemu-arm' for ARM binaries. That isn't going to go down well on a real ARM system.
I think it's a bug in qemu.spec:
diff --git a/qemu.spec b/qemu.spec
index b8b1558..05d89eb 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -901,7 +901,7 @@ for i in dummy \
%ifnarch alpha
qemu-alpha \
%endif
-%ifnarch arm
+%ifnarch %{arm}
qemu-arm \
%endif
qemu-armeb \
merlisk, please try removing /lib/binfmt.d/qemu-arm.conf from the offending system.
Thanks for catching that David, reopening. qemu-1.4.2-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/qemu-1.4.2-4.fc19 Package qemu-1.4.2-4.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qemu-1.4.2-4.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11314/qemu-1.4.2-4.fc19 then log in and leave karma (feedback). Thanks! My system now works and I figured out how to access my files. qemu-1.4.2-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 986339 has been marked as a duplicate of this bug. *** |