Nux!


Home » Stella » Report a problem or request a feature » sensors-detect doesn't find sensors (lm_sensors)
sensors-detect doesn't find sensors (lm_sensors) [message #1269] Sat, 11 May 2013 20:05 Go to next message
MrNice is currently offline  MrNice
Messages: 108
Registered: December 2012
Location: Ireland
Senior Member
Hi,

I try to run sensors-detect, lm_sensors version 3.1.1-17.el6(x86_64) to look at the temps and fans speed. (After a BIOS update, all my BIOS config was gone !!!)
When I run it, it doesn't detect the sensors.

Last September I had Ubuntu and run it successfully. I did some copy from the output and luckily I can compare now.
lm_sensors-3.3.2 and driver groeck-w83627ehf-d0f3584 provided by Jean Delvare himself.
# sensors-detect revision 6031 (2012-03-07 17:14:01 +0100)
# Board: ASRock 970 Extreme4

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Module cpuid loaded successfully.

#----cut here----

AMD Family 15h thermal sensors...                           Success!
    (driver `k10temp')
AMD Family 15h power sensors...                             Success!
    (driver `fam15h_power')

#----cut here----

Some Super I/O chips contain embedded 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): y
Probing for Super-I/O at 0x2e/0x2f

#----cut here----

Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found `Nuvoton NCT6776F Super IO Sensors'                   Success!
    (address 0x290, driver `w83627ehf')

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): y
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are 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): y
Probing for `National Semiconductor LM78' 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

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Using driver `i2c-piix4' for device 0000:00:14.0: ATI Technologies Inc SB600/SB700/SB800 SMBus
Module i2c-dev loaded successfully.

Next adapter: NVIDIA i2c adapter 0 at 1:00.0 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x50

#----cut here----

Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: NVIDIA i2c adapter 2 at 1:00.0 (i2c-1)
Do you want to scan it? (YES/no/selectively): y

Next adapter: NVIDIA i2c adapter 6 at 1:00.0 (i2c-2)
Do you want to scan it? (YES/no/selectively): y

Next adapter: NVIDIA i2c adapter 8 at 1:00.0 (i2c-3)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

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

Driver `w83627ehf':
  * ISA bus, address 0x290
    Chip `Nuvoton NCT6776F Super IO Sensors' (confidence: 9)

Driver `fam15h_power' (autoloaded):
  * Chip `AMD Family 15h power sensors' (confidence: 9)

Driver `k10temp' (autoloaded):
  * Chip `AMD Family 15h thermal sensors' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): n
To load everything that is needed, add this to one of the system
initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# Chip drivers
modprobe w83627ehf
/usr/local/bin/sensors -s
#----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.

Unloading i2c-dev... OK
Unloading cpuid... OK


Today it find only
#----cut here----
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found unknown chip with ID 0xc333
    (logical device B has address 0x290, could be sensors)

#----cut here----

Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

#----cut here----

Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.



Where is the issue?
Don't hesitate to ask if you need more info.

Many thanks
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1270 is a reply to message #1269] Sun, 12 May 2013 08:59 Go to previous messageGo to next message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

Hi
I think you just answer to yourself , on ubuntu you had 3.3.2, we have 3.1.1 on centos, it's something like 3 epoch behind ,
( meaning 30 stable versions behind)
even older then in Ubuntu 10.04.4 LTS, and I don't think that somebody here will override the el6 package,but you
can ask for an update on centos bugzilla or you can try install it from source ,I think 3.3.3 is the last one.
You can search here : http://www.lm-sensors.org/wiki/Devices if your hw drivers are supported in 3.1.1.

[Updated on: Sun, 12 May 2013 09:02]

Report message to a moderator

Re: sensors-detect doesn't find sensors (lm_sensors) [message #1271 is a reply to message #1269] Sun, 12 May 2013 09:33 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1662
Registered: January 2012
Senior Member
Administrator

Try these updated (and untested) packages:
http://li.nux.ro/download/nux/tmp/lm_sensors/
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1272 is a reply to message #1269] Sun, 12 May 2013 15:14 Go to previous messageGo to next message
MrNice is currently offline  MrNice
Messages: 108
Registered: December 2012
Location: Ireland
Senior Member
Thanks for the immediate answer Smile

