dmidecode-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dmidecode] A "physical memory array" issue


From: Li, Lin (address@hidden)
Subject: [dmidecode] A "physical memory array" issue
Date: Thu, 18 Jun 2009 07:19:46 +0000

There is "physical memory array" issue on hp integrity ia64 server.

Pls look that there is only seven trailing zeros in the following code, which 
has disorder the output of "Maximum Capacity".

[dmidecode.c]

2008 static void dmi_memory_array_capacity(u32 code)
2009 {
2010         if (code == 0x8000000)
2011                 printf(" Unknown");
2012         else
2013         {
2014                 if ((code & 0x000FFFFF) == 0)
2015                         printf(" %u GB", code >> 20);
2016                 else if ((code & 0x000003FF) == 0)
2017                         printf(" %u MB", code >> 10);
2018                 else
2019                         printf(" %u kB", code);
2020         }
2021 }


address@hidden dmidecode]# ./dmidecode -t 16
# dmidecode 2.10
# SMBIOS entry point at 0x3e52a000
SMBIOS 2.4 present.

Handle 0x0012, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 2048 GB
        Error Information Handle: Not Provided
        Number Of Devices: 12

Thanks
LiLin
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]