Re: How to get the SPD infomation in freebsd ?

2010-06-29 Thread C. P. Ghost
On Tue, Jun 29, 2010 at 7:51 AM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 On 29/06/2010 03:29:04, zaxis wrote:

 In windows, the `CPU-Z` utility can be used to get the SPD(Serial Presence
 Detect) information. How about freebsd ? I want to get those information
 especially frequency to add more memory. And i donot want to touch the
 hardware.

 Try dmidecode(8) -- it's in ports.  This will tell you quite a bit of
 information about what type of RAM you have installed, but it may be
 more productive to look up the Motherboard model numbers it returns, and
 find compatible RAM that way.

dmidecode(8) is better than nothing, but it doesn't return SPD data for me:

Handle 0x002B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0029
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 72 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK0
Type: DDR2
Type Detail: Synchronous
Speed: 400 MHz
Manufacturer: Manufacturer0
Serial Number: SerNum0
Asset Tag: AssetTagNum0
Part Number: PartNum0

(Maybe those DIMMS aren't SPD capable? I don't know).

According to
  http://en.wikipedia.org/wiki/Serial_presence_detect
dmidecode(8) reads only BIOS data, but not the eeprom from
the DRAM modules themselves. The same page also points
to spdmem(4).

OpenBSD's spdmem(4) driver could be interesting to port to FreeBSD:
  http://www.openbsd.org/cgi-bin/man.cgi?query=spdmemsektion=4
as it allegedly reads the eeprom data directly off the DIMM modules.

 Even so, for best results it helps if you install a uniform set of RAM
 modules, and I don't think there's any option other than popping the
 case and pulling a RAM stick for a visual inspection if you want a 100%
 certain match.

I've already seen mislabled DIMMS in the past, and usually, the
information stored in SPD was more reliable than the one on the
stickers (but not always).

        Cheers,

        Matthew

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to get the SPD infomation in freebsd ?

2010-06-28 Thread zaxis

In windows, the `CPU-Z` utility can be used to get the SPD(Serial Presence
Detect) information. How about freebsd ? I want to get those information
especially frequency to add more memory. And i donot want to touch the
hardware.

Sincerely! 

-
e^(π⋅i) + 1 = 0
-- 
View this message in context: 
http://old.nabble.com/How-to-get-the-SPD-infomation-in-freebsd---tp29015060p29015060.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to get the SPD infomation in freebsd ?

2010-06-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/06/2010 03:29:04, zaxis wrote:
 
 In windows, the `CPU-Z` utility can be used to get the SPD(Serial Presence
 Detect) information. How about freebsd ? I want to get those information
 especially frequency to add more memory. And i donot want to touch the
 hardware.

Try dmidecode(8) -- it's in ports.  This will tell you quite a bit of
information about what type of RAM you have installed, but it may be
more productive to look up the Motherboard model numbers it returns, and
find compatible RAM that way.

Even so, for best results it helps if you install a uniform set of RAM
modules, and I don't think there's any option other than popping the
case and pulling a RAM stick for a visual inspection if you want a 100%
certain match.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwpiesACgkQ8Mjk52CukIzvYACfR0szlN7qj+ZMDBg5WuP1wXzb
n04An0s2IjuMxGpbi68SjCgpR8x0niaY
=Ckua
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org