Bug 784220

Summary: opensuse 12.2 kernel dmesg: microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
Product: [openSUSE] openSUSE 12.2 Reporter: andreas bittner <abittner>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bjoernv, bpetkov, jeffm, piny, R.Vickers, teuniz
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description andreas bittner 2012-10-09 13:31:15 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1

machine is:
http://www.smolts.org/client/show/pub_081bae02-c2ac-48b7-ac7f-4244b46078c2

opensuse 12.3/x64/milestone0

microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
during all bootups on this amd apu machine


[    9.645440] firmware microcode: firmware_loading_store: unexpected value (0)
[    9.645526] microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
[    9.645539] microcode: CPU1: patch_level=0x06001116
[    9.646006] microcode: CPU2: patch_level=0x06001116
[    9.646358] microcode: CPU3: patch_level=0x06001116
[    9.646680] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba



rpm -aq | grep -i kern
kernel-desktop-3.6.rc7-1.1.x86_64
kernel-firmware-20120719git-2.2.noarch
linux-q2ax:~ # rpm -aq | grep -i micro
microcode_ctl-1.17-139.5.x86_64



Reproducible: Always

Steps to Reproduce:
1.
2.
3.



hwinfo --cpu
01: None 00.0: 10103 CPU                                        
  [Created at cpu.374]
  Unique ID: rdCR.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "AuthenticAMD"
  Model: 21.16.1 "AMD A10-5700 APU with Radeon(tm) HD Graphics   "
  Features: 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,fma,cx16,sse4_1,sse4_2,popcnt,aes,xsave,avx,f16c,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,xop,skinit,wdt,lwp,fma4,tce,nodeid_msr,tbm,topoext,perfctr_core,arat,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,tsc_scale,vmcb_clean,flushbyasid,decodeassists,pausefilter,pfthreshold,bmi1
  Clock: 1400 MHz
  BogoMips: 6833.84
  Cache: 2048 kb
  Units/Processor: 4
  Config Status: cfg=no, avail=yes, need=no, active=unknown

02: None 01.0: 10103 CPU
  [Created at cpu.374]
  Unique ID: wkFv.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "AuthenticAMD"
  Model: 21.16.1 "AMD A10-5700 APU with Radeon(tm) HD Graphics   "
  Features: 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,fma,cx16,sse4_1,sse4_2,popcnt,aes,xsave,avx,f16c,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,xop,skinit,wdt,lwp,fma4,tce,nodeid_msr,tbm,topoext,perfctr_core,arat,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,tsc_scale,vmcb_clean,flushbyasid,decodeassists,pausefilter,pfthreshold,bmi1
  Clock: 1400 MHz
  BogoMips: 6833.84
  Cache: 2048 kb
  Units/Processor: 4
  Config Status: cfg=no, avail=yes, need=no, active=unknown

03: None 02.0: 10103 CPU
  [Created at cpu.374]
  Unique ID: +rIN.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "AuthenticAMD"
  Model: 21.16.1 "AMD A10-5700 APU with Radeon(tm) HD Graphics   "
  Features: 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,fma,cx16,sse4_1,sse4_2,popcnt,aes,xsave,avx,f16c,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,xop,skinit,wdt,lwp,fma4,tce,nodeid_msr,tbm,topoext,perfctr_core,arat,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,tsc_scale,vmcb_clean,flushbyasid,decodeassists,pausefilter,pfthreshold,bmi1
  Clock: 1400 MHz
  BogoMips: 6833.84
  Cache: 2048 kb
  Units/Processor: 4
  Config Status: cfg=no, avail=yes, need=no, active=unknown

04: None 03.0: 10103 CPU
  [Created at cpu.374]
  Unique ID: 4zLr.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "AuthenticAMD"
  Model: 21.16.1 "AMD A10-5700 APU with Radeon(tm) HD Graphics   "
  Features: 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,fma,cx16,sse4_1,sse4_2,popcnt,aes,xsave,avx,f16c,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,xop,skinit,wdt,lwp,fma4,tce,nodeid_msr,tbm,topoext,perfctr_core,arat,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,tsc_scale,vmcb_clean,flushbyasid,decodeassists,pausefilter,pfthreshold,bmi1
  Clock: 3400 MHz
  BogoMips: 6833.84
  Cache: 2048 kb
  Units/Processor: 4
  Config Status: cfg=no, avail=yes, need=no, active=unknown



hwinfo --bios
01: None 00.0: 10105 BIOS                                       
  [Created at bios.186]
  Unique ID: rdCR.lZF+r4EgHp4
  Hardware Class: bios
  BIOS Keyboard LED Status:
    Scroll Lock: off
    Num Lock: on
    Caps Lock: off
  Serial Port 0: 0x3f8
  Base Memory: 634 kB
  PnP BIOS: @@@0000
  MP spec rev 1.4 info:
    OEM id: "A M I"
    Product id: "ALASKA"
    4 CPUs (0 disabled)
  SMBIOS Version: 2.7
  BIOS Info: #0
    Vendor: "American Megatrends Inc."
    Version: "5103"
    Date: "09/19/2012"
    Start Address: 0xf0000
    ROM Size: 8192 kB
    Features: 0x0d03000000013f8b9880
      PCI supported
      BIOS flashable
      BIOS shadowing allowed
      CD boot supported
      Selectable boot supported
      BIOS ROM socketed
      EDD spec supported
      1.2MB Floppy supported
      720kB Floppy supported
      2.88MB Floppy supported
      Print Screen supported
      8042 Keyboard Services supported
      Serial Services supported
      Printer Services supported
      ACPI supported
      USB Legacy supported
      BIOS Boot Spec supported
  System Info: #1
    Manufacturer: "System manufacturer"
    Product: "System Product Name"
    Version: "System Version"
    Serial: "System Serial Number"
    UUID: undefined, but settable
    Wake-up: 0x06 (Power Switch)
  Board Info: #2
    Manufacturer: "ASUSTeK COMPUTER INC."
    Product: "F2A85-M"
    Version: "Rev X.0x"
    Serial: "120801360900012"
    Asset Tag: "To be filled by O.E.M."
    Type: 0x0a (Motherboard)
    Features: 0x09
      Hosting Board
      Replaceable
    Location: "To be filled by O.E.M."
    Chassis: #3
  Chassis Info: #3
    Manufacturer: "Chassis Manufacture"
    Version: "Chassis Version"
    Serial: "Chassis Serial Number"
    Asset Tag: "Asset-1234567890"
    Type: 0x03 (Desktop)
    Bootup State: 0x03 (Safe)
    Power Supply State: 0x03 (Safe)
    Thermal State: 0x03 (Safe)
    Security Status: 0x03 (None)
  Port Connector: #4
    Type: 0x0d (Keyboard Port)
    Internal Designator: "PS/2 Keyboard/Mouse"
    External Designator: "PS/2 Keyboard/Mouse"
    External Connector: 0x0f (PS/2)
  Port Connector: #5
    Type: 0x10 (USB)
    Internal Designator: "USB34"
    External Designator: "USB34"
    External Connector: 0x12 (Access Bus [USB])
  Port Connector: #6
    Type: 0xff (Other)
    Internal Designator: "SPDIFO"
    External Designator: "SPDIFO"
    External Connector: 0xff (Other)
  Port Connector: #7
    Type: 0xff (Other)
    Internal Designator: "HDMI"
    External Designator: "HDMI port"
    External Connector: 0xff (Other)
  Port Connector: #8
    Type: 0xff (Other)
    Internal Designator: "D-SUB"
    External Designator: "D-SUB port"
    External Connector: 0xff (Other)
  Port Connector: #9
    Type: 0xff (Other)
    Internal Designator: "DVI"
    External Designator: "DVI port"
    External Connector: 0xff (Other)
  Port Connector: #10
    Type: 0x20 (Other)
    Internal Designator: "ESATA"
    External Designator: "ESATA"
    External Connector: 0x22 (Other)
  Port Connector: #11
    Type: 0x10 (USB)
    Internal Designator: "USB3_12"
    External Designator: "USB3_12"
    External Connector: 0x12 (Access Bus [USB])
  Port Connector: #12
    Type: 0x1f (Network Port)
    Internal Designator: "LAN"
    External Designator: "LAN"
    External Connector: 0x0b (RJ-45)
  Port Connector: #13
    Type: 0x10 (USB)
    Internal Designator: "USB12"
    External Designator: "USB12"
    External Connector: 0x12 (Access Bus [USB])
  Port Connector: #14
    Type: 0x1d (Audio Port)
    Internal Designator: "Audio_Line_In"
    External Designator: "Audio_Line_In"
    External Connector: 0x1f (Mini-jack [headphones])
  Port Connector: #15
    Type: 0x1d (Audio Port)
    Internal Designator: "Audio_Line_Out"
    External Designator: "Audio_Line_Out"
    External Connector: 0x1f (Mini-jack [headphones])
  Port Connector: #16
    Type: 0x1d (Audio Port)
    Internal Designator: "Audio_Mic_In"
    External Designator: "Audio_Mic_In"
    External Connector: 0x1f (Mini-jack [headphones])
  Port Connector: #17
    Type: 0x1d (Audio Port)
    Internal Designator: "Audio_Center/Sub"
    External Designator: "Audio_Center/Sub"
    External Connector: 0x1f (Mini-jack [headphones])
  Port Connector: #18
    Type: 0x1d (Audio Port)
    Internal Designator: "Audio_Rear"
    External Designator: "Audio_Rear"
    External Connector: 0x1f (Mini-jack [headphones])
  Port Connector: #19
    Type: 0x1d (Audio Port)
    Internal Designator: "Audio_Side"
    External Designator: "Audio_Side"
    External Connector: 0x1f (Mini-jack [headphones])
  Port Connector: #20
    Type: 0x20 (Other)
    Internal Designator: "SATA6G_1"
    Internal Connector: 0x22 (Other)
  Port Connector: #21
    Type: 0x20 (Other)
    Internal Designator: "SATA6G_2"
    Internal Connector: 0x22 (Other)
  Port Connector: #22
    Type: 0x20 (Other)
    Internal Designator: "SATA6G_3"
    Internal Connector: 0x22 (Other)
  Port Connector: #23
    Type: 0x20 (Other)
    Internal Designator: "SATA6G_4"
    Internal Connector: 0x22 (Other)
  Port Connector: #24
    Type: 0x20 (Other)
    Internal Designator: "SATA6G_5"
    Internal Connector: 0x22 (Other)
  Port Connector: #25
    Type: 0x20 (Other)
    Internal Designator: "SATA6G_6"
    Internal Connector: 0x22 (Other)
  Port Connector: #26
    Type: 0x20 (Other)
    Internal Designator: "SATA6G_7"
    Internal Connector: 0x22 (Other)
  Port Connector: #27
    Type: 0x20 (Other)
    Internal Designator: "ESATA6G"
    Internal Connector: 0x22 (Other)
  Port Connector: #28
    Type: 0x10 (USB)
    Internal Designator: "USB3_34"
    Internal Connector: 0x12 (Access Bus [USB])
  Port Connector: #29
    Type: 0x10 (USB)
    Internal Designator: "USB78"
    Internal Connector: 0x12 (Access Bus [USB])
  Port Connector: #30
    Type: 0x10 (USB)
    Internal Designator: "USB910"
    Internal Connector: 0x12 (Access Bus [USB])
  Port Connector: #31
    Type: 0x10 (USB)
    Internal Designator: "USB34"
    Internal Connector: 0x12 (Access Bus [USB])
  Port Connector: #32
    Type: 0x10 (USB)
    Internal Designator: "USB56"
    Internal Connector: 0x12 (Access Bus [USB])
  Port Connector: #33
    Type: 0xff (Other)
    Internal Designator: "PANEL"
    Internal Connector: 0xff (Other)
  Port Connector: #34
    Type: 0xff (Other)
    Internal Designator: "COM1"
    Internal Connector: 0x18 (9 Pin Dual Inline [pin 10 cut])
  Port Connector: #35
    Type: 0xff (Other)
    Internal Designator: "SPDIF_OUT"
    Internal Connector: 0xff (Other)
  Port Connector: #36
    Type: 0x1d (Audio Port)
    Internal Designator: "AAFP"
    Internal Connector: 0x1f (Mini-jack [headphones])
  Port Connector: #37
    Type: 0xff (Other)
    Internal Designator: "CPU_FAN"
    Internal Connector: 0xff (Other)
  Port Connector: #38
    Type: 0xff (Other)
    Internal Designator: "CHA_FAN"
    Internal Connector: 0xff (Other)
  Port Connector: #39
    Type: 0xff (Other)
    Internal Designator: "PWR_FAN"
    Internal Connector: 0xff (Other)
  System Slot: #40
    Designation: "PCIEX16_1"
    Type: 0xa5 (Other)
    Bus Width: 0x05 (32 bit)
    Status: 0x04 (In Use)
    Length: 0x03 (Short)
    Slot ID: 1
    Characteristics: 0x010c (3.3 V, Shared, PME#)
  System Slot: #41
    Designation: "PCIEX1_2"
    Type: 0xa5 (Other)
    Bus Width: 0x05 (32 bit)
    Status: 0x04 (In Use)
    Length: 0x03 (Short)
    Slot ID: 2
    Characteristics: 0x010c (3.3 V, Shared, PME#)
  System Slot: #42
    Designation: "PCI1"
    Type: 0x06 (PCI)
    Bus Width: 0x05 (32 bit)
    Status: 0x04 (In Use)
    Length: 0x03 (Short)
    Slot ID: 3
    Characteristics: 0x010c (3.3 V, Shared, PME#)
  System Slot: #43
    Designation: "PCIEX16_2"
    Type: 0xa5 (Other)
    Bus Width: 0x05 (32 bit)
    Status: 0x04 (In Use)
    Length: 0x03 (Short)
    Slot ID: 4
    Characteristics: 0x010c (3.3 V, Shared, PME#)
  On Board Devices: #44
    Video: "To Be Filled By O.E.M."
    Ethernet: "To Be Filled By O.E.M."
    Sound: "To Be Filled By O.E.M."
  OEM Strings: #45
    To Be Filled By O.E.M.
  System Config Options (Jumpers & Switches) #46:
    To Be Filled By O.E.M.
  Physical Memory Array: #47
    Use: 0x03 (System memory)
    Location: 0x03 (Motherboard)
    Slots: 4
    Max. Size: 8 GB
    ECC: 0x03 (None)
  Memory Array Mapping: #48
    Memory Array: #47
    Partition Width: 255
    Start Address: 0x0000000000000000
    End Address: 0x0000000800000000
  Memory Device: #49
    Location: "DIMM_A1"
    Bank: "A1_BANK0"
    Manufacturer: "Undefined"
    Serial: "00000000"
    Asset Tag: "A1_AssetTagNum1"
    Part Number: "994072"
    Memory Array: #47
    Form Factor: 0x09 (DIMM)
    Type: 0x18 (Other)
    Type Detail: 0x4080 (Synchronous)
    Data Width: 64 bits
    Size: 8 GB
    Speed: 800 MHz
  Memory Device Mapping: #50
    Memory Device: #49
    Array Mapping: #48
    Row: 1
    Interleave Pos: 0
    Interleaved Depth: 0
    Start Address: 0x0000000000000000
    End Address: 0x0000000200000000
  Memory Device: #51
    Location: "DIMM_A2"
    Bank: "A1_BANK1"
    Manufacturer: "Undefined"
    Serial: "00000000"
    Asset Tag: "A1_AssetTagNum0"
    Part Number: "994072"
    Memory Array: #47
    Form Factor: 0x09 (DIMM)
    Type: 0x18 (Other)
    Type Detail: 0x4080 (Synchronous)
    Data Width: 64 bits
    Size: 8 GB
    Speed: 800 MHz
  Memory Device Mapping: #52
    Memory Device: #51
    Array Mapping: #48
    Row: 1
    Interleave Pos: 0
    Interleaved Depth: 0
    Start Address: 0x0000000200000000
    End Address: 0x0000000400000000
  Memory Device: #53
    Location: "DIMM_B1"
    Bank: "A1_BANK2"
    Manufacturer: "Undefined"
    Serial: "00000000"
    Asset Tag: "A1_AssetTagNum2"
    Part Number: "994072"
    Memory Array: #47
    Form Factor: 0x09 (DIMM)
    Type: 0x18 (Other)
    Type Detail: 0x4080 (Synchronous)
    Data Width: 64 bits
    Size: 8 GB
    Speed: 800 MHz
  Memory Device Mapping: #54
    Memory Device: #53
    Array Mapping: #48
    Row: 1
    Interleave Pos: 0
    Interleaved Depth: 0
    Start Address: 0x0000000400000000
    End Address: 0x0000000600000000
  Memory Device: #55
    Location: "DIMM_B2"
    Bank: "A1_BANK3"
    Manufacturer: "Undefined"
    Serial: "00000000"
    Asset Tag: "A1_AssetTagNum3"
    Part Number: "994072"
    Memory Array: #47
    Form Factor: 0x09 (DIMM)
    Type: 0x18 (Other)
    Type Detail: 0x4080 (Synchronous)
    Data Width: 64 bits
    Size: 8 GB
    Speed: 800 MHz
  Memory Device Mapping: #56
    Memory Device: #55
    Array Mapping: #48
    Row: 1
    Interleave Pos: 0
    Interleaved Depth: 0
    Start Address: 0x0000000600000000
    End Address: 0x0000000800000000
  Type 32 Record: #57
    Data 00: 20 14 39 00 00 00 00 00 00 00 00 00 00 00 00 00
    Data 10: 00 00 00 00
  Type 41 Record: #58
    Data 00: 29 0b 3a 00 01 83 01 00 00 00 10
    String 1: "Onboard IGD"
  Type 41 Record: #59
    Data 00: 29 0b 3b 00 01 85 01 00 00 00 c8
    String 1: "Onboard LAN"
  Type 41 Record: #60
    Data 00: 29 0b 3c 00 01 81 01 00 00 03 e2
    String 1: "Onboard 1394"
  Cache Info: #61
    Designation: "L1 CACHE"
    Level: L1
    State: Enabled
    Mode: 0x01 (Write Back)
    Location: 0x00 (Internal, Not Socketed)
    ECC: 0x06 (Multi-bit)
    Type: 0x05 (Unified)
    Associativity: 0x04 (2-way Set-Associative)
    Max. Size: 192 kB
    Current Size: 192 kB
    Speed: 1 ns
    Supported SRAM Types: 0x0010 (Pipeline Burst)
    Current SRAM Type: 0x0010 (Pipeline Burst)
  Cache Info: #62
    Designation: "L2 CACHE"
    Level: L2
    State: Enabled
    Mode: 0x01 (Write Back)
    Location: 0x00 (Internal, Not Socketed)
    ECC: 0x06 (Multi-bit)
    Type: 0x05 (Unified)
    Associativity: 0x08 (16-way Set-Associative)
    Max. Size: 4096 kB
    Current Size: 4096 kB
    Speed: 1 ns
    Supported SRAM Types: 0x0010 (Pipeline Burst)
    Current SRAM Type: 0x0010 (Pipeline Burst)
  Processor Info: #71
    Socket: "FM2"
    Socket Type: 0x2a (Other)
    Socket Status: Populated
    Type: 0x03 (CPU)
    Family: 0x48 (Other)
    Manufacturer: "AuthenticAMD"
    Version: "AMD A10-5700 APU with Radeon(tm) HD Graphics"
    Processor ID: 0x178bfbff00610f01
    Status: 0x01 (Enabled)
    Voltage: 1.3 V
    External Clock: 100 MHz
    Max. Speed: 3400 MHz
    Current Speed: 3400 MHz
    L1 Cache: #61
    L2 Cache: #62
  Language Info: #72
    Languages: en|US|iso8859-1, fr|FR|iso8859-1, es|ES|iso8859-1, de|DE|iso8859-1, ru|RU|iso8859-5, ja|JP|unicode, zh|TW|unicode, zh|CN|unicode
    Current: en|US|iso8859-1
  Config Status: cfg=no, avail=yes, need=no, active=unknown
Comment 1 Dirk Weber 2012-11-14 06:50:10 UTC
A similar problem happens with 3.4.11-2.16-desktop in 12.2 with a Intel Core2Duo
CPU0: Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz stepping 06

only the microcode of the second core is updated:

dmesg | grep microcode         
[   19.858679] microcode: CPU0 sig=0x10676, pf=0x80, revision=0x60c
[   42.351258] firmware microcode: firmware_loading_store: unexpected value (0)
[   42.351327] microcode: CPU1 sig=0x10676, pf=0x80, revision=0x60c
[   42.353008] microcode: CPU1 updated to revision 0x60f, date = 2010-09-29
[   42.358598] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

This is a standard opensuse 12.2 with all updates:
kernel-desktop-3.4.11-2.16.1.x86_64
kernel-desktop-devel-3.4.11-2.16.1.x86_64
kernel-devel-3.4.11-2.16.1.noarch
kernel-firmware-20120719git-2.9.1.noarch

The problem did not happen with the previous kernel 
kernel-desktop-3.4.6-2.10.1.x86_64
kernel-desktop-devel-3.4.6-2.10.1.x86_64
kernel-devel-3.4.6-2.10.1.noarch
kernel-firmware-20120719git-2.9.1.noarch

maybe the problem was introduced by the commits related to microcode mentioned in
http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.4.9
Comment 2 Dirk Weber 2013-02-14 07:18:34 UTC
With openSUSE 12.2 the problem is still happening with the official kernel 3.4.28-2.20-desktop after the update.

kernel-desktop-3.4.28-2.20.1.x86_64
kernel-devel-3.4.28-2.20.1.noarch
kernel-firmware-20120719git-2.9.1.noarch
kernel-desktop-devel-3.4.28-2.20.1.x86_64

In the meantime (also with 3.4.11-2.16.1.x86_64) I noticed it is quite random.
Sometimes both cores are updated, sometimes only CPU0, sometimes only CPU1.

After manually reloading microcode also the second core is updated:

dmesg | grep microcode 
[   22.386048] microcode: CPU0 sig=0x10676, pf=0x80, revision=0x60c
[   40.079513] firmware microcode: firmware_loading_store: unexpected value (0)
[   40.079578] microcode: CPU1 sig=0x10676, pf=0x80, revision=0x60c
[   40.081008] microcode: CPU1 updated to revision 0x60f, date = 2010-09-29
[   40.086664] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

rmmod microcode;modprobe microcode
[ 2614.788855] microcode: Microcode Update Driver: v2.00 removed.
[ 2621.972079] microcode: CPU0 sig=0x10676, pf=0x80, revision=0x60c
[ 2621.974866] microcode: CPU0 updated to revision 0x60f, date = 2010-09-29
[ 2621.990798] microcode: CPU1 sig=0x10676, pf=0x80, revision=0x60f
[ 2621.991301] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
Comment 3 Teuniz XXX 2013-02-14 08:13:08 UTC
I installed the 32-bit version of openSUSE 12.2 and I have the same problem:

dmesg | grep microcode
[    7.504804] microcode: CPU0: patch_level=0x010000bf
[   10.339880] firmware microcode: firmware_loading_store: unexpected value (0)
[   10.339974] microcode: failed to load file amd-ucode/microcode_amd.bin
[   10.340030] microcode: CPU1: patch_level=0x010000bf
[   10.340308] microcode: CPU1: new patch_level=0x010000dc
[   10.340316] microcode: CPU2: patch_level=0x010000bf
[   10.340618] microcode: CPU2: new patch_level=0x010000dc
[   10.340635] microcode: CPU3: patch_level=0x010000bf
[   10.340921] microcode: CPU3: new patch_level=0x010000dc
[   10.340931] microcode: CPU4: patch_level=0x010000bf
[   10.341254] microcode: CPU4: new patch_level=0x010000dc
[   10.341263] microcode: CPU5: patch_level=0x010000bf
[   10.341566] microcode: CPU5: new patch_level=0x010000dc
[   10.341617] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

OS:  Linux 3.4.28-2.20-desktop i686
System:  openSUSE 12.2 (i586)

Processor (CPU):   AMD Phenom(tm) II X6 1055T Processor
Cores:  6

rpm -aq | grep -i kern
kernel-desktop-devel-3.4.28-2.20.1.i686
kernel-desktop-3.4.28-2.20.1.i686
kernel-devel-3.4.28-2.20.1.noarch
kernel-firmware-20120719git-2.9.1.noarch
rpm -aq | grep -i micro
microcode_ctl-1.17-137.2.2.i586

Reproducible: Always

hwinfo --cpu
01: None 00.0: 10103 CPU                                        
  [Created at cpu.374]
  Unique ID: rdCR.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: Intel
  Vendor: "AuthenticAMD"
  Model: 16.10.0 "AMD Phenom(tm) II X6 1055T Processor"
  Features: 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,nonstop_tsc,extd_apicid,aperfmperf,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,pausefilter
  Clock: 800 MHz
  BogoMips: 5619.29
  Cache: 512 kb
  Units/Processor: 6                                                                                                                        
  Config Status: cfg=no, avail=yes, need=no, active=unknown                                                                                 
                                                                                                                                            
02: None 01.0: 10103 CPU                                                                                                                    
  [Created at cpu.374]                                                                                                                      
  Unique ID: wkFv.j8NaKXDZtZ6                                                                                                               
  Hardware Class: cpu                                                                                                                       
  Arch: Intel                                                                                                                               
  Vendor: "AuthenticAMD"                                                                                                                    
  Model: 16.10.0 "AMD Phenom(tm) II X6 1055T Processor"                                                                                     
  Features: 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,nonstop_tsc,extd_apicid,aperfmperf,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,pausefilter
  Clock: 2800 MHz
  BogoMips: 5619.29
  Cache: 512 kb
  Units/Processor: 6
  Config Status: cfg=no, avail=yes, need=no, active=unknown

03: None 02.0: 10103 CPU
  [Created at cpu.374]
  Unique ID: +rIN.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: Intel
  Vendor: "AuthenticAMD"
  Model: 16.10.0 "AMD Phenom(tm) II X6 1055T Processor"
  Features: 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,nonstop_tsc,extd_apicid,aperfmperf,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,pausefilter
  Clock: 800 MHz
  BogoMips: 5619.29
  Cache: 512 kb
  Units/Processor: 6
  Config Status: cfg=no, avail=yes, need=no, active=unknown

04: None 03.0: 10103 CPU
  [Created at cpu.374]
  Unique ID: 4zLr.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: Intel
  Vendor: "AuthenticAMD"
  Model: 16.10.0 "AMD Phenom(tm) II X6 1055T Processor"
  Features: 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,nonstop_tsc,extd_apicid,aperfmperf,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,pausefilter
  Clock: 800 MHz
  BogoMips: 5619.29
  Cache: 512 kb
  Units/Processor: 6
  Config Status: cfg=no, avail=yes, need=no, active=unknown

05: None 04.0: 10103 CPU
  [Created at cpu.374]
  Unique ID: 94PJ.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: Intel
  Vendor: "AuthenticAMD"
  Model: 16.10.0 "AMD Phenom(tm) II X6 1055T Processor"
  Features: 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,nonstop_tsc,extd_apicid,aperfmperf,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,pausefilter
  Clock: 800 MHz
  BogoMips: 5619.29
  Cache: 512 kb
  Units/Processor: 6
  Config Status: cfg=no, avail=yes, need=no, active=unknown

06: None 05.0: 10103 CPU
  [Created at cpu.374]
  Unique ID: EBSn.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: Intel
  Vendor: "AuthenticAMD"
  Model: 16.10.0 "AMD Phenom(tm) II X6 1055T Processor"
  Features: 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,nonstop_tsc,extd_apicid,aperfmperf,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,cpb,hw_pstate,npt,lbrv,svm_lock,nrip_save,pausefilter
  Clock: 800 MHz
  BogoMips: 5619.29
  Cache: 512 kb
  Units/Processor: 6
  Config Status: cfg=no, avail=yes, need=no, active=unknown
Comment 4 Dirk Weber 2013-02-15 17:45:52 UTC
I have to correct my comment 1 from 2012-11-14 06:50:10 UTC.
After browsing my logfiles (/var/log/messages* and /var/log/zypp/history) I realized the problem already happened with kernel-desktop-3.4.6-2.10.1.x86_64, 
only I did not notice it then.

According to my logfiles the problem started right after the update from openSUSE 12.1 to 12.2.
It did not happen with openSUSE 12.1, 
kernel-desktop-3.1.10-1.16.1_x86_64

The update was done using zypper dup.

In messages* are sometimes error log entries of udev just before the entry that the microcode kernel module is inserted:
Feb 13 17:42:03 rain2 udevd[443]: error: can not open '/sys/devices/platform/microcode/firmware/microcode/loading'
Feb 13 17:42:03 rain2 [374]: Inserted module 'microcode'

There is no clear dependency of this logged udev error and the success of microcode updating. Sometimes but not always when the udev error is logged both cores are updated. 

Maybe there is a timing issue/race condition during the boot process.
The update of CPU0 fails more often then the update of CPU1.
Successful update of both cores during system startup is rare.
Comment 5 Bob Vickers 2013-03-07 10:38:02 UTC
I hit this problem on a 12.2 AMD system with kernel 3.4.28-2.20. It hangs at boot time with the messages

CPU0: patch_level=0x01000065
microcode: failed to load file amd-ucode/microcode_amd.bin

(repeated for CPUs 1-7).

 I found a workround though: boot with the systemv 
option, then the microcode updates work and so does the boot.
Comment 6 Dirk Weber 2013-04-13 16:30:49 UTC
(In reply to comment #4)
the problem seems to be solved after upgrade to openSUSE 12.3

After 12 boots always both cores of the Core(TM)2 Duo CPU were updated correctly (using systemd like in 12.2)
Comment 7 Pi Ny 2013-05-10 10:49:00 UTC
(In reply to comment #4)
...
> According to my logfiles the problem started right after the update from
> openSUSE 12.1 to 12.2.
...
> The update was done using zypper dup.

Same issue on a fresh dup from 12.1 to 12.2 on a Thinkpad T520.
I am still booting in failsafe mode trying to get the machine up.
I repeated some steps from comment #2, #3 and #4:

<code>
# dmesg | grep microcode
[   40.943265] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x23
[   46.809704] microcode: CPU0 updated to revision 0x28, date = 2012-04-24
[   46.817419] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x23
[   46.846822] microcode: CPU1 updated to revision 0x28, date = 2012-04-24
[   46.854688] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x23
[   46.863246] microcode: CPU2 updated to revision 0x28, date = 2012-04-24
[   46.871144] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x23
[   46.879636] microcode: CPU3 updated to revision 0x28, date = 2012-04-24
[   46.887664] microcode: Microcode Update Driver: v2.00 utigran@aivazian.fsnet.co.uk>, Peter Oruba
# rmmod microcode;modprobe microcode
# dmesg | grep microcode
[   40.943265] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x23
[   46.809704] microcode: CPU0 updated to revision 0x28, date = 2012-04-24
[   46.817419] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x23
[   46.846822] microcode: CPU1 updated to revision 0x28, date = 2012-04-24
[   46.854688] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x23
[   46.863246] microcode: CPU2 updated to revision 0x28, date = 2012-04-24
[   46.871144] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x23
[   46.879636] microcode: CPU3 updated to revision 0x28, date = 2012-04-24
[   46.887664] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[ 1116.559228] microcode: Microcode Update Driver: v2.00 removed.
[ 1116.561122] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x28
[ 1116.561466] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x28
[ 1116.561801] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x28
[ 1116.562110] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x28
[ 1116.562435] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
# rpm -aq | grep -i kern
kernel-desktop-3.4.33-2.24.1.x86_64
kernel-firmware-20120719git-2.9.1.noarch
# rpm -aq | grep -i micro
microcode_ctl-1.17-137.6.1.x86_64
</code>

So, any idea how to proceed?
Comment 8 Bob Vickers 2013-05-10 11:01:53 UTC
Have you tried my workround from comment 5? At the boot splash screen hit F5 and change the Init program to "system V"

Bob
Comment 9 Pi Ny 2013-05-10 18:59:39 UTC
(In reply to comment #8)
> Have you tried my workround from comment 5? At the boot splash screen hit F5
> and change the Init program to "system V"
> 
> Bob

Since I encountered additional issues I decided to jump forward to 12.3 immediately.
I can confirm the info from comment #6: Problem no longer present in 12.3
Comment 10 Borislav Petkov 2013-07-08 09:33:30 UTC
So this bugzilla can be closed?
Comment 11 Bob Vickers 2013-07-12 11:26:12 UTC
I was keeping quiet because it isn't my bug. But I have seen the issue on two separate machines and in each case the bug could be worked round at 12.2 by using sysvinit, and was properly fixed in 12.3.

So from my perspective the bug can be closed.
Comment 12 Jeff Mahoney 2013-07-15 22:13:34 UTC
If the workaround for 12.2 is to switch to sysvinit then the bug should be changed to reflect an issue in systemd.
Comment 13 Frederic Crozat 2013-07-16 08:08:06 UTC
since 12.3 has only systemd supported and it works with 12.3, there is no point in keeping this bug opened. Moreover, systemd has nothing to do with firmware loading. Closing as fixed.