LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2007, 05:48 PM   #1
torauma
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
lm_sensors does not work // RHEL AS4.4 // Intel D915PBL Mobo


I'm pretty new to the whole linux-outside-of-an-enterprise-environment gig. I've got RHEL AS4.4 installed on my box, which is running a HT P4 on an Intel D915PBL mobo. I recently replaced my heatsink and fan because of high CPU temperatures. My old Windows installation had a tool from Intel that monitored the temps. In RH, prior to replacing the heatsink, I received messages from syslog like:
Quote:
217880-Oct 11 22:45:15 localhost kernel: CPU1: Temperature above threshold
217948-Oct 11 22:45:15 localhost kernel: CPU0: Temperature above threshold
218016:Oct 11 22:45:15 localhost kernel: CPU0: Running in modulated clock mode
218088:Oct 11 22:45:15 localhost kernel: CPU1: Running in modulated clock mode
After some googling, I went and installed the latest version of lm_sensors I could find: lm_sensors-2.10.4-50.el4.

Per the instructions, I ran sensors-detect as root:

Quote:
[root@localhost ~]# sensors-detect
# sensors-detect revision 4609 (2007-07-14 09:28:39 -0700)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801FB ICH6

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at c800 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Probing for `Myson MTP008'... No
Probing for `National Semiconductor LM78'... No
Probing for `National Semiconductor LM78-J'... No
Probing for `National Semiconductor LM79'... No
Probing for `National Semiconductor LM80'... No
Probing for `National Semiconductor LM85 or LM96000'... No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'... Success!
(confidence 7, driver `lm85')
Probing for `Analog Devices ADT7462'... No
Probing for `Analog Devices ADT7467 or ADT7468'... No
Probing for `Analog Devices ADT7470'... No
Probing for `Analog Devices ADT7473'... No
Probing for `Analog Devices ADT7475'... No
Probing for `Analog Devices ADT7476'... No
Probing for `Andigilog aSC7611'... No
Probing for `Andigilog aSC7621'... No
Probing for `National Semiconductor LM87'... No
Probing for `National Semiconductor LM93'... No
Probing for `Winbond W83781D'... No
Probing for `Winbond W83782D'... No
Probing for `Winbond W83792D'... No
Probing for `Winbond W83793R/G'... No
Probing for `Winbond W83791SD'... No
Probing for `Winbond W83627HF'... No
Probing for `Winbond W83627EHF'... No
Probing for `Winbond W83627DHG'... No
Probing for `Asus AS99127F (rev.1)'... No
Probing for `Asus AS99127F (rev.2)'... No
Probing for `Asus ASB100 Bach'... No
Probing for `Winbond W83L785TS-S'... No
Probing for `Analog Devices ADM9240'... No
Probing for `Dallas Semiconductor DS1780'... No
Probing for `National Semiconductor LM81'... No
Probing for `Analog Devices ADM1026'... No
Probing for `Analog Devices ADM1025'... No
Probing for `Analog Devices ADM1024'... No
Probing for `Analog Devices ADM1029'... No
Probing for `Analog Devices ADM1030'... No
Probing for `Analog Devices ADM1031'... No
Probing for `Analog Devices ADM1022'... No
Probing for `Texas Instruments THMC50'... No
Probing for `Analog Devices ADM1028'... No
Probing for `ITE IT8712F'... No
Probing for `SMSC DME1737'... No
Probing for `Fintek F75373S/SG'... No
Probing for `Fintek F75375S/SP'... No
Probing for `Fintek F75387SG/RG'... No
Probing for `Winbond W83791D'... No
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No
Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'...
Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `Silicon Integrated Systems SIS5595'... No
Probing for `VIA VT82C686 Integrated Sensors'... No
Probing for `VIA VT8231 Integrated Sensors'... No
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC LPC47M182 Super IO Fan Sensors'
(but not activated)
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No

Some CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no):
AMD K8 thermal sensors... No
Intel Core family thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at c800'
Busdriver `i2c-i801', I2C address 0x2e
Chip `SMSC EMC6D100, EMC6D101 or EMC6D102' (confidence: 7)

I will now generate the commands needed to load the required modules.
Just press ENTER to continue:

To make the sensors modules behave correctly, add these lines to
/etc/modprobe.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
I accepted all defaults added the I2C module options to /etc/modprobe.conf and the drivers listed to /etc/rc.local

When I run sensors, I get:
Quote:
[root@localhost ~]# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
I'm not sure what I could be doing wrong. I'm no longer getting the CPU temp alerts, but I'm really just curious what my actual temperature is now with the new heatsink (I remember what its stayed around with the old one from when I had Windows installed.)

Thanks!
 
Old 10-14-2007, 04:42 PM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Did you load the modules (or reboot) as per the instructions before running "sensors"?
Check with "lsmod" if you have the required modules loaded (i2c-i801, lm85)
 
Old 10-14-2007, 08:24 PM   #3
torauma
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mdg View Post
Did you load the modules (or reboot) as per the instructions before running "sensors"?
Check with "lsmod" if you have the required modules loaded (i2c-i801, lm85)
Yes, I did reboot. The output from 'lsmod' contains:

lm85 23273 0
i2c_sensor 7489 1 lm85
i2c_i801 11724 0
i2c_core 25921 3 lm85,i2c_sensor,i2c_i801
 
Old 10-15-2007, 02:29 AM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
It looks like you're missing kernel modules, possibly hwmon? Check your kernel configuration against the lm-sensors recommendations to see if you're missing something.

The kernel config should be in /usr/src/linux/.config (not sure about RH). Don't edit anything, just look.

As per lm-sensors:
Code:
 Code maturity level options[*] Prompt for development and/or incomplete code/drivers

  Bus options (PCI, PCMCIA, EISA, MCA, ISA)[*] PCI support

  Device Drivers
    I2C support
      <M> I2C support
      <M> I2C device interface
      I2C Algorithms
        <M> (configure all of them as modules)
      I2C Hardware Bus support
        <M> (configure all of them as modules)
      I2C Hardware Sensors Chip support (up to 2.6.13-rc2)
        <M> (configure all of them as modules)
    Hardware Monitoring support (since 2.6.13-rc3)
      <M> (configure all of them as modules)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel DQ965GF Mobo Problem When Installing RHEL romeo_tango Linux - Hardware 11 03-22-2007 03:27 AM
startx and rhel as4 Ammad Linux - General 2 04-14-2006 08:06 PM
Japanese input in RHEL AS4 scylla Linux - Software 0 07-29-2005 12:24 AM
RHEL AS4 download links! Verylinux Linux - Distributions 1 02-25-2005 06:05 PM
RHEL AS4 download links! Verylinux Linux - Software 1 02-25-2005 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration