Project

General

Profile

Actions

Bug #14490

closed

ucodeadm cannot handle latest Intel microcode (again)

Added by Dan McDonald 6 months ago. Updated 6 months ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

See #13891 for what happened last time. Here's what happened this time:

kebe(ws/Intel-Linux-Processor-Microcode-Data-Files)[0]% git log | head -15      commit 115c3e4cdad6a9d84bf06e066162c5c546a9d2c3
Author: mcu-administrator <mcu_administrator@intel.com>
Date:   Mon Feb 7 18:23:52 2022 -0800

    microcode-20220207 Release

commit 3f97690f0da8011f52209b232450a1e5c4f2e1f6
Author: mcu-administrator <mcu_administrator@intel.com>
Date:   Tue Jun 8 09:44:38 2021 -0700

    microcode-20210608 Release

commit 4c5f3fdcc7f5d2b6c1bcc11001ed58923db481ab
Author: mcu-administrator <mcu_administrator@intel.com>
Date:   Tue Feb 16 20:02:04 2021 -0800
kebe(ws/Intel-Linux-Processor-Microcode-Data-Files)[141]% git log -1 --stat | grep Bin | sort -r -n +5 | head -5
 intel-ucode/06-6a-06              | Bin 283648 -> 291840 bytes
 intel-ucode/06-8e-09              | Bin 208896 -> 208896 bytes
 intel-ucode/06-7e-05              | Bin 110592 -> 110592 bytes
 intel-ucode/06-8c-01              | Bin 109568 -> 109568 bytes

I think we should raise it to 384K for a bit of futurproofing (I don't see these getting smaller...).


Related issues

Blocks illumos gate - Feature #14484: Update Intel microcode to 20220207Closed

Actions
Actions #1

Updated by Dan McDonald 6 months ago

Actions #2

Updated by Dan McDonald 6 months ago

Testing done with simple change of UCODE_MAX_SIZE to 384k. The stock "update.intel" uses the system's ucodeadm(1M), the "update.intel/newucodeadm" uses the one in the demo workspace.

nowhere(data/ucode)[1]% git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ../../uts/common/sys/ucode.h

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        ../../../../14472/
        ../../../../proto.14465/
        ../../../../proto.orig/
        ../../cmd/ucodeadm/ucodeadm
        update.intel.newucodeadm
        ../../uts/common/os/priv_const.c

no changes added to commit (use "git add" and/or "git commit -a")
nowhere(data/ucode)[0]% ./update.intel ~/ws/illumos-gate//usr/src/data/ucode/microcode-20220207.tar.gz >& /dev/null
nowhere(data/ucode)[3]% echo $?
3
nowhere(data/ucode)[0]% git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ../../uts/common/sys/ucode.h

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        ../../../../14472/
        ../../../../proto.14465/
        ../../../../proto.orig/
        ../../cmd/ucodeadm/ucodeadm
        update.intel.newucodeadm
        ../../uts/common/os/priv_const.c

no changes added to commit (use "git add" and/or "git commit -a")
nowhere(data/ucode)[0]% ./update.intel.newucodeadm  ~/ws/illumos-gate//usr/src/data/ucode/microcode-20220207.tar.gz > & /dev/null
nowhere(data/ucode)[0]% echo $?
0
nowhere(data/ucode)[0]% git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   Makefile.links
        modified:   intel/000306F2-01
        modified:   intel/000306F4-80
        modified:   intel/000406E3-40
        modified:   intel/000406F1-01
        modified:   intel/00050653-01
        modified:   intel/00050654-01
        modified:   intel/00050656-01
        modified:   intel/00050657-01
        modified:   intel/0005065B-01
        modified:   intel/00050663-10
        modified:   intel/00050664-10
        modified:   intel/00050665-10
        modified:   intel/000506C9-01
        modified:   intel/000506CA-01
        modified:   intel/000506E3-02
        modified:   intel/000506F1-01
        modified:   intel/000606A6-01
        modified:   intel/000706A1-01
        modified:   intel/000706A8-01
        modified:   intel/000706E5-80
        deleted:    intel/00080664-01
        modified:   intel/000806A1-10
        modified:   intel/000806C1-80
        modified:   intel/000806C2-02
        modified:   intel/000806D1-02
        modified:   intel/000806E9-10
        modified:   intel/000806E9-40
        modified:   intel/000806EA-40
        modified:   intel/000806EB-10
        modified:   intel/000806EC-04
        modified:   intel/00090661-01
        modified:   intel/000906C0-01
        modified:   intel/000906E9-02
        modified:   intel/000906EA-02
        modified:   intel/000906EB-02
        modified:   intel/000906EC-02
        modified:   intel/000906ED-02
        modified:   intel/000A0652-20
        modified:   intel/000A0653-02
        modified:   intel/000A0655-02
        modified:   intel/000A0660-80
        modified:   intel/000A0661-80
        modified:   intel/000A0671-02
        modified:   intel/THIRDPARTYLICENSE
        modified:   ../../pkg/manifests/system-microcode-intel.p5m
        modified:   ../../uts/common/sys/ucode.h

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        ../../../../14472/
        ../../../../proto.14465/
        ../../../../proto.orig/
        ../../cmd/ucodeadm/ucodeadm
        update.intel.newucodeadm
        ../../uts/common/os/priv_const.c

no changes added to commit (use "git add" and/or "git commit -a")
nowhere(data/ucode)[0]% 

Actions #3

Updated by Electric Monk 6 months ago

  • Gerrit CR set to 2013
Actions #4

Updated by Dan McDonald 6 months ago

  • Subject changed from ucodeadm cannot handle latest Intel microcode (again) to ucodeadm cannot handle latest Intel microcode (again)
Actions #5

Updated by Dan McDonald 6 months ago

  • Status changed from New to Pending RTI
Actions #6

Updated by Dan McDonald 6 months ago

  • % Done changed from 0 to 90
Actions #7

Updated by Electric Monk 6 months ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 90 to 100

git commit 27c57c46550d6ff25e4454b21d73ca9e29f12d74

commit  27c57c46550d6ff25e4454b21d73ca9e29f12d74
Author: Dan McDonald <danmcd@joyent.com>
Date:   2022-02-09T23:19:44.000Z

    14490 ucodeadm cannot handle latest Intel microcode (again)
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Yuri Pankov <ypankov@tintri.com>
    Approved by: Rich Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF