[ Bloke.com || Linux || JavaScript || Java || Volleyball || Link Me ]
Free: [ Guestbook || MessageBot || Plugins || Counter || AusPrices || Advertise ]
www.bloke.com

Home - Linux - Kernel Stuff

don't try this yourself.

Getting CPU temperature

Warning! Some of this stuff might break your computer forever, especially if you have an IBM Thinkpad.

Install lm_sensors, add module, run, sensors.

rpm -Uvh lm_sensors-2.6.1-1.i386.rpm
modprobe i2c-proc
sensors-detect
sensors
Sigh .. no love.

Okay .. so how does it work .. ahh /etc/sensors.conf based on chip set search for my chipset (google: Dell Inspiron 8000 chipset) .. result Intel 815E.Now go looking for sensors.conf file. Looks like I need to upgrade.

Latest version (of lm_sensors and i2c) is at this time 2.7, but you need i2c, and for 2.4 kernels, it needs to be built in. I'm not sure I can be bothered. Time will tell.

I ran sensors-detect on jack and tiger. Tiger was unsuccessful, but jack shows to be more promising. Net result: Added this to /etc/rc.d/rc.local:

# I2C adapter drivers
modprobe i2c-piix4
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83781d
and added this to /etc/modules.conf
# I2C module options
alias char-major-89 i2c-dev
Woohoo .. result:
[root@jack root]# sensors
eeprom-i2c-0-50
Adapter: SMBus PIIX4 adapter at 0440
Algorithm: Non-I2C SMBus adapter
Memory type:            SDRAM DIMM SPD
SDRAM Size (MB):        512

eeprom-i2c-0-51
Adapter: SMBus PIIX4 adapter at 0440
Algorithm: Non-I2C SMBus adapter
Memory type:            SDRAM DIMM SPD
SDRAM Size (MB):        512

w83781d-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
VCore 1:   +1.68 V  (min =  +1.48 V, max =  +1.80 V)              
VCore 2:   +1.69 V  (min =  +1.48 V, max =  +1.80 V)              
+3.3V:     +3.31 V  (min =  +2.97 V, max =  +3.63 V)              
+5V:       +5.11 V  (min =  +4.50 V, max =  +5.48 V)              
+12V:     +12.08 V  (min = +10.79 V, max = +13.11 V)              
-12V:     -11.79 V  (min = -10.78 V, max = -13.18 V)              
-5V:       -5.22 V  (min =  -4.50 V, max =  -5.48 V)              
fan1:        0 RPM  (min = 3000 RPM, div = 2)              ALARM  
fan2:     5818 RPM  (min = 3000 RPM, div = 2)                     
fan3:        0 RPM  (min = 3000 RPM, div = 2)              ALARM  
temp1:     +32.0C  (limit =  +60C, hysteresis =  +50C)        
temp2:       +32C  (limit =  +60C, hysteresis =  +50C)        
temp3:      +208C  (limit =  +60C, hysteresis =  +50C)        
vid:      +1.65 V
alarms:   Chassis intrusion detection                             
beep_enable:
          Sound alarm disabled

So 32C for each CPU .. now I should heat thing up...

PAE

yum --enablerepo=centosplus list|grep kernel-PAE

so to install PAE devel:
yum --enablerepo=centosplus kernel-PAE-devel
Useful for getting your nvidia driver working.

Links:

Last Change: Sunday, 06-Dec-2009 20:07:29 EST

Disclaimer

The information provided within these pages is provided AS IS, and without any warranty. Following these directions may (but not limited to) crash your computer, delete all the information on your hard disk, open up security holes or cause your house to burn down. I made these pages to provide some information about the setup that I have done, but I did not proofread it for correctness, and in most cases did not test it. There are commands in these pages that would definately delete or corrupt all the data on your computer (especially the dualboot section). In fact it happened to me.... So you are on your own!


Cameron Gregory