- Spam protected email address for mailman archive
- Subversion to DVCS - Your mindset has to change as well
- DNMA92, ath9k and hostapd with Voyage Linux
- Slides for Open Source Developer talk at SFD
- Open Source Developer talk at Software Freedom Day 2009 HK
- Building compat-wireless drivers for 2.6.30
- leds-alix2 module in 2.6.30 kernel
- squashfs 4.0 on Debian Lenny and 2.6.30 kernel
- Upgrade Debian Etch Xen 3.0.2 to Lenny Xen 3.2
- Modrewriting viewcvs to viewvc in Apache2
Compiling k8temp module on Etch
Submitted by punkytse on May 2, 2007 - 13:00.
Developer | Linux | PC
Next thing I would like to monitor the temperature reading on my new barebone server. So the easiest way to do is to install lm-sensors:
apt-get install lm-sensorsand run sensors-detect. After all, it is prompted to install the following modules in /etc/modules and I did:
# Generated by sensors-detect on Wed May 2 12:27:18 2007 # I2C adapter drivers i2c-nforce2 # Chip drivers eeprom # Warning: the required module k8temp is not currently installed # on your system. For status of 2.6 kernel ports check # http://www.lm-sensors.org/wiki/Devices. If driver is built # into the kernel, or unavailable, comment out the following line. k8tempHowever, if I follow the wiki link to www.lm-sensors.org. k8temp is only supported for 2.6.19 or later kernel, but not 2.6.18 shipped with etch. Searching from google I found the link[1] that I will need to compile and install the module manually. If you don't have kernel header you will need to install it as well:
# apt-get install linux-headers-2.6.18-4-k7Extract the tarball and build it:
# wget http://assembler.cz/download/amd_digital_temp.tar.gz # tar -zxvf amd_digital_temp.tar.gz # cd amd_digital_temp # make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modulesAnd install k8temp.ko to /lib/modules/`uname -r`/:
# make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules_install # depmod -aAfter all, load the module:
# modprobe k8tempAnd run sensors again:
# sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
+18°C
Core0 Temp:
+7°C
Core1 Temp:
+16°C
Core1 Temp:
+8°C
Very disappointed. I got incorrect temperature values here. How comes the chip temperatures are lower than room temperature?
I have tried to copy k8temp.c from 2.6.20 kernel source, (patch the code because cannot compiled with 2.6.18 header), recompile it again and have the same result. May be next thing is to install 2.6.20 from sid.
[1] - http://readlist.com/lists/lists.debian.org/debian-user/28/144560.html» punkytse's blog | login to post comments


