Skip to contentSkip to conversation

mandrake issues

DISCUSSION Jeffrey Mitchell 2 participants 5 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I am trying to install lmsensors in Mandrake 10 and the make file runs without error. then when i run the "Make install", it returns errors of a kind i know nothing about. Is ther something i need to do that is specific to Mandrake 10, that will make it install correctly?

Jeff

#1 lore raw

Hello,

Please would you be so kind and provide more information?

First. What kernel are you using ?
hint: uname -a

Second. For kernel 2.6 you need to compileonly userspace part of lm_sensors package (make user; make user_install) There is maybe some package for MDK ? Did you try ?

You can visit us on IRC on irc.freenode.net channel #linux-sensors

Regards

Rudolf

Quoted 10 lines · Jeffrey Mitchell

I am trying to install lmsensors in Mandrake 10 and the make file runs without error. then when i run the "Make install", it returns errors of a kind i know nothing about. Is ther something i need to do that is specific to Mandrake 10, that will make it install correctly?

Jeff

#2 lore raw
In reply to Jeffrey Mitchell

Hello

Quoted 1 line

I am using kernel 2.6.3-7mdk

Thanks.

Quoted 6 lines

and i keep receiving the following error druing the (make user_install) stage

install: cannot create regular file
`/etc/sensors.conf': Permission denied
make: *** [install-etc] Error 1

Its because you need to be root or "administrator" to write to this directory.

I found for you more suitable solution. Mandrake has this lm_sensor package already ready for you!

Just try to install

http://rpms.mandrakeclub.com/rpms/MandrakeClub/test/10.0/i586/lm_sensors-2.8.6-0.1mdk.i586.html

package called like lm_sensors-2.8.6-0.1mdk.i586

After that run command: sensors-detect

It will create automatically config for your configuration and save it here /etc/sysconfig/lm_sensors

It will work after reboot or after you issue this command:
/etc/init.d/lm_sensors start

If it will write Permission denied use command su to get root.

like this:

ruik@kiur:~$ su
Password:
kiur:/home/ruik# /etc/init.d/lm_sensors start

After that run command:
sensors

to see the output. Or install some GUI aplication like gkrellm to get some graphical representation. Try to find some suitable application in mandrake packages yourself. I'm using that gkrellm.

I hope this helps. Because nor I or any other developer uses mandrake and this package, please try to contact people from mandrake if any futher troubles with this package. (or find some mandrake mailing list or web forum) I know only what I have written here :)

Regards

Rudolf

#3 lore raw
In reply to Jeffrey Mitchell
Quoted 3 lines

thank you,
1 problem though, that file can only be downloaded by CLUB members. I'm not.

Oops :)

So lets try other things first:

1) make sure that your kernel has at least "drivers" for the sensors. You can check if you take a look to directory

/lib/modules/2.6.3_something/kernel/drivers

I guess that directory name will be 2.6.3-7mdk.

You will see there adm1021.ko eeprom.ko gl518sm.ko lm75.ko files like this and more.

So far so good. For you kernel you need version of Lm_sensors 2.8.5. http://secure.netroedge.com/~lm78/archive/lm_sensors-2.8.5.tar.gz

Untar it. (like unzip)

and run

make user
su
(type your pass)
make user_install

Thats all. After that as root again run sensors-detect
and follow its questions. At the end you will see the list of modules you need to load.

I will be here in evening (GMT+2) but for sure let me know how are you going with this.

Regards

Rudolf

Quoted 59 lines

Rudolf Marek <[email protected]> wrote:

Hello

Quoted 1 line

I am using kernel 2.6.3-7mdk

Thanks.

Quoted 6 lines

and i keep receiving the following error druing the (make user_install) stage

install: cannot create regular file
`/etc/sensors.conf': Permission denied
make: *** [install-etc] Error 1

Its because you need to be root or "administrator" to write to this directory.

I found for you more suitable solution. Mandrake has this lm_sensor package already ready for you!

Just try to install

http://rpms.mandrakeclub.com/rpms/MandrakeClub/test/10.0/i586/lm_sensors-2.8.6-0.1mdk.i586.html

package called like lm_sensors-2.8.6-0.1mdk.i586

After that run command: sensors-detect

It will create automatically config for your configuration and save it here /etc/sysconfig/lm_sensors

It will work after reboot or after you issue this command:
/etc/init.d/lm_sensors start

If it will write Permission denied use command su to get root.

like this:

ruik@kiur:~$ su
Password:
kiur:/home/ruik# /etc/init.d/lm_sensors start

After that run command:
sensors

to see the output. Or install some GUI aplication like gkrellm to get some graphical representation. Try to find some suitable application in mandrake packages yourself. I'm using that gkrellm.

