On 2019-05-22 17:13:02, Mark wrote:
> > This may be a bug in how the kernel is loading the microcode
> 
> can you review the liquorix patches? Their kernel boots with said
> microcode.

I compared the arch/x86/ source code directories in the liquorix and
Ubuntu kernels. While there are a large amount of differences, I didn't
see anything that would cause a microcode loading behavior change.

This has me wondering about a few things regarding your being able to
boot the liquorix kernel in comment #41.

A) 'dmesg | grep microcode' showed no output. This is confusing because
   the microcode loader should print information when it loads
   microcode unless it is disabled. Your /proc/cmdline doesn't show the
   dis_ucode_ldr kernel parameter being in use but the use of that
   option would prevent anything from being printed by the microcode
   loader.

B) You have the latest microcode revision (0xb8) loaded according to
   /sys/devices/system/cpu/cpu0/microcode/version. That means that
   either the kernel microcode loader did load microcode or you've
   recently installed a BIOS update which contains the latest microcode
   revision and the kernel microcode loader didn't do anything.

   Asus published BIOS version 302 for your laptop on 2019-04-02
   (https://www.asus.com/Laptops/ASUS-ZenBook-14-UX433FN/HelpDesk_BIOS/).
   It is has no release notes that I can find. The release date on the
   BIOS update comes after the date stamped in the microcode file
   (2019-03-30). That would be quite the turnaround time but it is
   technically possible that it contains revision 0xb8.

To summarize, maybe you've installed a BIOS update that includes the new
microcode and that's allowing you to boot the liquorix kernel because it
isn't doing a microcode load because of A) and/or B) above?

The upstream bug report has mentions of Arch, Fedora, Ubuntu, and
upstream kernels all being affected by this bug. I'm skeptical that the
liquorix kernel is doing microcode loading correctly, when nobody else
is, which is why I'm trying to double check everything in comment #41.

> Is there a PPA with vanilla kernel I should try?

We have a mainline vanilla kernel builds of 5.0.17 here:

  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.17/

Unfortunately, the 5.0.18 build, which would more closely resemble the
liquorix kernel, isn't available yet.

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

Title:
  intel-microcode on ASUS makes kernel stuck during loading initramfs on
  bionic-updates, bionic-security

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1829620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to