Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 18.04.5 needrestart reports always that cpu microcode is not updated #206

Closed
kiklop74 opened this issue Feb 12, 2021 · 2 comments
Closed
Labels

Comments

@kiklop74
Copy link

See the verbose output of the command:

 sudo needrestart -r l -v
[main] eval /etc/needrestart/needrestart.conf
[main] needrestart v3.1
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[Core] #882 is a NeedRestart::Interp::Python
[Python] #882: source=/usr/bin/networkd-dispatcher
[Core] #912 is a NeedRestart::Interp::Python
[Python] #912: source=/usr/share/unattended-upgrades/unattended-upgrade-shutdown
+ type bsdtar
+ IUCODE_TOOL_EXTRA_OPTIONS=
+ test -r /etc/default/intel-microcode
+ . /etc/default/intel-microcode
+ test  = no
+ [ -r /usr/share/misc/intel-microcode* ]
+ exec iucode_tool -Sl -tb /lib/firmware/intel-ucode
[uCode/Intel] available revision: 0x0044
[uCode/Intel] available revision: 0x0016
[Kernel] Linux: kernel release 5.4.0-1037-aws, kernel version #39~18.04.1-Ubuntu SMP Fri Jan 15 02:48:42 UTC 2021
Failed to load NeedRestart::Kernel::kFreeBSD: [Kernel/kFreeBSD] Not running on GNU/kFreeBSD!
[Kernel/Linux] /boot/vmlinuz-5.4.0-1037-aws => 5.4.0-1037-aws (buildd@lgw01-amd64-051) #39~18.04.1-Ubuntu SMP Fri Jan 15 02:48:42 UTC 2021 [5.4.0-1037-aws]*
[Kernel/Linux] /boot/vmlinuz-5.4.0-1035-aws => 5.4.0-1035-aws (buildd@lcy01-amd64-021) #37~18.04.1-Ubuntu SMP Wed Jan 6 22:31:04 UTC 2021 [5.4.0-1035-aws]
[Kernel/Linux] /boot/vmlinuz-5.4.0-65-generic => 5.4.0-65-generic (buildd@lgw01-amd64-048) #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 [5.4.0-65-generic]
[Kernel/Linux] /boot/vmlinuz-5.3.0-1032-aws => 5.3.0-1032-aws (buildd@lgw01-amd64-026) #34~18.04.2-Ubuntu SMP Fri Jul 24 10:06:28 UTC 2020 [5.3.0-1032-aws]
[Kernel/Linux] Expected linux version: 5.4.0-1037-aws

Running kernel seems to be up-to-date.

Pending processor microcode upgrade!

Diagnostics:
  The currently running processor microcode revision is 0x44 which is not the expected microcode revision 0x16.

Restarting the system to load the new processor microcode will not be handled automatically, so you should consider rebooting. [Return]


No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

@liske
Copy link
Owner

liske commented Sep 18, 2021

It looks like a VM running on a host using old cpu microcode.

needrestart 3.4 would detect that it runs inside a VM (#139) and won't do the microcode check at all.

@liske liske added the question label Sep 18, 2021
@liske
Copy link
Owner

liske commented Jan 27, 2022

Closed since it should be already fixed in a more recent needrestart version.

@liske liske closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants