Detecting memory type on FreeBSD
If you need to upgrade your RAM on a Windows machine, you can just use the Crucial Memory Advisor wotsit, which scans your computer using the power of, er, power to find out what your motherboard is, what RAM you already have, and then can tell you which overpriced Crucial RAM to buy.
On FreeBSD, this doesn’t work so well. However, you can tell manually tell the Crucial site what motherboard you have and it will tell you exactly what sort of RAM is best.
This is fine if you know what motherboard you have.
if you don’t, the answer is dmidecode(8) (/usr/ports/sysutils/dmidecode). This utility grabs the same information which the Crucial thingy does, so all you need to do is find the info you need.