Comment 4 for bug 960087

Revision history for this message
Jeff Lane  (bladernr) wrote :

I believe it! :) Actually after looking through the DMI spec, there's a LOT of stuff that can be thrown into Type 17, and that includes ROM and EEPROMs :(

I'd say it would be sufficient to just look for RAM, but here's what COULD appear in there:

01h Other
02h Unknown
03h DRAM
04h EDRAM
05h VRAM
06h SRAM
07h RAM
08h ROM
09h FLASH
0Ah EEPROM
0Bh FEPROM
0Ch EPROM
0Dh CDRAM
0Eh 3DRAM
0Fh SDRAM
10h SGRAM
11h RDRAM
12h DDR
13h DDR2
14h DDR2 FB-DIMM
15h-17h Reserved
18h DDR3
19h FBD2

It would be easy if we could just look for RAM, but unfortunately, I think we'd also have to look for DDR, DDR2 and DDR3, and maybe there's memory out there that would show up as Unknown...

I wonder if point 1 would be a more reliable thing... I think we can assume that you aren't going to find ROMs showing up more than 1MB. Those should stay in the < 1MB range, right, and more likely in the 4 to 32K range, right? Maybe just looking at size and the descriptor following would be better. I haven't seen memory, that I remember at least, that is listed in dmi as XX GB, it's always MB.

This is one of the sticks on my Alienware... note that it's 2GB but displayed as 2048MB. Also note that it is listed as Type: DDR3, not RAM :(

Handle 0x001A, DMI type 17, 28 bytes
Memory Device
 Array Handle: 0x0019
 Error Information Handle: No Error
 Total Width: 64 bits
 Data Width: 64 bits
 Size: 2048 MB
 Form Factor: SODIMM
 Set: 1
 Locator: M1
 Bank Locator: Bank 0
 Type: DDR3
 Type Detail: Synchronous
 Speed: 1333 MHz
 Manufacturer: 02FE
 Serial Number: DFD80ADC
 Asset Tag: 1001
 Part Number: EBJ21UE8BDS0-DJ-F
 Rank: Unknown