kexec fails on ARM boards because initrd is placed too close to the kernel image
Bug #568283 reported by
Eric Miao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Ubuntu) |
Fix Released
|
Undecided
|
Loïc Minier | ||
Lucid |
Fix Released
|
Undecided
|
Loïc Minier |
Bug Description
Binary package hint: kexec-tools
On ARM, zImage or compressed uImage will decompress into somewhere behind and may possibly overwrite the initrd area if initrd is placed too close to the kernel image. Try to fix this by offsetting initrd to a safer place.
Related branches
Changed in kexec-tools (Ubuntu Lucid): | |
assignee: | nobody → Loïc Minier (lool) |
Changed in kexec-tools (Ubuntu Lucid): | |
status: | New → Fix Committed |
tags: | added: patch |
To post a comment you must log in.
So I understand this is a workaround and that the correct upstream fix would be to check the actual expected kernel size and pick a proper offset depending on that.
My understanding is also that this impacts pretty much all Ubuntu-alike kernels (that is, big ones) and as such would be desirable to fix in lucid as to allow kexec to work on ARM in QEMU or on hardware platforms like the ones supported in Ubuntu lucid (dove, imx51, qcm-msm?, omap3).
Do you confirm it affects all our ARM platforms? On which ones was this tested?
Could you share some test instructions? Ideally, I'd love to test on qemu versatile and beagleboard.