LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-28-2005, 11:37 AM   #1
dabi
LQ Newbie
 
Registered: Feb 2005
Location: Finland
Distribution: MDK 10.1
Posts: 1

Rep: Reputation: 0
Teperature monitoring with lm_sensors


I want to monitor my CPU and motherboard temperature, i had installed lm_sensors and i2c with Mandrake Linux 10 but i formatted and installed 10.1
Now...
Is i2c integrated to kernel on MDK 10.1?
What do i need and in what order do i have to install them if i want to monitor my PC temperature?
Is there rpm packs for these? (i don't really like compiling the source.. )

I have an Asus P4S8X-X motherboard
 
Old 02-28-2005, 12:30 PM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Getting lm_sensors to work can be tricky and time-consuming. I finally got them to work but it took a lot of inquiry, more patience than I usually have, and help from the lm_sensors people themselves (who are VERY helpful and respond very fast to queries).

Do a search on LQ for various threads describing obstacles and solutions, and you may find what you need already here.

As a last resort, you can file a trouble ticket with lm_sensors (Google will quickly show you where to go) with a detailed description of your problem(s), and they will help you.

Good luck!
 
Old 02-28-2005, 12:39 PM   #3
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Fow what it's worth, when I installed 10.1, I just installed the lm_sensors module from urpmi, ran "sensors-detect", and voila!
 
Old 02-28-2005, 12:42 PM   #4
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by Padma
Fow what it's worth, when I installed 10.1, I just installed the lm_sensors module from urpmi, ran "sensors-detect", and voila!
I'd say, from my experience and what I've found through Googl'ing and here on LQ, that you're one very lucky Linux user!
 
Old 03-01-2005, 03:08 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
No not at all!

I've been using the "sensors_detect" install on many different machines.

As long as there is support for the motherboard, it's pretty painless.

Run sensors_detect (make any indicated entries), reboot, start the daemon (not always required but nice...) and away you go.

If everything is set up then typing "sensors" in a console will display the current results returned.

You can use this in turn to adjust other programs such as GKRELLM, etc.

I have lm_sensors running on everything from servers to laptops.... all from the urpmi sources.

The only real difficulties lie with unsupported chipset/motherboards.

Even under 10.0 lm_sensors has been painless and trivial.
 
Old 03-01-2005, 03:16 AM   #6
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
The biggest problem is usually to get the reported temperature/voltages reported by
sensors to match the ones BIOS reports.

Depending on your MB you might have to search the net for proper values to add to /etc/sensors.conf

For users of Via MB's sometimes replacing i2c-viapro with i2c-via (or vice versa) does the trick if things
aren't working (at least on my GA-6VXC7-4X).

- Peder
 
Old 03-01-2005, 06:51 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yes exactly.

Strangly what gkrellm sees is different from what "sensors" reports, because of preset multipliers.

You can look at the results of "sensors" and dial down gkrellm until it corresponds.

Having to manually set up the formula can be a pain though.
 
Old 03-01-2005, 09:54 AM   #8
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by opjose
Yes exactly.

Strangly what gkrellm sees is different from what "sensors" reports, because of preset multipliers.

You can look at the results of "sensors" and dial down gkrellm until it corresponds.

Having to manually set up the formula can be a pain though.
I never would have got it right myself. A very kind member of the lm_sensors team wrote a section for my file for me, after seeing my results, and it worked.

This was under 10.1. Under 9.2, I was able with some finagling to get lm_sensors to work properly. Something (probably the kernel, since it went from 2.4x to 2.6x) changed that screwed up the available lm_sensors packages in relation to my motherboard/chipset(s).
 
Old 03-15-2005, 07:12 AM   #9
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
can you tell me this guy's e-mail

CPU Temp: +28°C (low = +15°C, high = +45°C) sensor = thermistor

because the above is not normal it runs at 55C at least )
 
Old 03-15-2005, 09:29 AM   #10
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by johnnydangerous
can you tell me this guy's e-mail

CPU Temp: +28°C (low = +15°C, high = +45°C) sensor = thermistor

