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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-16-2004, 12:36 PM
|
#1
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Rep:
|
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
|
|
|
|
01-16-2004, 02:54 PM
|
#2
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
|
01-16-2004, 02:58 PM
|
#3
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
My bad. Thank you
|
|
|
|
01-18-2004, 11:36 AM
|
#4
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
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 09:03 PM.
|
|
|
|
01-18-2004, 02:57 PM
|
#5
|
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,756
|
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.
|
|
|
|
01-18-2004, 06:59 PM
|
#6
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
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.
|
|
|
|
01-18-2004, 10:12 PM
|
#7
|
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
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.
|
|
|
|
01-19-2004, 06:51 AM
|
#8
|
|
LQ Newbie
Registered: Sep 2003
Distribution: ArchLinux
Posts: 10
Rep:
|
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.
|
|
|
|
01-19-2004, 10:08 AM
|
#9
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
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 10:11 AM.
|
|
|
|
01-19-2004, 03:33 PM
|
#10
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
It worked like 7 dayes ago
Last edited by Joey.Dale; 01-19-2004 at 08:08 PM.
|
|
|
|
01-19-2004, 08:08 PM
|
#11
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
Is there anything that I need to put into my kernel
|
|
|
|
01-20-2004, 03:20 PM
|
#12
|
|
Member
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828
Original Poster
Rep:
|
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.9°C (high = +45°C, hyst = +40°C) ALARM
SYS Temp: +31.1°C (high = +60°C, hyst = +55°C)
Thank You all for helping 
|
|
|
|
01-24-2004, 02:17 PM
|
#13
|
|
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Rep:
|
This might be a dumb question, but what does the rm -rf / do? Im guessing ir removes and reformats the root partition, no?
|
|
|
|
01-24-2004, 02:31 PM
|
#14
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Not reformat - just recurisively delete all the files mounted under /.
|
|
|
|
01-24-2004, 04:44 PM
|
#15
|
|
Member
Registered: Nov 2003
Location: 127.0.0.1
Distribution: xubuntu
Posts: 217
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:51 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|