2017-02-02 19:13:32 |
dann frazier |
bug |
|
|
added bug |
2017-02-02 19:15:03 |
dann frazier |
description |
[Impact]
kexec-tools will not load a compressed kernel on arm64. Ubuntu ships compressed kernel images on arm64 starting with 16.10 (and hwe kernels for 16.04). A workaround is to manually decompress the kernel before loading it, but this is not supported by the use-kexec-for-reboot-by-default feature of the kexec-tools package.
[Test Case]
ubuntu@ubuntu:~$ sudo file /boot/vmlinuz-4.9.0-15-generic
/boot/vmlinuz-4.9.0-15-generic: gzip compressed data, max compression, from Unix
ubuntu@ubuntu:~$ sudo kexec -d -l /boot/vmlinuz-4.9.0-15-generic -t Image
arch_process_options:141: command_line: (null)
arch_process_options:143: initrd: (null)
arch_process_options:144: dtb: (null)
kernel: 0xffff8ff61010 kernel_size: 0x6ee18b
get_memory_ranges_iomem_cb: 0000000040000000 - 00000000ffffbfff : System RAM
get_memory_ranges_iomem_cb: 0000000100000000 - 000000013858ffff : System RAM
get_memory_ranges_iomem_cb: 0000000138750000 - 000000013bc1ffff : System RAM
get_memory_ranges_iomem_cb: 000000013c000000 - 000000013fffffff : System RAM
image_arm64_probe: Bad arm64 image header.
elf_arm64_probe: Not an ELF executable.
image_arm64_probe: Bad arm64 image header.
Cannot determine the file type of /boot/vmlinuz-4.9.0-15-generic |
[Impact]
kexec-tools will not load a compressed kernel on arm64. Ubuntu ships compressed kernel images on arm64 starting with 16.10 (and hwe kernels for 16.04). A workaround is to manually decompress the kernel before loading it, but this is not supported by the use-kexec-for-reboot-by-default feature of the kexec-tools package.
[Test Case]
ubuntu@ubuntu:~$ sudo file /boot/vmlinuz-4.9.0-15-generic
/boot/vmlinuz-4.9.0-15-generic: gzip compressed data, max compression, from Unix
ubuntu@ubuntu:~$ sudo kexec -d -l /boot/vmlinuz-4.9.0-15-generic -t Image
arch_process_options:141: command_line: (null)
arch_process_options:143: initrd: (null)
arch_process_options:144: dtb: (null)
kernel: 0xffff8ff61010 kernel_size: 0x6ee18b
get_memory_ranges_iomem_cb: 0000000040000000 - 00000000ffffbfff : System RAM
get_memory_ranges_iomem_cb: 0000000100000000 - 000000013858ffff : System RAM
get_memory_ranges_iomem_cb: 0000000138750000 - 000000013bc1ffff : System RAM
get_memory_ranges_iomem_cb: 000000013c000000 - 000000013fffffff : System RAM
image_arm64_probe: Bad arm64 image header.
elf_arm64_probe: Not an ELF executable.
image_arm64_probe: Bad arm64 image header.
Cannot determine the file type of /boot/vmlinuz-4.9.0-15-generic
[Regression Risk]
kexec-tools did not support arm64 until zesty so, assuming the fix is localized to arm64 code, regression risk is negligible. |
|
2017-02-02 22:32:36 |
Manoj Iyer |
kexec-tools (Ubuntu): assignee |
|
Manoj Iyer (manjo) |
|
2017-02-02 22:32:40 |
Manoj Iyer |
kexec-tools (Ubuntu): status |
New |
In Progress |
|
2017-02-03 20:31:18 |
Manoj Iyer |
attachment added |
|
[Zesty] Enable compressed kernel support for ARM64 https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1661363/+attachment/4812741/+files/zesty-enable-compressed-kernel-arm64.patch |
|
2017-02-03 20:34:47 |
Manoj Iyer |
attachment added |
|
[Zesty] Enable compressed kernel support for ARM64 https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1661363/+attachment/4812742/+files/zesty-enable-compressed-kernel-arm64.patch |
|
2017-02-03 21:54:53 |
dann frazier |
nominated for series |
|
Ubuntu Yakkety |
|
2017-02-03 21:54:53 |
dann frazier |
bug task added |
|
kexec-tools (Ubuntu Yakkety) |
|
2017-02-03 21:54:53 |
dann frazier |
nominated for series |
|
Ubuntu Xenial |
|
2017-02-03 21:54:53 |
dann frazier |
bug task added |
|
kexec-tools (Ubuntu Xenial) |
|
2017-02-03 23:40:19 |
Launchpad Janitor |
kexec-tools (Ubuntu): status |
In Progress |
Fix Released |
|
2017-03-02 17:47:35 |
Brian Murray |
kexec-tools (Ubuntu Yakkety): status |
New |
Fix Committed |
|
2017-03-02 17:47:38 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-03-02 17:47:41 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-03-02 17:47:47 |
Brian Murray |
tags |
|
verification-needed |
|
2017-03-02 17:51:42 |
Brian Murray |
kexec-tools (Ubuntu Xenial): status |
New |
Fix Committed |
|
2017-05-07 22:59:41 |
Mathew Hodson |
kexec-tools (Ubuntu): importance |
Undecided |
Medium |
|
2017-05-07 22:59:42 |
Mathew Hodson |
kexec-tools (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2017-05-07 22:59:44 |
Mathew Hodson |
kexec-tools (Ubuntu Yakkety): importance |
Undecided |
Medium |
|
2017-05-12 19:51:32 |
Manoj Iyer |
tags |
verification-needed |
verification-done |
|
2017-06-09 16:21:07 |
Ćukasz Zemczak |
tags |
verification-done |
verification-done-xenial |
|
2017-06-09 20:40:10 |
Manoj Iyer |
tags |
verification-done-xenial |
verification-done-xenial verification-done-yakkety |
|
2018-06-11 12:23:07 |
Launchpad Janitor |
kexec-tools (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|