Public bug reported:

dmidecode shipped in Ubuntu Server 26.04 incorrectly parses SMBIOS Type 17 DDR5 
PMIC0 and RCD Revision Number fields. It prints "Device Type: Not Installed" 
instead of the actual revision number. This is a dmidecode parsing bug. The 
same bug exists in the upstream dmidecode source (versions 3.6, 3.7, and 
current git master).
 
STEPS TO REPRODUCE:
  1. Boot a system with DDR5 RDIMMs and SMBIOS >= 3.7. (Tested on Dell 
PowerEdge, SMBIOS 3.8.0.)
  2. Run:
       sudo dmidecode -t 17 | grep -E "PMIC0|RCD"
 
ACTUAL OUTPUT:
  PMIC0 Manufacturer ID: Bank 1, Hex 0x97
  PMIC0 Device Type: Not Installed
  RCD Manufacturer ID: Bank 7, Hex 0x32
  RCD Device Type: Not Installed
 
EXPECTED OUTPUT:
  PMIC0 Manufacturer ID: Bank 1, Hex 0x97
  PMIC0 Revision Number: 0x0022
  RCD Manufacturer ID: Bank 7, Hex 0x32
  RCD Revision Number: 0x0011
 

SMBIOS v3.7.1 CR231 and v3.9 define SMBIOS Type 17 offsets 0x5E and 0x62
as 16-bit Revision Number WORDs for PMIC0 and RCD respectively. The
function dmi_memory_revision() in dmidecode.c incorrectly splits the
WORD into a high byte ("Device Type") and a low byte ("Device
Revision"). The high byte is 0x00, so dmidecode prints "Not Installed".


A patch has been submitted to the upstream dmidecode project on Savannah:
https://savannah.nongnu.org/patch/?10586
 
The patch modifies dmi_memory_revision() in dmidecode.c to correctly print the 
full 16-bit WORD as a Revision Number for DDR5 (mem_type 0x22/0x23).
 
The patch can be used into the Ubuntu dmidecode package and include the fix in 
the next Ubuntu 26.04 update.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160976

Title:
  dmidecode: DDR5 PMIC0/RCD Revision Number incorrectly reported as
  "Device Type: Not Installed" on Ubuntu Server 26.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2160976/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to