New version installed
# sensors -v
sensors version 3.3.3 with libsensors version 3.3.3

Unfortunately I get the same result: Sorry, no sensors were detected.

I'll try to find out in the chip drivers.
Any idea is welcome.

Edit:
In the link
http://www.lm-sensors.org/wiki/Devices
I can find a driver for my CPU:
AMD
Family 15h CPU
k10temp, fam15h_power
PCI
3.0.0 or standalone driver
Power monitoring driver contributed by Andreas Herrmann (AMD), reviewed by Jean Delvare. Note: we have had reports of completely wrong values being reported by the fam15h_power driver on some systems. See here for a hint.

I don't know if I need to install it, I yes could you provide how to?

Edit 2: I run kernel version 2.6.32 not 3.0.0 I think I have to install the driver.

[Updated on: Sun, 12 May 2013 16:01]

Report message to a moderator

Re: sensors-detect doesn't find sensors (lm_sensors) [message #1273 is a reply to message #1269] Sun, 12 May 2013 17:25 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1662
Registered: January 2012
Senior Member
Administrator

Not sure how to help further, have almost no experience with lm_sensors.
You could try installing kernel-ml and see if there's any improvement (be advised that if you have elrepo kmods installed they will not work with kernel-ml).

Re: sensors-detect doesn't find sensors (lm_sensors) [message #1274 is a reply to message #1273] Sun, 12 May 2013 19:34 Go to previous messageGo to next message
MrNice is currently offline  MrNice
Messages: 108
Registered: December 2012
Location: Ireland
Senior Member
I run NVidia driver, so I can't install kernel-ml.

In the link above, there is a standalone driver. This is a make file and a .c file. I understand I could install it instead, but I don't know how.

Could you help me if I am right?
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1275 is a reply to message #1269] Sun, 12 May 2013 20:59 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1662
Registered: January 2012
Senior Member
Administrator

Can you give a direct link to the driver?
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1276 is a reply to message #1275] Mon, 13 May 2013 08:31 Go to previous messageGo to next message
MrNice is currently offline  MrNice
Messages: 108
Registered: December 2012
Location: Ireland
Senior Member
It's here
http://khali.linux-fr.org/devel/misc/k10temp/
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1277 is a reply to message #1276] Mon, 13 May 2013 10:03 Go to previous messageGo to next message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

MrNice wrote on Mon, 13 May 2013 07:31
It's here
http://khali.linux-fr.org/devel/misc/k10temp/


Hi
It's a normal kernel module to be build against your running kernel.
You'll need headers and source of your kernel, and of course gcc and make.
A generic how-to:
http://khali.linux-fr.org/devel/misc/INSTALL

just adapt it to centos.
( If I were you I would try it in a jail , until you learn how to deal with kernel modules)
Just remember that in case of a successful build and install you'll need to
keep rebuild it against each new kernel that you'll install on your stella box.
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1278 is a reply to message #1276] Mon, 13 May 2013 10:54 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1662
Registered: January 2012
Senior Member
Administrator

WOW, you're in luck! This module is in Elrepo! Smile

yum install kmod-k10temp
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1279 is a reply to message #1278] Mon, 13 May 2013 14:48 Go to previous messageGo to next message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

nux wrote on Mon, 13 May 2013 09:54
WOW, you're in luck! This module is in Elrepo! Smile

yum install kmod-k10temp

even better.... Laughing
Re: sensors-detect doesn't find sensors (lm_sensors) [message #1280 is a reply to message #1269] Mon, 13 May 2013 16:56 Go to previous message
MrNice is currently offline  MrNice
Messages: 108
Registered: December 2012
Location: Ireland
Senior Member
Install was successful.
First run sensors-detect freeze the PC.
After reboot, second run always the same answer: Sorry, no sensors were detected.

No luck.

I give up and will check the BIOS at reboot.

Anyway thanks for your help.
Previous Topic: Clipgrab won't start!
Next Topic: yum-complete-transaction issue
Goto Forum:
  


Current Time: Mon Nov 18 09:22:26 GMT 2019

Total time taken to generate the page: 0.01509 seconds