Find the answer to your Linux question:
Results 1 to 5 of 5
Hello I'm running CentOS 5.4 on an Atom 230-based MSI MS-7418 motherboard. I'd like to monitor this host' CPU temperature as well as the HD's temperature, but can't get lm_sensors ...
  1. #1
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127

    Question lm_sensors not working

    Hello

    I'm running CentOS 5.4 on an Atom 230-based MSI MS-7418 motherboard. I'd like to monitor this host' CPU temperature as well as the HD's temperature, but can't get lm_sensors to work:

    Code:
    # uname -a
    Linux msi.workgroup 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 21:04:57 EST 2009 i686 i686 i386 GNU/Linux
    
    # cat /etc/issue
    CentOS release 5.4 (Final)
    Kernel \r on an \m
    
    # rpm -qa | grep sensor
    lm_sensors-2.10.8-2.el5.elrepo
    
    # sensors_detect
    [...]
    Driver `to-be-written' (should be inserted):
      Detects correctly:
      * Bus `SMBus I801 adapter at 0400'
        Busdriver `i2c-i801', I2C address 0x2e
        Chip `Analog Devices ADT7467 or ADT7468' (confidence: 7)
        
    Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): 
    Starting lm_sensors: No sensors found!
    Make sure you loaded all the kernel drivers you need.
    Try sensors-detect to find out which these are.
    [FAILED]    
    
    # cat /etc/sysconfig/lm_sensors
    MODULE_0=i2c-i801
    
    # lsmod | grep i2c
    i2c_dev                12613  0 
    i2c_ec                  9025  1 sbs
    i2c_i801               11725  0 
    i2c_core               23745  3 i2c_dev,i2c_ec,i2c_i801
    Loading the modules manually or rebooting the host makes no difference.

    Provided lm_sensors just doesn't handle this motherboard, is there an alternative?

    Thank you.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    Are you sure this motherboard has externally accessible sensors? You also might want to update the BIOS, and make sure it is configured properly for Linux.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    Thanks for the tip. Even after upgrading the BIOS to 1.70, I'm not finding any information under /sys, so I guess this mobo just isn't supported by lm_sensors:

    Code:
    # pwd
    /sys
    
    # ll class/
    drwxr-xr-x  2 root root 0 Jan  2  2010 hwmon
    drwxr-xr-x  3 root root 0 Jan  2  2010 i2c-adapter
    
    # ll class/hwmon/
    total 0
    
    # ll class/i2c-adapter/
    drwxr-xr-x 2 root root 0 Jan  2  2010 i2c-0
    
    # ll class/i2c-adapter/i2c-0/
    lrwxrwxrwx 1 root root    0 Jan  2  2010 device -> ../../../devices/pci0000:00/0000:00:1f.3/i2c-0
    lrwxrwxrwx 1 root root    0 Jan  2  2010 subsystem -> ../../../class/i2c-adapter
    --w------- 1 root root 4096 Jan  2  2010 uevent
    
    # ll devices/pci0000:00/0000:00:1f.3/i2c-0
    total 0
    lrwxrwxrwx 1 root root    0 Jan  2  2010 i2c-adapter:i2c-0 -> ../../../../class/i2c-adapter/i2c-0
    -r--r--r-- 1 root root 4096 Jan  2  2010 name
    drwxr-xr-x 2 root root    0 Jan  2  2010 power
    --w------- 1 root root 4096 Jan  2  2010 uevent
    
    # cd devices/pci0000:00/0000:00:1f.3/i2c-0
    
    # pwd
    /sys/devices/pci0000:00/0000:00:1f.3/i2c-0
    
    # ll
    total 0
    lrwxrwxrwx 1 root root    0 Jan  2  2010 i2c-adapter:i2c-0 -> ../../../../class/i2c-adapter/i2c-0
    -r--r--r-- 1 root root 4096 Jan  2  2010 name
    drwxr-xr-x 2 root root    0 Jan  2  2010 power
    --w------- 1 root root 4096 Jan  2  2010 uevent
    
    # cat name 
    SMBus I801 adapter at 0400
    
    # ll power/
    total 0
    -rw-r--r-- 1 root root 4096 Jan  2  2010 state
    -rw-r--r-- 1 root root 4096 Jan  2  2010 wakeup
    # cat power/state 
    0
    
    # cat power/wakeup 
    #

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    Look under /proc/acpi/thermal_zone (I think). I'm running CentOS 5.4 also, but on an Intel S5000XVN workstation motherboard. However, I can't find anything on my system either. The thermal_zone directory is empty. I don't know if that means anything. I do know that the kernel will raise an alert if the system temperature gets too high, so there has to be some sort of sensor access. Sorry, but that's as much as I know. If you find out, please post here so the rest of us can benefit from your travails.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    Unfortunately, there's nothing there either:

    # ll /proc/acpi/thermal_zone/
    total 0

    I guess this motherboard isn't lm_sensors-compatible. I'll see if I can find another application that works.

    Thanks for the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...