[Bug 1831789] Re: Add "dis_ucode_ldr" to linux boot options for Recovery Mode

Julian Andres Klode 1831789 at bugs.launchpad.net
Fri Sep 4 07:13:06 UTC 2020


It's not built for those architectures in release pocket either.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1831789

Title:
  Add "dis_ucode_ldr" to linux boot options for Recovery Mode

Status in grub2 package in Ubuntu:
  Fix Released
Status in grubzfs-testsuite package in Ubuntu:
  Fix Released
Status in grub2 source package in Xenial:
  Fix Released
Status in grub2 source package in Bionic:
  Fix Released
Status in grub2 source package in Focal:
  Fix Released
Status in grubzfs-testsuite source package in Focal:
  Fix Committed
Status in grub2 source package in Groovy:
  Fix Released
Status in grubzfs-testsuite source package in Groovy:
  Fix Released

Bug description:
  [Impact]
  Due to some recent problems with a microcode update which broke booting of some laptops I suggest adding "dis_ucode_ldr" to recovery mode boot options to allow booting after a bad microcode update.

  See the following topics that describe the problems:
   - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829620
   - https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/issues/1

  When such problems occur it's very hard to see that the microcode
  loading is the issue, the booting just hangs at the purple screen,
  even removing "quiet splash" or using the recovery option will not
  show the error.

  We'll need to double check that dis_ucode_ldr works as expected across all architectures.
  According to the kernel docs (Documentation/admin-guide/kernel-parameters.txt), dis_ucode_ldr is x86 only, so my guess is that it will be ignored for other architectures. According to the kernel code  (arch/x86/kernel/cpu/microcode/core.c), dis_ucode_ldr works for both AMD and Intel.
  I have some time tomorrow on test this on a ARM device.

  This was also discussed Ubuntu Developer mailing list where it was
  suggested to post this here, see: https://lists.ubuntu.com/archives
  /ubuntu-devel/2019-June/040725.html

  [Test case]
  Check that dis_ucode_ldr is present on Linux entries (zsys support in focal+ is verified by grubzfs-testsuite changes)

  [Regression potential]
  If you actually require microcode updates to get into userspace, your recovery option won't work anymore. Does this happen? Seems unlikely.

  For grubzfs-testsuite, given that it is not installed, the only
  regression could be failing tests.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1831789/+subscriptions



More information about the foundations-bugs mailing list