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/

続く 🙂

AMD Opteron 3250 HE

見てるとついつい欲しくなる、と言うか買ってしまいました。
相変わらず懐に優しいAMDのCPU、AMD Opteron 3250HEにテストサーバのCPUを換装してみた。

$ sudo cat /proc/cpuinfo

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 1
model name      : AMD Opteron(tm) Processor 3250 HE
stepping        : 2
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 16
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bogomips        : 5000.60
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9]

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 1
model name      : AMD Opteron(tm) Processor 3250 HE
stepping        : 2
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
apicid          : 17
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bogomips        : 4999.21
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9]

processor       : 2
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 1
model name      : AMD Opteron(tm) Processor 3250 HE
stepping        : 2
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 2
apicid          : 18
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bogomips        : 4999.24
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9]

processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 1
model name      : AMD Opteron(tm) Processor 3250 HE
stepping        : 2
cpu MHz         : 1200.000
cache size      : 2048 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 2
apicid          : 19
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bogomips        : 4999.23
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9]

AMD AthlonII X2 240e

値段もこなれてきた、と言うかホントに安い。
懐に優しいAMDのCPU、AMD AthlonII X2 240eにテストサーバのCPUを換装してみた。

保守部品を買い込みに行ったついでに目に入ったので興味がてら買ってみたんですが、そろそろSSDにしようかなぁなんて考えながら店の中をウロウロしてたら、何故かCPUを持ってレジに行ってしまいました…。

$ cat /proc/cpuinfo

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 240e Processor
stepping        : 2
cpu MHz         : 800.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov                                                                                                                                                                                                      pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp                                                                                                                                                                                                      lm 3dnowext 3dnow constant_tsc rep_good nopl pni monitor cx16 popcnt lahf_lm cm                                                                                                                                                                                                     p_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs ski                                                                                                                                                                                                     nit wdt
bogomips        : 5639.71
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 240e Processor
stepping        : 2
cpu MHz         : 800.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov                                                                                                                                                                                                      pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp                                                                                                                                                                                                      lm 3dnowext 3dnow constant_tsc rep_good nopl pni monitor cx16 popcnt lahf_lm cm                                                                                                                                                                                                     p_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs ski                                                                                                                                                                                                     nit wdt
bogomips        : 5639.81
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
# cat /var/log/boot.log

Mar 13 02:35:20 localhost kernel: powernow-k8: Found 1 AMD Athlon(tm) II X2 240e Processor processors (2 cpu cores) (version 2.20.00)
Mar 13 02:35:20 localhost kernel: powernow-k8:    0 : pstate 0 (2800 MHz)
Mar 13 02:35:20 localhost kernel: powernow-k8:    1 : pstate 1 (2100 MHz)
Mar 13 02:35:20 localhost kernel: powernow-k8:    2 : pstate 2 (1600 MHz)
Mar 13 02:35:20 localhost kernel: powernow-k8:    3 : pstate 3 (800 MHz)