2014-10-23 22:04:06 |
Jim Hull |
bug |
|
|
added bug |
2014-10-23 22:04:06 |
Jim Hull |
attachment added |
|
flash_kernel_compress.patch https://bugs.launchpad.net/bugs/1384955/+attachment/4242721/+files/flash_kernel_compress.patch |
|
2014-10-23 22:13:45 |
dann frazier |
bug |
|
|
added subscriber dann frazier |
2014-10-24 00:21:18 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2014-10-24 00:21:26 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2016-07-11 23:10:49 |
dann frazier |
flash-kernel (Ubuntu): status |
New |
Triaged |
|
2016-07-11 23:11:49 |
dann frazier |
attachment added |
|
flash-kernel-gzip-kernel-support.patch https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1384955/+attachment/4698961/+files/flash-kernel-gzip-kernel-support.patch |
|
2016-07-13 20:31:35 |
dann frazier |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831003 |
|
2016-07-13 20:31:35 |
dann frazier |
bug task added |
|
flash-kernel (Debian) |
|
2016-07-14 00:38:03 |
Bug Watch Updater |
flash-kernel (Debian): status |
Unknown |
New |
|
2016-08-25 20:05:54 |
Launchpad Janitor |
flash-kernel (Ubuntu): status |
Triaged |
Fix Released |
|
2016-08-28 15:41:38 |
dann frazier |
summary |
flash-kernel should support compressed kernels |
support compressed kernels on arm64 |
|
2016-08-28 15:42:15 |
dann frazier |
bug task added |
|
linux (Ubuntu) |
|
2016-08-28 15:42:37 |
dann frazier |
bug task added |
|
debian-installer (Ubuntu) |
|
2016-08-28 15:42:47 |
dann frazier |
nominated for series |
|
Ubuntu Xenial |
|
2016-08-28 15:42:47 |
dann frazier |
bug task added |
|
debian-installer (Ubuntu Xenial) |
|
2016-08-28 15:42:47 |
dann frazier |
bug task added |
|
flash-kernel (Ubuntu Xenial) |
|
2016-08-28 15:42:47 |
dann frazier |
bug task added |
|
linux (Ubuntu Xenial) |
|
2016-08-28 15:42:57 |
dann frazier |
debian-installer (Ubuntu): status |
New |
Fix Released |
|
2016-08-28 15:43:04 |
dann frazier |
flash-kernel (Ubuntu Xenial): status |
New |
Confirmed |
|
2016-08-28 15:43:08 |
dann frazier |
linux (Ubuntu): status |
New |
In Progress |
|
2016-08-28 15:43:11 |
dann frazier |
linux (Ubuntu): assignee |
|
dann frazier (dannf) |
|
2016-08-28 15:43:16 |
dann frazier |
linux (Ubuntu Xenial): status |
New |
Triaged |
|
2016-08-28 15:43:18 |
dann frazier |
flash-kernel (Ubuntu Xenial): status |
Confirmed |
Triaged |
|
2016-08-28 15:43:24 |
dann frazier |
debian-installer (Ubuntu Xenial): status |
New |
Triaged |
|
2016-09-21 05:08:13 |
Launchpad Janitor |
linux (Ubuntu): status |
In Progress |
Fix Released |
|
2017-02-01 17:41:20 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/debian-installer/xenial-proposed |
|
2017-02-01 17:44:33 |
dann frazier |
linux (Ubuntu Xenial): assignee |
|
Andy Whitcroft (apw) |
|
2017-02-01 17:45:14 |
dann frazier |
bug task added |
|
linux-hwe-edge (Ubuntu) |
|
2017-02-01 17:45:23 |
dann frazier |
bug task deleted |
linux (Ubuntu Xenial) |
|
|
2017-02-01 17:45:35 |
dann frazier |
linux-hwe-edge (Ubuntu Xenial): assignee |
|
Andy Whitcroft (apw) |
|
2017-02-01 17:47:36 |
dann frazier |
flash-kernel (Ubuntu Xenial): assignee |
|
dann frazier (dannf) |
|
2017-02-01 17:47:39 |
dann frazier |
flash-kernel (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2017-02-01 17:51:28 |
dann frazier |
description |
When building an upstream kernel using "make deb-pkg" and not any of the Ubuntu-specific kernel build methods (such as debian/rules binary-headers binary-generic), the resulting linux-image deb package includes a gzip-compressed kernel image (copied from Image.gz, not Image). When such a deb package is installed on an arm64 system (such as McDivitt) and flash-kernel is run, it always calls "mkimage" with "-C none", which results in a uImage that can't boot.
The attached patch adds a check to the mkimage_kernel() function in /usr/share/flash-kernel/functions to determine whether the kernel image is gzip-compressed or not, and calls "mkimage" with the appropriate "-C gzip" or "-C none" option. I have tested this patch on McDivitt, with both standard Ubuntu 3.13.0-37 and upstream 3.18-rc1 kernels, and it works for me. |
[Impact]
Ubuntu kernels >= hwe-y (4.8) will no longer boot on xgene/uboot systems. The image size appears to have outgrown the defined firmware region, and u-boot will error out with a checksum mismatch error. A solution for this is to start shipping a compressed kernel (Image.gz target). flash-kernel needs updating to detect a compressed kernel and set the appropriate uImage compression flag. Similarly, d-i needs updating because it does it's own uImage generation.
[Test Case]
Boot an hwe-y kernel on an xgene/uboot system (APM Mustang, HP ProLiant m400).
[Regression Risk]
The necessary code is in place and in-use for yakkety, and no issues have been discovered there. The SRU involves clean cherry-picks of that code for d-i & f-k. The kernel side needs to be modified to pull in the correct version of flash-kernel for xenial. |
|
2017-02-01 17:51:45 |
dann frazier |
debian-installer (Ubuntu Xenial): assignee |
|
dann frazier (dannf) |
|
2017-02-01 17:51:47 |
dann frazier |
debian-installer (Ubuntu Xenial): status |
Triaged |
Fix Committed |
|
2017-02-01 17:51:54 |
dann frazier |
debian-installer (Ubuntu Xenial): importance |
Undecided |
High |
|
2017-02-01 17:51:58 |
dann frazier |
debian-installer (Ubuntu): importance |
Undecided |
High |
|
2017-02-01 17:52:00 |
dann frazier |
flash-kernel (Ubuntu): importance |
Undecided |
High |
|
2017-02-01 17:52:04 |
dann frazier |
flash-kernel (Ubuntu Xenial): importance |
Undecided |
High |
|
2017-02-01 17:52:06 |
dann frazier |
flash-kernel (Ubuntu): assignee |
|
dann frazier (dannf) |
|
2017-02-01 17:52:10 |
dann frazier |
debian-installer (Ubuntu): assignee |
|
dann frazier (dannf) |
|
2017-02-01 17:52:12 |
dann frazier |
linux (Ubuntu): importance |
Undecided |
High |
|
2017-02-01 17:52:14 |
dann frazier |
linux-hwe-edge (Ubuntu Xenial): importance |
Undecided |
High |
|
2017-02-08 14:53:28 |
Robie Basak |
flash-kernel (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-02-08 14:53:31 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-02-08 14:53:41 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2017-02-08 14:53:45 |
Robie Basak |
tags |
patch |
patch verification-needed |
|
2017-02-08 19:41:26 |
dann frazier |
tags |
patch verification-needed |
patch verification-done |
|
2017-02-09 04:38:52 |
Launchpad Janitor |
flash-kernel (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-02-09 04:38:57 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-02-15 13:42:39 |
Launchpad Janitor |
debian-installer (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-03-02 08:57:32 |
Kaelan Harrison |
flash-kernel (Ubuntu): assignee |
dann frazier (dannf) |
Kaelan Harrison (flyboy88) |
|
2017-06-22 17:03:19 |
dann frazier |
linux-hwe-edge (Ubuntu Xenial): status |
New |
Fix Released |
|
2017-06-22 17:03:23 |
dann frazier |
linux-hwe-edge (Ubuntu): status |
New |
Fix Released |
|