CPU Microcode Install


ログにmicrocodeのエラーが出ていたので、インストールした時のメモ。

  • Vine Linux 6.2
  • AMD Opteron 3250 HE

ログにこのようなエラーが…

$ sudo cat /var/log/messages | grep microcode

Nov 19 03:26:19 localhost kernel: microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
Nov 19 03:26:19 localhost kernel: microcode: CPU1: patch_level=0x06000629
Nov 19 03:26:19 localhost kernel: microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
Nov 19 03:26:19 localhost kernel: microcode: CPU2: patch_level=0x06000629
Nov 19 03:26:19 localhost kernel: microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
Nov 19 03:26:19 localhost kernel: microcode: CPU3: patch_level=0x06000629
Nov 19 03:26:19 localhost kernel: microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
Nov 19 03:26:19 localhost kernel: microcode: Microcode Update Driver: v2.00 , Peter Oruba

まずはこちらのサイトからtar玉を落としてくる。

$ wget http://www.amd64.org/microcode/amd-ucode-latest.tar.bz2

そんで解凍してフォルダを作成する。

$ tar zxvf amd-ucode-latest.tar.bz2
$ sudo mv amd-ucode /lib/firmware/


そして新たにmicrocodeを読み込ませる。

$ sudo modprobe -r microcode
$ sudo modprobe microcode

ちゃんと読み込まれたかログを確認する。

$ sudo cat /var/log/messages | grep microcode

Nov 19 04:55:10 localhost kernel: microcode: CPU0: patch_level=0x06000629
Nov 19 04:55:10 localhost kernel: microcode: CPU0: new patch_level=0x0600063d
Nov 19 04:55:10 localhost kernel: microcode: CPU1: patch_level=0x06000629
Nov 19 04:55:10 localhost kernel: microcode: CPU1: new patch_level=0x0600063d
Nov 19 04:55:10 localhost kernel: microcode: CPU2: patch_level=0x06000629
Nov 19 04:55:10 localhost kernel: microcode: CPU2: new patch_level=0x0600063d
Nov 19 04:55:10 localhost kernel: microcode: CPU3: patch_level=0x06000629
Nov 19 04:55:10 localhost kernel: microcode: CPU3: new patch_level=0x0600063d
Nov 19 04:55:10 localhost kernel: microcode: Microcode Update Driver: v2.00 , Peter Oruba