Default to early instead of auto if MODULES=most

Bug #1778738 reported by Julian Andres Klode
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amd64-microcode (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Artful
Won't Fix
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
intel-microcode (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Artful
Won't Fix
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Initramfs for MODULES=most should build with all microcodes installed

[Test case]
Have both amd64-microcode and intel-microcode installed, and MODULES=most set. Test generated initramfs in both amd64 and intel machines and make sure the microcodes load.

If that's not feasible, we should at least run update-initramfs with -v and ensure that it says the right things:

I: amd64-microcode: installing AMD64 microcode into the early initramfs...
intel-microcode: adding microcode for either all or selected Intel processor models
[long list of microcodes]

[Regression potential]
Some tools will fail to understand the initramfs, as it now has two cpio archives prepended (e.g. lsinitramfs skips intel microcode archive, as seen in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886424)

Changed in amd64-microcode (Ubuntu):
status: New → In Progress
status: In Progress → Fix Committed
Changed in intel-microcode (Ubuntu):
status: New → Fix Committed
tags: added: block-proposed
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Tested on intel locally, it's loaded, with both amd64-microcode & intel-microcode installed from proposed.

ditto on amd baremetal instance i got off a public cloud.

tags: removed: block-proposed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package intel-microcode - 3.20180425.1ubuntu1

---------------
intel-microcode (3.20180425.1ubuntu1) cosmic; urgency=medium

  * Default to early instead of auto, and install all of the microcode,
    not just the one matching the current CPU, if MODULES=most is set
    in the initramfs-tools config (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 26 Jun 2018 16:31:30 +0200

Changed in intel-microcode (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amd64-microcode - 3.20180524.1ubuntu1

---------------
amd64-microcode (3.20180524.1ubuntu1) cosmic; urgency=medium

  * Default to 'early' instead of 'auto' in the initramfs-tools hook
    when building with MODULES=most (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 26 Jun 2018 16:32:22 +0200

Changed in amd64-microcode (Ubuntu):
status: Fix Committed → Fix Released
tags: added: id-5b0f2e633d73b7b1eb883677
description: updated
description: updated
description: updated
Revision history for this message
Julian Andres Klode (juliank) wrote :

I'm not sure how feasible retesting loading of the firmware is for the 8 SRUs. We tested that once on cosmic per vendor, so given that the rest is equal, just ensuring it's there is probably fine.

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Julian, or anyone else affected,

Accepted intel-microcode into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/intel-microcode/3.20180425.1~ubuntu0.18.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in intel-microcode (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Julian, or anyone else affected,

Accepted amd64-microcode into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/amd64-microcode/3.20180524.1~ubuntu0.18.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in amd64-microcode (Ubuntu Bionic):
status: New → Fix Committed
Changed in intel-microcode (Ubuntu Artful):
status: New → Fix Committed
tags: added: verification-needed-artful
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Julian, or anyone else affected,

Accepted intel-microcode into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/intel-microcode/3.20180425.1~ubuntu0.17.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in amd64-microcode (Ubuntu Artful):
status: New → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Julian, or anyone else affected,

Accepted amd64-microcode into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/amd64-microcode/3.20180524.1~ubuntu0.17.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in intel-microcode (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Julian, or anyone else affected,

Accepted intel-microcode into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/intel-microcode/3.20180425.1~ubuntu0.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in amd64-microcode (Ubuntu Xenial):
status: New → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Julian, or anyone else affected,

Accepted amd64-microcode into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/amd64-microcode/3.20180524.1~ubuntu0.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Julian, or anyone else affected,

Accepted intel-microcode into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/intel-microcode/3.20180425.1~ubuntu0.14.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in intel-microcode (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed-trusty
Changed in amd64-microcode (Ubuntu Trusty):
status: New → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Julian, or anyone else affected,

Accepted amd64-microcode into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/amd64-microcode/3.20180524.1~ubuntu0.14.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Re: Default to early instead of auto when MODULES=most

btw. is it necessary for these to go to -security as well? Or just -updates is enough? For now I assumed the latter, since no security sign-off was requested (and for -security updates we'd need to get these built in the security PPA probably).

Revision history for this message
Steve Beattie (sbeattie) wrote :

Hi, the trusty amd64-microcode SRU has been superceded by https://launchpad.net/ubuntu/+source/amd64-microcode/3.20180524.1~ubuntu0.14.04.2+really20130710.1 which was a revert due to LP: #1779092. Thanks.

Changed in amd64-microcode (Ubuntu Trusty):
status: Fix Committed → Triaged
Revision history for this message
Julian Andres Klode (juliank) wrote :

Verified on xenial:

Get:15 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 intel-microcode amd64 3.20180425.1~ubuntu0.16.04.2 [1145 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 amd64-microcode amd64 3.20180524.1~ubuntu0.16.04.2 [32.2 kB]

Checked update-initramfs -v output to check that both amd64 and intel microcode are installed, also checked that intel picks all microcode packets.

tags: added: verification-done-xenial
removed: verification-needed-xenial
Revision history for this message
Julian Andres Klode (juliank) wrote :

Same for bionic with:

Get:17 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 intel-microcode amd64 3.20180425.1~ubuntu0.18.04.2 [1143 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 amd64-microcode amd64 3.20180524.1~ubuntu0.18.04.2 [32.3 kB]

tags: added: verification-done-bionic
removed: verification-needed-bionic
Changed in intel-microcode (Ubuntu Artful):
status: Fix Committed → Won't Fix
Changed in amd64-microcode (Ubuntu Artful):
status: Fix Committed → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amd64-microcode - 3.20180524.1~ubuntu0.16.04.2

---------------
amd64-microcode (3.20180524.1~ubuntu0.16.04.2) xenial; urgency=medium

  * Default to 'early' instead of 'auto' in the initramfs-tools hook
    when building with MODULES=most (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 26 Jun 2018 16:32:22 +0200

Changed in amd64-microcode (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for amd64-microcode has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Default to early instead of auto when MODULES=most

This bug was fixed in the package intel-microcode - 3.20180425.1~ubuntu0.16.04.2

---------------
intel-microcode (3.20180425.1~ubuntu0.16.04.2) xenial; urgency=medium

  * Default to early instead of auto, and install all of the microcode,
    not just the one matching the current CPU, if MODULES=most is set
    in the initramfs-tools config (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 26 Jun 2018 16:31:30 +0200

Changed in intel-microcode (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package intel-microcode - 3.20180425.1~ubuntu0.18.04.2

---------------
intel-microcode (3.20180425.1~ubuntu0.18.04.2) bionic; urgency=medium

  * Default to early instead of auto, and install all of the microcode,
    not just the one matching the current CPU, if MODULES=most is set
    in the initramfs-tools config (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 26 Jun 2018 16:31:30 +0200

Changed in intel-microcode (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amd64-microcode - 3.20180524.1~ubuntu0.18.04.2

---------------
amd64-microcode (3.20180524.1~ubuntu0.18.04.2) bionic; urgency=medium

  * Default to 'early' instead of 'auto' in the initramfs-tools hook
    when building with MODULES=most (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 26 Jun 2018 16:32:22 +0200

Changed in amd64-microcode (Ubuntu Bionic):
status: Fix Committed → Fix Released
Changed in amd64-microcode (Ubuntu Trusty):
status: Triaged → In Progress
summary: - Default to early instead of auto when MODULES=most
+ Default to early instead of auto if MODULES=most
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Julian, or anyone else affected,

Accepted amd64-microcode into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/amd64-microcode/3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in amd64-microcode (Ubuntu Trusty):
status: In Progress → Fix Committed
Revision history for this message
Julian Andres Klode (juliank) wrote :

trusty before:
[...]
Calling hook amd64_microcode
Calling hook compcache
[...]
Calling hook intel_microcode
intel-microcode: adding microcode for currently online and selected Intel processors
intel-microcode: using early initramfs microcode update mode...
[...]

(that is, no amd, only current intel)

install versions from proposed:
[...]
Unpacking amd64-microcode (3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1) over (3.20180524.1~ubuntu0.14.04.2+really20130710.1) ...
Unpacking intel-microcode (3.20180425.1~ubuntu0.14.04.2) over (3.20180425.1~ubuntu0.14.04.1) ...
[...]

then:
Calling hook amd64_microcode
amd64-microcode: installing all microcode datafiles for AMD64 processors
amd64-microcode: installing AMD64 processor microcode update support into initramfs...
[...]
Calling hook intel_microcode
intel-microcode: adding microcode for either all or selected Intel processor models
intel-microcode: using early initramfs microcode update mode...

lsinitramfs here also shows microcode for both:
kernel
kernel/x86
kernel/x86/microcode
kernel/x86/microcode/GenuineIntel.bin
[...]
lib/firmware/amd-ucode
lib/firmware/amd-ucode/microcode_amd.bin
lib/firmware/amd-ucode/microcode_amd_fam15h.bin

(note that trusty does not have early microcode loading for amd, only for intel).

tags: added: verification-done-trusty
removed: verification-needed-trusty
tags: added: verification-done
removed: verification-needed verification-needed-artful
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package intel-microcode - 3.20180425.1~ubuntu0.14.04.2

---------------
intel-microcode (3.20180425.1~ubuntu0.14.04.2) trusty; urgency=medium

  * Default to early instead of auto, and install all of the microcode,
    not just the one matching the current CPU, if MODULES=most is set
    in the initramfs-tools config (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 26 Jun 2018 16:31:30 +0200

Changed in intel-microcode (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amd64-microcode - 3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1

---------------
amd64-microcode (3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1) trusty; urgency=medium

  * Install (all) microcode on non-amd systems too if MODULES=most in initramfs-tools
    config (LP: #1778738)

 -- Julian Andres Klode <email address hidden> Tue, 07 Aug 2018 14:09:42 +0200

Changed in amd64-microcode (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.