Bug 731961 - microcode.ko does not support AMD family 15
Summary: microcode.ko does not support AMD family 15
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 15
Hardware: athlon
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-19 09:32 UTC by Vittorio
Modified: 2011-08-20 09:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-20 09:00:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vittorio 2011-08-19 09:32:34 UTC
Description of problem:
I just installed kernel-2.6.40.3-0.fc15.x86_64.rpm
on my AMD Athlon 64 3500+ family 15.

Unfortunately the kernel crashes at boot time issuing a lot of messages

microcode: CPU0: family 15 not supported


It seems that microcode.ko does not support family 15 AMD processors.

I fixed the issue substituting line 79 of microcode_amd.c


      if (c->x86_vendor != X86_VENDOR_AMD || c->x86 < 0x10) {


with the following


      if (c->x86_vendor != X86_VENDOR_AMD || c->x86 < 0x0F) {


After regenerating microcode.ko the kernel boots just fine.

First time I got this situation was with 2.6.40-4.

Until 2.6.38.8-35 everything was fine. I never installed 2.6.39.

Is this the correct fix or can you suggest me a better one?


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


How reproducible: Always


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Josh Boyer 2011-08-19 11:56:45 UTC
What version of microcode_ctl do you have installed?  This is likely a dupe of bug 690930.  You need:

1. microcode_ctl-1.17-18.fc15
2. kernel-2.6.40.3-0.fc15

Comment 2 Vittorio 2011-08-20 09:00:17 UTC
Yes, installing microcode_ctl-1.17-18 fixed the issue.


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