Project

General

Profile

Actions

Bug #14995

closed

misleading messages on microcode update failure

Added by Andy Fiddaman over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

When a CPU microcode update fails due to it not being accepted by the processor, the resulting error messages are misleading:

|C| WARNING: cpu0: failed to update microcode from version 0xa001133 to 0x0
|C| WARNING: cpu1: failed to update microcode from version 0xa001133 to 0x0
|C| WARNING: cpu2: failed to update microcode from version 0xa001133 to 0x0
|C| WARNING: cpu3: failed to update microcode from version 0xa001133 to 0x0
|C| WARNING: cpu4: failed to update microcode from version 0xa001133 to 0x0

The failure to load the update in this case was #14991 but we should fix up the messages.

Actions #1

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 2388
Actions #2

Updated by Andy Fiddaman over 1 year ago

I tested that these messages now correctly include the intended target microcode version instead of 0x0.

Actions #3

Updated by Electric Monk over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit dd03b475cb030673a110ddade24162f09801d116

commit  dd03b475cb030673a110ddade24162f09801d116
Author: Andy Fiddaman <illumos@fiddaman.net>
Date:   2022-10-06T11:44:57.000Z

    14991 Large AMD microcode does not load at boot
    14994 Panic on microcode update with UFS boot archive
    14995 misleading messages on microcode update failure
    14996 Restructure ucode data Makefiles
    15003 Corrupt AMD microcode equivalence-table not properly handled
    Reviewed by: Keith M Wesolowski <wesolows@oxide.computer>
    Reviewed by: Marco van Wieringen <mvw@planets.elm.net>
    Approved by: Dan McDonald <danmcd@mnx.io>

Actions

Also available in: Atom PDF