Find the answer to your Linux question:
Results 1 to 9 of 9
I been trying to get my cpu temp with no luck at all. lm-sensors reports "no sensors detected" I decided to try pc wizard under windows. The processor info reports ...
  1. #1
    Just Joined! Frylock2009's Avatar
    Join Date
    Apr 2009
    Posts
    32

    No sensors detected

    I been trying to get my cpu temp with no luck at all. lm-sensors reports "no sensors detected" I decided to try pc wizard under windows. The processor info reports thermal monitor is supported. Is there some other angle I can go about monitoring my cpu's temp?

  2. #2
    Linux Newbie
    Join Date
    Jan 2008
    Location
    Canada
    Posts
    109

    Hi Frylock2009

    Quote Originally Posted by Frylock2009 View Post
    I been trying to get my cpu temp with no luck at all. lm-sensors reports "no sensors detected" I decided to try pc wizard under windows. The processor info reports thermal monitor is supported. Is there some other angle I can go about monitoring my cpu's temp?
    Have you run 'sensors-detect', as root. (skip the single quotes) This should tell you if the Temperature sensor can be detected. It runs many different routines which require your input. The first group of outputs shows the Temperature as shown below:
    AMD K8 thermal sensors... Success!
    (driver `k8temp')
    See if this helps with your problem. Cheers...
    Robert

  3. #3
    Just Joined! Frylock2009's Avatar
    Join Date
    Apr 2009
    Posts
    32
    Unfortunately sensors-detect is the wall I'm hitting. It does not detect and sensors. Was wondering if there's another way ?

  4. #4
    Linux Newbie
    Join Date
    Jan 2008
    Location
    Canada
    Posts
    109

    Hi Frylock2009

    Quote Originally Posted by Frylock2009 View Post
    Unfortunately sensors-detect is the wall I'm hitting. It does not detect and sensors. Was wondering if there's another way ?
    What distro are you using? I am using fedora and a call to #rpm -q lm_sensors displays the following.
    [root@red ~]# rpm -q lm_sensors
    lm_sensors-3.1.0-1.fc11.x86_64

    Make sure that you are mounting the proc filesystem in your /etc/fstab. You should have an entry that looks like:

    none /proc proc defaults 0 0 or

    proc /proc proc defaults 0 0

    Running #cat /proc/cpuinfo should show something if it is mounted properly. One possibility is to remove lm_sensors and reinstall it again, after a cleanup . It is important to have more information on your actual distro, kernel and hardware to be of much help beyond these items. Everything run a root. Not sure this is much help but more information would be helpful. Cheers...
    Robert

  5. #5
    Just Joined! Frylock2009's Avatar
    Join Date
    Apr 2009
    Posts
    32
    I'm runiing Ubuntu Jaunty 9.4 2.6.28-13-generic


    k-dawg@k-dawg-desktop:~$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 2
    model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
    stepping : 9
    cpu MHz : 2394.147
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    apicid : 0
    initial apicid : 0
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
    bogomips : 4788.29
    clflush size : 64
    power management:

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 15
    model : 2
    model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
    stepping : 9
    cpu MHz : 2394.147
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    apicid : 1
    initial apicid : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
    bogomips : 4788.25
    clflush size : 64
    power management.

    Contents of my fstab...

    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --uuid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda5 during installation
    UUID=3994ca0a-2057-4a5e-a53a-83f7aef87328 / ext3 relatime,errors=remount-ro 0 1
    # swap was on /dev/sdb7 during installation
    UUID=090f5868-72a9-45a7-b5ea-d0fa89e3d4d0 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    /dev/sdb5 /media/myshit vfat iocharset=utf8,umask=000 0 0

    k-dawg@k-dawg-desktop:~$ rpm -q lm_sensors
    package lm_sensors is not installed
    k-dawg@k-dawg-desktop:~$

    Way would it report its not installed? Should I try just reinstalling in synaptic? or is there something else I should do? Any other info needed just let me know. thanx.

  6. #6
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Did you run sensors-detect with root privilege? That is, using sudo?

    Also don't use rpm to check if its installed, it's only there for LSB compatibility and doesn't look at your deb database which is your real package manager. Try searching for it in Synaptic or using the following command
    Code:
    apt-cache pkgnames |grep lm-sensors
    If nothing is returned you don't have it installed yet.

  7. #7
    Linux Newbie
    Join Date
    Jan 2008
    Location
    Canada
    Posts
    109
    Hi
    lm_sensors is usually run as a service so however you check your service status in my case I run, as root, #service lm_sensors status. As to synaptic I think our fellow forum member, bigtomrodney has some help in his post and probably can help you from here better than I. Cheers, and you are welcome.
    Robert

  8. #8
    Just Joined! Frylock2009's Avatar
    Join Date
    Apr 2009
    Posts
    32
    sudo service lm_sensors status returned...
    "$lm_sensors: unrecognized service"

    And" apt-cache pkgnames |grep lm-sensors" returned
    "lm_sensors"

    I did run sensors-detect as root, wont let me run it otherwise. And it returns no sensors detected at the end. Is my problem possibly a result of doing something wrong in the first place?

  9. #9
    Just Joined! Frylock2009's Avatar
    Join Date
    Apr 2009
    Posts
    32
    No more suggestions?

Posting Permissions

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