Bug 500863
Summary: | qemu -kernel/-initrd with 4Gb memory and F6 image results in "initramfs bad gzip magic" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daire Byrne <daire.byrne> |
Component: | qemu | Assignee: | Glauber Costa <gcosta> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 11 | CC: | dwmw2, gcosta, itamar, markmc, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.10.5-2.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-06-16 02:28:41 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 |
Description
Daire Byrne
2009-05-14 15:21:13 UTC
Interesting bug, thanks Daire. I've just tried with the installer kernel/initrd from Fedora 6: http://archives.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/images/pxeboot/ and it works fine. Anything special about this initrd? Perhaps you could post it somewhere for us to try? Mark, (In reply to comment #1) > Anything special about this initrd? Perhaps you could post it somewhere for us > to try? It is a basic uClibc (buildroot) initrd which is turned into an initrd with: find ./ | cpio -H newc -o > /tmp/new-initrd.cpio ; gzip /tmp/new-initrd.cpio It is 5MB after it has been compressed. I can send you the exact initrd if you want but you can probably make one quite quickly with buildroot: http://buildroot.uclibc.org/downloads/snapshots The exact kernel version I'm using is "2.6.20-1.2948". On further examination it seems to be related to the memory allocation. I just noticed that I had increased the memory >4G after upgrading to F11 and when I now drop it below 4G the FC6 boots correctly again. This is only for FC6 - F11 and FC3 both boot fine with >4G. So in summary this boots fine: <memory>3478528</memory> <currentMemory>3478528</currentMemory> and this doesn't: <memory>4369408</memory> <currentMemory>4369408</currentMemory> For now I'm happy to keep to Memory below 4G. Ah, nice catch tried again with the stock Fedora 6 images: $> qemu-kvm -m 4096 -kernel vmlinuz -initrd initrd.img -append 'console=ttyS0' -serial stdio ... checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd $> qemu-kvm -m 3072 -kernel vmlinuz -initrd initrd.img -append 'console=ttyS0' -serial stdio ... anaconda installer init version 11.1.1.3 using a serial console remember, cereal is an important part of a nutritionally balanced breakfast. patch sent upstream: http://lists.gnu.org/archive/html/qemu-devel/2009-05/msg00812.html This will be in qemu-0.10.5 which we hope to push next week qemu-0.10.5-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/qemu-0.10.5-1.fc11 qemu-0.10.5-1.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 qemu'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-5776 qemu-0.10.5-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/qemu-0.10.5-2.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 qemu-0.10.5-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |