2019-11-08 10:11:21 |
Andy Whitcroft |
bug |
|
|
added bug |
2019-11-08 10:11:31 |
Andy Whitcroft |
linux (Ubuntu): status |
New |
In Progress |
|
2019-11-08 10:11:33 |
Andy Whitcroft |
linux (Ubuntu): importance |
Undecided |
High |
|
2019-11-08 10:11:37 |
Andy Whitcroft |
linux (Ubuntu): assignee |
|
Andy Whitcroft (apw) |
|
2019-11-08 10:16:24 |
Andy Whitcroft |
description |
When booting via newer versions of maas we use grub extensions to load additional files. This leads the kernel to panic in efi_main():
exit_boot() failed!
efi_main() failed!
This occurs because the EFI memory map is more fragmented. When we exit boot services that returns an updated memory map in a buffer we supply. This has to be large enough to contain the updated map. If the exit fails because of lack of map space we are dead in the water because the call to allocate memory is lost to us. We therefore add some headroom in the allocation to allow for any expansion during close. This headroom is insufficient. |
[Impact]
Cirtain EFI systems will no longer boot with updated versions of maas. They will still boot in BIOS compatibility mode where available.
[Test Case]
Affected systems have already been tested with this fix applied and now boot successfully in EFI mode. The key test is does any EFI based system boot with this applied.
[Regression Potential]
The change increased the headroom by a very small amount, an additional 8 slots. This is very unlikely to lead to additional failures.
===
When booting via newer versions of maas we use grub extensions to load additional files. This leads the kernel to panic in efi_main():
exit_boot() failed!
efi_main() failed!
This occurs because the EFI memory map is more fragmented. When we exit boot services that returns an updated memory map in a buffer we supply. This has to be large enough to contain the updated map. If the exit fails because of lack of map space we are dead in the water because the call to allocate memory is lost to us. We therefore add some headroom in the allocation to allow for any expansion during close. This headroom is insufficient. |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
nominated for series |
|
Ubuntu Focal |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
bug task added |
|
linux (Ubuntu Focal) |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
nominated for series |
|
Ubuntu Bionic |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
bug task added |
|
linux (Ubuntu Bionic) |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
nominated for series |
|
Ubuntu Disco |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
bug task added |
|
linux (Ubuntu Disco) |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
nominated for series |
|
Ubuntu Eoan |
|
2019-11-08 10:26:40 |
Andy Whitcroft |
bug task added |
|
linux (Ubuntu Eoan) |
|
2019-11-08 10:27:26 |
Andy Whitcroft |
linux (Ubuntu Eoan): status |
New |
In Progress |
|
2019-11-08 10:27:29 |
Andy Whitcroft |
linux (Ubuntu Disco): status |
New |
In Progress |
|
2019-11-08 10:27:31 |
Andy Whitcroft |
linux (Ubuntu Bionic): status |
New |
In Progress |
|
2019-11-08 10:27:34 |
Andy Whitcroft |
linux (Ubuntu Bionic): importance |
Undecided |
High |
|
2019-11-08 10:27:35 |
Andy Whitcroft |
linux (Ubuntu Disco): importance |
Undecided |
Critical |
|
2019-11-08 10:27:37 |
Andy Whitcroft |
linux (Ubuntu Disco): importance |
Critical |
High |
|
2019-11-08 10:27:41 |
Andy Whitcroft |
linux (Ubuntu Eoan): importance |
Undecided |
High |
|
2019-11-08 10:27:44 |
Andy Whitcroft |
linux (Ubuntu Eoan): assignee |
|
Andy Whitcroft (apw) |
|
2019-11-08 10:27:46 |
Andy Whitcroft |
linux (Ubuntu Disco): assignee |
|
Andy Whitcroft (apw) |
|
2019-11-08 10:27:48 |
Andy Whitcroft |
linux (Ubuntu Bionic): assignee |
|
Andy Whitcroft (apw) |
|
2019-11-13 18:10:25 |
Stefan Bader |
linux (Ubuntu Eoan): status |
In Progress |
Fix Committed |
|
2019-11-13 18:11:01 |
Stefan Bader |
linux (Ubuntu Disco): status |
In Progress |
Fix Committed |
|
2019-11-13 18:13:43 |
Stefan Bader |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-11-14 18:31:29 |
Ubuntu Kernel Bot |
tags |
|
verification-needed-eoan |
|
2019-11-14 18:46:39 |
Ubuntu Kernel Bot |
tags |
verification-needed-eoan |
verification-needed-disco verification-needed-eoan |
|
2019-11-14 18:48:28 |
Ubuntu Kernel Bot |
tags |
verification-needed-disco verification-needed-eoan |
verification-needed-bionic verification-needed-disco verification-needed-eoan |
|
2019-11-29 07:19:50 |
Khaled El Mously |
tags |
verification-needed-bionic verification-needed-disco verification-needed-eoan |
verification-done-bionic verification-done-disco verification-done-eoan |
|
2019-12-02 12:43:50 |
Launchpad Janitor |
linux (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-12-02 12:43:50 |
Launchpad Janitor |
cve linked |
|
2019-15794 |
|
2019-12-02 12:51:47 |
Launchpad Janitor |
linux (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2019-12-02 13:04:55 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-12-06 15:57:44 |
Launchpad Janitor |
linux (Ubuntu Focal): status |
In Progress |
Fix Released |
|
2020-03-18 17:21:50 |
Ian Johnson |
bug |
|
|
added subscriber Ian Johnson |