Bug 921500 - i7300_edac detects twice the memory on single mode
Summary: i7300_edac detects twice the memory on single mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-14 10:42 UTC by Mauro Carvalho Chehab
Modified: 2013-07-04 23:01 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-17 01:04:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fix DIMM discovery on single DIMM mode (5.31 KB, patch)
2013-03-14 10:45 UTC, Mauro Carvalho Chehab
no flags Details | Diff

Description Mauro Carvalho Chehab 2013-03-14 10:42:37 UTC
Description of problem:

The i7300 memory controller supports an special single DIMM mode. On such mode, only the configuration for branch 0, channel 0 is valid. Unfortunately, some BIOSes seem to keep filling invalid data for the MTR registers for other branches/channels. As i7300_edac driver doesn't have any code to only get the DIMM info for branch 0, channel 0, that makes it to think that there are twice the memory than it should be.

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

All Kernel versions with the i7300_edac driver.

How reproducible:

Always

Steps to Reproduce:
1. Boot the system
2. Look the EDAC sysfs nodes with the memory size
  
Actual results:

Twice memory is shown. On a machine equipped with a single 512MB DIMM, it detects:

EDAC DEBUG: print_dimm_size:               channel 0 | channel 1 | channel 2 | channel 3 |
EDAC DEBUG: print_dimm_size: -------------------------------------------------------------
EDAC DEBUG: print_dimm_size: csrow/SLOT 0   512 MB   |  512 MB   |    0 MB   |    0 MB   |


Expected results:

It should be discarding branch 1 and branch 0 channel 1 info if single mode is detected.

Comment 1 Mauro Carvalho Chehab 2013-03-14 10:45:24 UTC
Created attachment 709973 [details]
Fix DIMM discovery on single DIMM mode

Comment 2 Fedora Update System 2013-03-14 22:53:23 UTC
kernel-3.8.3-101.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.8.3-101.fc17

Comment 3 Fedora Update System 2013-03-15 02:56:00 UTC
kernel-3.8.3-201.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.8.3-201.fc18

Comment 4 Fedora Update System 2013-03-16 01:18:49 UTC
Package kernel-3.8.3-201.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.8.3-201.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3893/kernel-3.8.3-201.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-03-17 01:04:47 UTC
kernel-3.8.3-201.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-03-22 00:12:15 UTC
kernel-3.8.3-103.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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