How to retrieve FBDIMM temperature under CentOS 5

Retrieving the temperature of the FBDIMM modules under CentOS 5.x requires the use of an updated i5k_amb module. To install the module:

# wget -c ftp://ftp.aslab.com/pub/linux/COS52/i5k_amb-2.6.18-92.el5.src.rpm
# rpm -ivh i5k_amb-2.6.18-92.el5.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -bb i5k_amb.spec
# cd ../RPMS/x86_64/
# rpm -ivh i5k_amb*.rpm
# modprobe i5k_amb

To display the FBDIMM temperatures:

# cat /sys/devices/platform/i5k_amb.0/temp*input