LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2004, 01:36 PM   #1
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
lm_sensors


Hi peoples,

I had lm_sensors work in my last install but my little brother came in amd typed rm -rf / and I was login as root. Now I can get lm_sensors to work. I'm runing 2.6.1 and get this error:

root@linux:~# sensors-detect
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.
root@linux:~#

what do I do to fix this I don't have an of a programs that are listed on my system.
Thank You
-Joey
 
Old 01-16-2004, 03:54 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try reading the "QUICKSTART" file in the package. Like the error said you ned to ru nthe following from the source directory:
prog/mkdev/mkdev.sh
 
Old 01-16-2004, 03:58 PM   #3
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
My bad. Thank you
 
Old 01-18-2004, 12:36 PM   #4
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
Cut and paste from my post in Linux - General
Hi all,

To make a long story short, I had to reinstall slack on my slack box before I had to reinstall I had lm_sensors with prefectly but now I get this:
eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Algorithm: Unavailable from sysfs
Memory type: SDR SDRAM DIMM
Memory size (MB): 256

eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Algorithm: Unavailable from sysfs
Memory type: SDR SDRAM DIMM
Memory size (MB): 512

Why can't it get the Algorithm. And why is it not showing my my temps, and fan speeds like it was before. I do have a sysfs:

/dev/hdc2 / reiserfs defaults 1 1
/dev/hdc1 /boot ext3 defaults 1 2
/dev/hdd1 /backup ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0

I am runing kernel 2.6.1 with all of the i2c things as modules. If you need to see any more config files just say so.

Thank You
-Joey

Last edited by Joey.Dale; 01-18-2004 at 10:03 PM.
 
Old 01-18-2004, 03:57 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
You are going to want to give this thread a read. Apparently the 2.6.x series of kernels give lm_sensors a real problem. The lm_sensors group did just release the 2.8.3 version which apparently is absolutely required for the 2.6.1 kernel. Of course just to make things more difficult, 2.8.3 doesn't work with a 2.6.0 kernel. For that you need 2.8.2. Ugh. Oh, and be sure to install lm_sensors with make user and make user_install if you are running a 2.6.1 kernel.

This is one of the thornier problems I've come across lately. I'm running a 2.6.1 kernel, I've got lm_sensors 2.8.3, I've got sysfs set up and I've installed all the modules that sensors-detect suggests......And I still haven't gotten it to work.

If you get it to work, please post your solution.
 
Old 01-18-2004, 07:59 PM   #6
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
I have 2.8.3, I had 2.8.2 working w/ 2.6.0 in the past, I am using make user, make user_install. Its not detecting my sensors now but it did before.
 
Old 01-18-2004, 11:12 PM   #7
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
Re: lm_sensors

Quote:
Originally posted by Joey.Dale
I had lm_sensors work in my last install but my little brother came in amd typed rm -rf / and I was login as root.
You have Satan for a little brother.
 
Old 01-19-2004, 07:51 AM   #8
duelly
LQ Newbie
 
Registered: Sep 2003
Distribution: ArchLinux
Posts: 10

Rep: Reputation: 0
Can you post the output of 'lsmod'?

It looks to me that a module for your particular monitoring chip may not be loaded. You could also try 'sensors-detect' which should be in the prog/detect/ directory of of the lm_sensors source code.

On my system I have the following i2c related modules loaded:

it87
eeprom
i2c_sensor
i2c_isa
i2c_nforce2
i2c_core

The it87 and i2c_nforce2 modules are for my particular motherboard. The one's you need may vary.

Hope this helps.
 
Old 01-19-2004, 11:08 AM   #9
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
via686a 18692 0
eeprom 6400 0
i2c_sensor 2880 2 via686a,eeprom
i2c_isa 2176 0
i2c_viapro 6412 0

Quote:
Originally posted by mikshaw
You have Satan for a little brother.
Yes, I know but I got him back. If you ping a window box with the -f option as root over 100mb conection it will lock-up you can't even move the mouse

Last edited by Joey.Dale; 01-19-2004 at 11:11 AM.
 
Old 01-19-2004, 04:33 PM   #10
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
It worked like 7 dayes ago

Last edited by Joey.Dale; 01-19-2004 at 09:08 PM.
 
Old 01-19-2004, 09:08 PM   #11
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
Is there anything that I need to put into my kernel
 
Old 01-20-2004, 04:20 PM   #12
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
I figuared it out. I was missing lib sensors
root@deooge:~# sensors
via686a-isa-0c00
Adapter: ISA adapter
Algorithm: ISA algorithm
CPU core: +1.40 V (min = +1.99 V, max = +2.49 V) ALARM
+2.5V: +2.52 V (min = +2.24 V, max = +2.74 V)
I/O: +3.27 V (min = +2.95 V, max = +3.62 V)
+5V: +4.94 V (min = +4.47 V, max = +5.49 V)
+12V: +12.04 V (min = +10.79 V, max = +13.18 V)
CPU Fan: 6428 RPM (min = 3000 RPM, div = 2)
CPU Temp: +45.9C (high = +45C, hyst = +40C) ALARM
SYS Temp: +31.1C (high = +60C, hyst = +55C)


Thank You all for helping
 
Old 01-24-2004, 03:17 PM   #13
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
This might be a dumb question, but what does the rm -rf / do? Im guessing ir removes and reformats the root partition, no?
 
Old 01-24-2004, 03:31 PM   #14
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Not reformat - just recurisively delete all the files mounted under /.
 
Old 01-24-2004, 05:44 PM   #15
fr0zen
Member
 
Registered: Nov 2003
Location: 127.0.0.1
Distribution: xubuntu
Posts: 217

Rep: Reputation: 30
I've been trying to get my sensors to work, I stopped trying a few weeks ago. Couldn't seem to get past this point...

Code:
[frozen@FRoZiX ~]$ sensors 
eeprom-i2c-0-52
Adapter: SMBus nForce2 adapter at 5000
Algorithm: Unavailable from sysfs
Memory type: Unavailable

eeprom-i2c-0-51
Adapter: SMBus nForce2 adapter at 5000
Algorithm: Unavailable from sysfs
Memory type: Unavailable

[frozen@FRoZiX ~]$ lsmod
Module                  Size  Used by
nvidia               2071208  - 
ide_scsi               11812  - 
sr_mod                 14240  - 
cdrom                  30912  - 
[frozen@FRoZiX ~]$ uname -a
Linux FRoZiX 2.6.0 #2 Sun Jan 11 02:18:43 EST 2004 i686 AuthenticAMD unknown GNU/Linux
What do I need to modprobe, if anything? Or is there some other problem?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I need help with lm_sensors Joey.Dale Linux - General 1 01-18-2004 12:24 PM
lm_sensors Joey.Dale Slackware 3 12-23-2003 04:04 PM
How do I use lm_sensors? Kramer Linux - Hardware 13 11-15-2003 09:05 PM
lm_sensors CanadianPenguin Linux - Software 5 10-26-2003 03:13 PM
Trying to use lm_sensors... Kramer Linux - Hardware 5 10-10-2003 10:14 PM


All times are GMT -5. The time now is 08:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration