Bug 855854 - microcode "patch size mismatch" with amd e-350
Summary: microcode "patch size mismatch" with amd e-350
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Anton Arapov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-10 12:01 UTC by Oliver Henshaw
Modified: 2014-06-18 08:03 UTC (History)
8 users (show)

Fixed In Version: 3.4.11-1.fc16.x86_64
Clone Of:
Environment:
Last Closed: 2012-09-14 06:31:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Oliver Henshaw 2012-09-10 12:01:36 UTC
Description of problem:

I see warnings about microcode updates at boot:

# dmesg | grep -i micro
[    3.153152] [drm] Loading PALM Microcode
[   23.352124] microcode: CPU0: patch_level=0x05000026
[   23.359931] microcode: patch size mismatch
[   23.359987] microcode: CPU1: patch_level=0x05000026
[   23.368828] microcode: patch size mismatch
[   23.369013] microcode: Microcode Update Driver: v2.00 <tigran.co.uk>, Peter Oruba

though there are no apparent ill effects.


Hardware:

AMD E-350 in an Asus E35M1-M motherboard


Version-Release number of selected component (if applicable):

microcode_ctl-1.17-25.fc16.x86_64
kernel-3.3.0-8.fc16.x86_64
kernel-3.4.9-1.fc16.x86_64
kernel-3.4.9-2.fc16.x86_64

Comment 1 Anton Arapov 2012-09-12 06:28:11 UTC
Oliver, are you sure your amd microcode file is not malformed? did you try to reinstall microcode_ctl package?

$ md5sum /lib/firmware/amd-ucode/*
4a83915c7e8f6d394e748c3bed1d0961  microcode_amd.bin
34496f1b22be4ef8fa04e4c943a19ec6  microcode_amd_fam15h.bin

Could you please execute the command above and compare the checksums please?

Your problem seems weird to me, I'd also ask- have you experienced broken archives(e.g. *zip,*bz2,et al) on your system that aren't supposed to be broken?

Comment 2 Anton Arapov 2012-09-12 06:32:58 UTC
And did you copy pasted *all* the output from " # dmesg | grep -i micro " ?? Have you seen "microcode: CPU0: updated (new patch_level=...)" line around?

Comment 3 Oliver Henshaw 2012-09-13 17:41:57 UTC
The microcode files check out fine with both md5sum and 'rpm -qV'; I haven't noticed any problems with archives, but then again I don't make much use of them on this system (apart from installing rpms); and, yes, that was all the grepped output.

I've also tested the fedora (kde) livecds: F16 (kernel-3.1.0-7.fc16.x86_64, microcode_ctl-1:1.17-18.fc16.x86_64) has no problems but F17 (kernel-3.3.4-5.fc17.x86_64, microcode_ctl-1:1.17-24.fc17.x86_64).

I then tried downgrading packages on the installed system. Downgrading microcode_ctl to the F16 release version makes no difference, but downgrading the kernel does fix it:

[   20.583961] microcode: CPU0: patch_level=0x05000026
[   20.595014] microcode: CPU0: new patch_level=0x05000028
[   20.601858] microcode: CPU1: patch_level=0x05000026
[   20.607016] microcode: CPU1: new patch_level=0x05000028

(pasted from /var/log/messages this time)

So the bug appears between kernel-3.1.0-7.fc16.x86_64 and kernel-3.3.0-8.fc16.x86_64.

Comment 4 Justin M. Forbes 2012-09-13 17:55:21 UTC
What about F17 with the 3.5.3 kernel?

Comment 5 Justin M. Forbes 2012-09-13 19:02:56 UTC
Actually scratch that, the fix is upstream, and will make our next kernel release.

Comment 6 Anton Arapov 2012-09-14 06:31:07 UTC
Thanks Justin, CLOSING it then....

Comment 7 Fedora Update System 2012-09-17 19:18:16 UTC
kernel-3.5.4-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.5.4-1.fc17

Comment 8 Fedora Update System 2012-09-22 00:05:37 UTC
kernel-3.5.4-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Oliver Henshaw 2012-09-22 15:14:31 UTC
Confirmed fixed in kernel-3.4.11-1.fc16.x86_64:

[   19.475331] microcode: CPU0: patch_level=0x05000026
[   19.499487] microcode: CPU0: new patch_level=0x05000028
[   19.499649] microcode: CPU1: patch_level=0x05000026
[   19.513497] microcode: CPU1: new patch_level=0x05000028
[   19.513586] microcode: Microcode Update Driver: v2.00 <tigran.co.uk>, Peter Oruba


Note You need to log in before you can comment on or make changes to this bug.