bugdmidecode - Bugs: bug #43370, Support DDR4

 
 

bug #43370: Support DDR4

Submitted by:  Tomohiro Kimura <cskimura>
Submitted on:  Tue 07 Oct 2014 05:36:03 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jean Delvare <khali>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 13 Oct 2014 10:07:23 AM UTCkhaliStatusConfirmed=>Fixed
      Assigned toNone=>khali
      Open/ClosedOpen=>Closed
    Tue 07 Oct 2014 08:49:42 AM UTCkhaliStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1