because the above is not normal it runs at 55C at least )
The lm_sensors project home page is at

http://secure.netroedge.com/~lm78/

Go there, look at the FAQ's, documentation, etc. and see if there's already a solution for your situation, and if need be, file a trouble ticket. They will require as much information as possible so they can see where the problem lies. As I recall, there's an outline of what's needed when you file the trouble report. Usually the trouble comes from the fact that it's impossible for them (or anybody!) to inspect and test all the combinations of chips and motherboards that exist, and what works for something similar to yours or mine may not work at all, or only work part way, for our specific setups. That's where their help can come in handy--plus they may be able to expand their database for future users.

I hope this procedure works for you; it's what I did.
 
Old 03-15-2005, 09:37 AM   #11
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
10x man that should do the trick, actually I mess a lot with the .conf file so... now I'm quite stuck
 
Old 03-15-2005, 10:16 AM   #12
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
You can always take the .conf file that came with the lm_sensors package and install it in place of the one you've messed with to see if it's better, worse, or about the same. Chances are, though, that some of the values in it, as well as in the one you're using, are just way off for the particular setup you have. After viewing all my results from scanning, my .conf file, etc., etc., the lm_sensors developer wasn't sure what was causing it to be wrong, but he knew how to fix it anyway! It required a whole different set of voltage values in the .conf file.

After I got proper readings from the corrected file, they asked me to come back here and report on the success, which I did.

I recently had a very major system crash (caused by deleting some essential libraries by accident) and had to completely reinstall Mdk 10.1 and set up lm_sensors again. After that, I was getting alarms going off so often it was slowing down the system noticeably due to all the alarm messages writing to disk. Luckily I still had the .conf file lm_sensors had sent me, and installed it--no more alarms.

Just one more example of the importance of backups.
 
Old 03-15-2005, 04:35 PM   #13
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
how to understand what's needed by means of modules for my board? for proper lm_sensors functioning? I have GB GA-7N400L MCP Nforce2 with AMD athlon XP 266Mhz @ 300Mhz
 
Old 03-15-2005, 06:03 PM   #14
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
As root run sensors_detect in a console.

Pay attention to what it says.

It may detect sensors for which there are no drivers (yet).... and advise changes which will not work due to the missing driver modules.

If it fails to find sensors, for the most part, you are out of luck.
 
Old 03-15-2005, 11:36 PM   #15
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
it detected ...
but results are not pleasant

it8712-isa-0290
Adapter: ISA adapter
VCore 1: +1.70 V (min = +1.42 V, max = +1.57 V) ALARM
VCore 2: +2.59 V (min = +2.40 V, max = +2.61 V) ALARM
+3.3V: +3.31 V (min = +1.57 V, max = +1.73 V) ALARM
+5V: +4.22 V (min = +4.76 V, max = +5.24 V) ALARM
+12V: +11.97 V (min = +11.39 V, max = +12.61 V)
-12V: -15.70 V (min = -12.63 V, max = -11.41 V) ALARM
-5V: -8.10 V (min = -5.26 V, max = -4.77 V) ALARM
Stdby: +4.65 V (min = +4.76 V, max = +5.24 V) ALARM
VBat: +4.08 V
fan1: 2596 RPM (min = 0 RPM, div = 8)
CPU Temp: +38°C (low = +15°C, high = +40°C) sensor = thermistor
M/B Temp: +28°C (low = +15°C, high = +45°C) sensor = thermistor

eeprom-i2c-0-51
Adapter: SMBus nForce2 adapter at 1c00
Memory type: DDR SDRAM DIMM
Memory size (MB): 512

my CPU is at least 50C...
 
  


Reply



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
lm_sensors Joey.Dale Linux - Software 14 01-24-2004 04:44 PM
I need help with lm_sensors Joey.Dale Linux - General 1 01-18-2004 11:24 AM
non-gui lm_sensors monitoring program? bryman55 Linux - Software 2 08-26-2003 10:55 PM
lm_sensors help malvu Linux - Software 7 05-04-2003 08:13 AM
lm_sensors csDraco_ Slackware 3 04-17-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:42 AM.

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