I hope this helps. Because nor I or any other developer uses mandrake and this package, please try to contact people from mandrake if any futher troubles with this package. (or find some mandrake mailing list or web forum) I know only what I have written here :)

Regards

Rudolf

#4 lore raw
In reply to Jeffrey Mitchell

FYI:

Successful story follows :)

Quoted 5 lines

Date: Wed, 16 Jun 2004 01:26:28 -0700 (PDT)
From: Jeffrey Mitchell <[email protected]>
To: Rudolf Marek <[email protected]>
Subject: Re: mandrake issues

Quoted 7 lines

Thank you for all the help!
The program is running perfectly!

If there is any help I can ever give, feel free to contact me.

JEff

---------- Forwarded message ----------
Date: Tue, 15 Jun 2004 19:10:59 -0700 (PDT)
From: Jeffrey Mitchell <[email protected]>
To: Rudolf Marek <[email protected]>
Subject: Re: mandrake issues

THANK YOU!!
I so appreciate all the help. It is so nice to meet a rel person on line.

Jeff

Rudolf Marek <[email protected]> wrote:

Hello again!

Quoted 2 lines

one more thing. how do I get it to run on startup, for other user accounts?

If you load appropriate modules that suggest sensors-detect at the end. It works "for reading" for normal users.

I have for you better solution. I found for you original MDK package no need to be in club.

1. delete what you have installed using this command in one line:

rm /usr/local/lib/libsensors* /usr/local/bin/sensors /usr/local/sbin/isadump /usr/local/sbin/i2c* /usr/local/sbin/sensors-detect

2. download ftp://mandrake.redbox.cz/Mandrake/10.0/i586/Mandrake/RPMS/lm_sensors-2.8.4-2mdk.i586.rpm from here or try to search you install CD it should be there!

3. install this package.

4. run as root sensors-detect again. It should setup the stuff to work after reboot too. Use

sensors

To see the output.

5. Get the package with GUI client for KDE which is called like ksensors
6. you are done!

Regards

Rudolf

Quoted 119 lines
Quoted 8 lines

1) make sure that your kernel has at least "drivers" for the sensors.
You can check if you take a look to directory

/lib/modules/2.6.3_something/kernel/drivers

I guess that directory name will be 2.6.3-7mdk.

Quoted 8 lines

You will see there adm1021.ko eeprom.ko gl518sm.ko lm75.ko files like
this and more.

So far so good. For you kernel you need version of Lm_sensors
2.8.5.

http://secure.netroedge.com/~lm78/archive/lm_sensors-2.8.5.tar.gz

Quoted 43 lines

Untar it. (like unzip)

and run

make user
su
(type your pass)
make user_install

Thats all. After that as root again run
sensors-detect
and follow its questions. At the end you will see
the list of modules you
need to load.

I will be here in evening (GMT+2) but for sure let me know how are you
going with this.

Regards

Rudolf

Quoted 10 lines

Rudolf Marek wrote:

Hello

Quoted 1 line

I am using kernel 2.6.3-7mdk

Thanks.

Quoted 1 line

and i keep receiving the following error druing

the

Quoted 6 lines
Quoted 5 lines

(make user_install) stage

install: cannot create regular file
`/etc/sensors.conf': Permission denied
make: *** [install-etc] Error 1

Quoted 12 lines
Quoted 1 line

Its because you need to be root or "administrator"

to write to this

Quoted 3 lines

directory.

I found for you more suitable solution. Mandrake

has this lm_sensor

Quoted 5 lines

package already ready for you!

Just try to install

http://rpms.mandrakeclub.com/rpms/MandrakeClub/test/10.0/i586/lm_sensors-2.8.6-0.1mdk.i586.html

Quoted 44 lines
Quoted 6 lines

package called like lm_sensors-2.8.6-0.1mdk.i586

After that run command: sensors-detect

It will create automatically config for your

configuration

Quoted 3 lines

and save it here /etc/sysconfig/lm_sensors

It will work after reboot or after you issue this

command:

Quoted 3 lines

/etc/init.d/lm_sensors start

If it will write Permission denied use command su

to get root.

Quoted 10 lines

like this:

ruik@kiur:~$ su
Password:
kiur:/home/ruik# /etc/init.d/lm_sensors start

After that run command:
sensors

to see the output. Or install some GUI aplication

like gkrellm to get some

Quoted 1 line

graphical representation. Try to find some

suitable application

Quoted 1 line

in mandrake packages yourself. I'm using that

gkrellm.

Quoted 2 lines

I hope this helps. Because nor I or any other

developer uses mandrake

Quoted 1 line

and this package, please try to contact people

from mandrake if any

Quoted 1 line

futher troubles with this package. (or find some

mandrake mailing list or

Quoted 6 lines

web forum) I know only what I have written here :)

Regards

Rudolf