bugdmidecode - Bugs: bug #43370, Support DDR4

 
 

bug #43370: Support DDR4

Submitter:  Tomohiro Kimura <cskimura>
Submitted:  Tue 07 Oct 2014 05:36:03 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  khali
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 13 Oct 2014 10:07:23 AM UTC, comment #3: 

Patch committed, thanks for your contribution. I know the final specification isn't released yet, but the value for DDR4 has been already seen in the wild on several systems so it is very unlikely that it will change now.

Jean Delvare <khali>
Group administrator
Wed 08 Oct 2014 07:14:31 AM UTC, comment #2: 

Thanks for comment.

DDR4 is included in SMBIOS Speification 3.0.0d(Work-in-Progress yet),
so I will wait until it is specified and marge into dmidecode.


Tomohiro Kimura <cskimura>
Tue 07 Oct 2014 08:49:42 AM UTC, comment #1: 

Thanks for the report and the patch. The patch should be provided as an attachment though: patches in comments can't be applied.

The problem is that the last SMBIOS specification available, version 2.8.0, doesn't mention DDR4. Maybe your hardware vendor has access to non-public pre-version of the next iteration, so your patch is most likely correct, but it would be good to have a confirmation.

Jean Delvare <khali>
Group administrator
Tue 07 Oct 2014 05:36:03 AM UTC, original submission:  

Hi.

I found that DDR4 is not supported by dmidecode.

I got Memory Type "<OUT OF SPEC>"

# dmidecode -t 17
Handle 0x1100, DMI type 17, 34 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: 1
        Locator: A1
        Bank Locator: Not Specified
        Type: <OUT OF SPEC>
        Type Detail: Synchronous Registered (Buffered)
        Speed: 2133 MHz
        Manufacturer: 00AD063200AD
        Serial Number: 103DBE06
        Asset Tag: 001419B1
        Part Number: HMA41GR7MFR8N-TFT1
        Rank: 2
        Configured Clock Speed: 1867 MHz
--snip--

The following is a patch.

diff -aurN dmidecode-2.12/dmidecode.c dmidecode.new/dmidecode.c
--- dmidecode-2.12/dmidecode.c  2013-04-17 21:25:34.000000000 +0900
+++ dmidecode.new/dmidecode.c   2014-10-07 12:57:02.483204243 +0900
@@ -2304,9 +2304,10 @@
                "Reserved",
                "DDR3",
                "FBD2", /* 0x19 */
+               "DDR4", /* 0x1a */
        };
 
-       if (code >= 0x01 && code <= 0x19)
+       if (code >= 0x01 && code <= 0x1a)
                return type[code - 0x01];
        return out_of_spec;
 }

Regards,

Tomohiro Kimura <cskimura>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by khali (Posted a comment)
  • -email is unavailable- added by cskimura (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-13 khali StatusConfirmed Fixed
        Assigned toNone khali
        Open/ClosedOpen Closed
    2014-10-07 khali StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code