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.
Created attachment 709973 [details] Fix DIMM discovery on single DIMM mode
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
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
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).
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.
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.