Bug 862766
Summary: | Hardcoded value for the initrd address overlaps the kernel address in qemu-system-arm. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Whalen <pwhalen> | ||||
Component: | qemu | Assignee: | Fedora Virtualization Maintainers <virt-maint> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 18 | CC: | amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, knoel, pbonzini, pbrobinson, rjones, scottt.tw, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | arm | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-11-02 20:07:33 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 245418 | ||||||
Attachments: |
|
Description
Paul Whalen
2012-10-03 13:47:35 UTC
Thanks Paul, I sent your patch upstream: http://www.mail-archive.com/qemu-devel@nongnu.org/msg135069.html Paul, where can I grab a kernel to test this? The patch as-is was rejected upstream because it will conflict with small memory arm machines: https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg01176.html If i've got a reproducer maybe I can play with it and find something acceptable for upstream. Or feel free to chime in on that thread (In reply to comment #2) > Paul, where can I grab a kernel to test this? The patch as-is was rejected > upstream because it will conflict with small memory arm machines: > > https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg01176.html > > If i've got a reproducer maybe I can play with it and find something > acceptable for upstream. Or feel free to chime in on that thread Setting NEEDINFO Ultimately we set that value as it was larger and it worked. Maybe we need something in between. It might be better if the value could be set or overridden with a command line option or something like that. There's nightly builds here that allow you to recreate the problem. http://scotland.proximity.on.ca/arm-nightlies/vault/f18-prealpha/ (In reply to comment #4) > Ultimately we set that value as it was larger and it worked. Maybe we need > something in between. It might be better if the value could be set or > overridden with a command line option or something like that. > > There's nightly builds here that allow you to recreate the problem. > > http://scotland.proximity.on.ca/arm-nightlies/vault/f18-prealpha/ Using: http://scotland.proximity.on.ca/arm-nightlies/vault/f18-prealpha/F18-vexpress-test-20121010.tar.xz ./boot/boot-vexpress boot/vmlinuz-3.6.0-3.fc18.armv7hl boot/initramfs-3.6.0-3.fc18.armv7hl.img F18-vexpress-test-20121010.img Booted fine using stock qemu-system-arm on current F18, what am I missing? Also, the qemu arm maintainer has posted a patch that should fix things in a nicer way: https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg04732.html But i'll verify and respond to him once I can reproduce the original issue. (In reply to comment #5) > (In reply to comment #4) > > Ultimately we set that value as it was larger and it worked. Maybe we need > > something in between. It might be better if the value could be set or > > overridden with a command line option or something like that. > > > > There's nightly builds here that allow you to recreate the problem. > > > > http://scotland.proximity.on.ca/arm-nightlies/vault/f18-prealpha/ > > Using: > > http://scotland.proximity.on.ca/arm-nightlies/vault/f18-prealpha/F18- > vexpress-test-20121010.tar.xz > ./boot/boot-vexpress boot/vmlinuz-3.6.0-3.fc18.armv7hl > boot/initramfs-3.6.0-3.fc18.armv7hl.img F18-vexpress-test-20121010.img > > Booted fine using stock qemu-system-arm on current F18, what am I missing? > > Also, the qemu arm maintainer has posted a patch that should fix things in a > nicer way: > > https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg04732.html > > But i'll verify and respond to him once I can reproduce the original issue. The issue seems to only appear in some kernels, most notably the RC kernels. I first noticed it using: kernel-3.6.0-0.rc3.git2.1.fc18 I wonder if it's when we have debug kernels which are larger.
> Also, the qemu arm maintainer has posted a patch that should fix things in a
> nicer way:
>
> https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg04732.html
I'm happy for a solution from upstream. It was just be useful not to have the issue :)
Can you guys link me to one of those debug kernels (sorry if it's buried somewhere in one of the links you pasted above, but it didn't jump out at me) (In reply to comment #9) > Can you guys link me to one of those debug kernels (sorry if it's buried > somewhere in one of the links you pasted above, but it didn't jump out at me) You can find one here - http://armpkgs.fedoraproject.org/packages/kernel/3.6.0/0.rc3.git2.1.fc18/armv7hl/kernel-3.6.0-0.rc3.git2.1.fc18.armv7hl.rpm qemu-1.2.0-18.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/qemu-1.2.0-18.fc18 Package qemu-1.2.0-18.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qemu-1.2.0-18.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-17353/qemu-1.2.0-18.fc18 then log in and leave karma (feedback). qemu-1.2.0-19.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/qemu-1.2.0-19.fc18 qemu-1.2.0-19.fc18 - confirmed working with latest debug enabled kernel. |