LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Trouble loading lm-sensors (https://www.linuxquestions.org/questions/linux-hardware-18/trouble-loading-lm-sensors-750777/)

feelin_froggy8877 08-28-2009 12:12 AM

Trouble loading lm-sensors
 
I been trying to run sensors for the past day with no luck. After running sensors-detect I get a no sensors found at the end. How would I go about finding out if my system supports it? Is it the software of my Linux distro (Ubuntu Jaunty) or the hardware of my pc? Also When I start comp sensors applet the only sensors I get are hdd's, witch, I have 3 hdd's on my system and getting a reading for 2 maxtor drives (/dev/sg1 & /dev/sdb) and there is only one of them installed (although 2 partitions). Any information needed just let me know. thanx.

kdelover 08-28-2009 02:47 AM

if you want to monitor the hdd temp i suggest the tool called hddtemp. Try installing this package lm_sensors-3.0.2-1.fc10.x86_64, Its a command line tool. This is what hte OP of hddtemp looks like

[root@wsx02 /]# hddtemp /dev/sd{a..c}
/dev/sda: ST320413A: 46°C
/dev/sdb: ST380011A: 49°C
/dev/sdc: ST3500418AS: 43°C

catkin 08-28-2009 04:19 AM

I do not recall anyone mentioning that lm-sensors does not run under Jaunty so it's more likely to be your hardware that is the problem.

Generally (not always), motherboard manufacturers provide BIOS that shows all the values that the hardware measures. Is there anything in your BIOS' system monitoring screens?

There is no list of supported hardware but there is a collection of configuration files for various motherboards which are, of course, known to work: http://www.lm-sensors.org/wiki/Configurations, http://lm-sensors-db.berlios.de/, http://www.lathspell.de/linux/lm_sensors/ and http://khali.linux-fr.org/devel/lm-sensors/.

lm-sensors does not measure HDD temperatures. hddtemp can be used or, arguably more useful, smartmond.

feelin_froggy8877 08-28-2009 09:45 AM

Well, I have hddtemp installed already. Had me a lil confused when it listed the 2 Maxtors (/dev/sg1 & /dev/sdb) Where /sdb is the actual drive letter.

WARNING: Drive /dev/sda doesn't seem to have a temperature sensor.
WARNING: This doesn't mean it hasn't got one.
WARNING: If you are sure it has one, please contact me (hddtemp@guzu.net).
WARNING: See --help, --debug and --drivebase options.
/dev/sda: QUANTUM FIREBALLlct20 20 �: no sensor
/dev/sdb: Maxtor 6Y120P0: 37°C
/dev/sdc: WDC WD100EB-00BHF0: drive supported, but it doesn't have a temperature sensor.

Getting the hdd temp's is good too, but I been aiming for cpu temp. The reason for this is, I attempted to run a memtest but my comp dont last 10 seconds befor it shutsdown due to thermal event. This never happens during normal use. And a red flag does come up befor it shuts down. But Im beginning to think I'm at a brick wall getting my cpu temp. If I cannot get lm-sensors to work, is there anything else I can try to use?

kdelover 08-28-2009 10:46 AM

can you do a sensors_detect and see what happens?

feelin_froggy8877 08-28-2009 11:50 AM

Sensors detect reports no sensors detected. I ran a couple programs under microsoft and got nothing there either, but in pc wizard my processor info reports thermal monitor is supported.

sensors-detect....

k-dawg@k-dawg-desktop:~$ sudo sensors-detect
[sudo] password for k-dawg:
# sensors-detect revision 5729 (2009-06-02 15:51:29 +0200)
# System: Dell Computer Corporation OptiPlex GX270
# Board: Dell Computer Corp. 0CG566

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.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel Core family thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal and voltage sensors... No

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): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC EMC2700LPC Super IO'
(no information available)
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 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): yes
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): yes
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): yes
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801EB ICH5
Module i2c-i801 loaded successfully.
Module i2c-dev loaded successfully.

Next adapter: NVIDIA i2c adapter (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
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)

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

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

Next adapter: SMBus I801 adapter at efe0 (i2c-3)
Do you want to scan it? (YES/no/selectively): yes
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 0x51
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
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)
Client found at address 0x53
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD 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.
k-dawg@k-dawg-desktop:~$

I'm guessing i'm s.o.l here, but what about acpi? Does that get thermal info differently? Also I cannot seem to find grub.conf in my boot dir?

monsm 09-02-2009 10:01 AM

I haven't used Ubuntu for a while, but is it possible that the kernel doesn't have the sensor support enabled?

Check with the motherboard manufacturer which sensors you should have, then get the ubuntu kernel config and check if its enabled. Maybe you just need to load the modules (after you know which ones you need)...

Mons

XavierP 09-02-2009 01:40 PM

Moved: This thread is more suitable in Linux-Hardware and has been moved accordingly to help your thread/question get the exposure it deserves.

aurbis 09-06-2009 01:13 PM

I get the exact same lm_sensors output as the OP. I too am running on a Dell GX270.

As far as I know, there either aren't any supported sensors or the sensors have been 'locked' by Dell to prevent any program from accessing them. I hope I am wrong and that there is a fix.

feelin_froggy8877 09-22-2009 03:17 PM

Do you know your bios version? A07 here, newest as far as I know (2006) Would love to get this resolved at some point, like you said (if possible) I'm back on the search. Also, Why would my maxtor drive show 2 temp's? (internal & external)?

catkin 09-23-2009 01:47 PM

Quote:

Originally Posted by monsm (Post 3666929)
I haven't used Ubuntu for a while, but is it possible that the kernel doesn't have the sensor support enabled?

Works OK under ubuntu 8.04

daveu8282 11-09-2009 01:54 PM

sensors-detect is also reporting no detected sensors on my Dell Optiplex GX270. However, it does detect the SuperIO chip:

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 EMC2700LPC Super IO'
(no information available)
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

Distro is OpenSUSE 11.1.

lion:~ # rpm -q sensors
sensors-3.0.3-3.6

Dave


All times are GMT -5. The time now is 05:43 PM.