LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-03-2004, 01:23 AM   #1
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
LM_sensors modules not loading


I installed LM_sensors to work with Gkrellm (it's just nice to see what's going on inside the box ) For some reason I keep running into the same trouble. The sensors work fine after running sensors-detect, but the file that's is produced isn't copied to a working location I guess since after reboot no sensors work and I have to rerun sensors-detect to get them up again. Any clues on how to fix this on debian?
My final trouble with lm_sensors and debain is that I'm not able to compile any plugins. It works fine on slack (compiling in general in debian works fine aswell) but in debian I keep getting errors (I could post the errors as soon as I get home if no one recongnizes the problem.
Same goes for the rivatv module (to monitor the GeForce2MX card I have) During compile I get two warnings (have to look em up, sorry) and an error stating that I have to 'make dep' which isn't needed any more in 2.6.x Just running make and install doesn't give me a loadable module so I guess I have to do something else.
Any clues?

Regards

Last edited by powadha; 02-03-2004 at 02:50 AM.
 
Old 02-03-2004, 02:20 AM   #2
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
For building the 2.6 kernel

Take and read the following:

http://www.linux.org.uk/~davej/docs/...loween-2.6.txt

You need to get the module-init-tools.

Use lspci -v to help select your hardware. This will be helpful for configuring the 2.6 kernel.

make mrproper
make menuconfig
make
make modules_install
make install

Then modify you lilo.conf or grub.txt

make install installs vmlinuz into the boot directory along with System.map
It creates a symbolic link to you old vmlinuz -> vmlinuz.old and System.old

All you need to do is add entry for the old vmlinuz. I use lilo.conf

This is mine....

image=/boot/vmlinuz
label=Linux2.6
read-only

** This would be you redhat config. **
image=/boot/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi apm=power-off nomce"
label=Linux2.4
read-only

If you are using lilo, issue lilo -v or modify you menu.lst for grub.

Hope this helps. The more people use 2.6 the better.

For lm_sensors:
Select the correctly sensors, etc. I personally would download 2.6.1
ONLY:
make user
make user_install
 
Old 02-03-2004, 02:25 AM   #3
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
I almost forgot you need to create a dir
mkdir /sysfs

add this to your fstab

none /sys sysfs defaults 0 0

mount -f /sysfs
 
Old 02-03-2004, 03:03 AM   #4
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Ehm, thanx for your reply but building the 2.6.x kernel isn't the problem. I got 2.6.1 running fine in Debian and slack, with a working /sys! The problem is lm_sensors module and rivatv module specific!
 
Old 02-03-2004, 03:39 AM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: LM_sensors modules not loading

Quote:
Originally posted by powadha
I installed LM_sensors to work with Gkrellm (it's just nice to see what's going on inside the box ) For some reason I keep running into the same trouble. The sensors work fine after running sensors-detect, but the file that's is produced isn't copied to a working location I guess since after reboot no sensors work and I have to rerun sensors-detect to get them up again. Any clues on how to fix this on debian?
My final trouble with lm_sensors and debain is that I'm not able to compile any plugins. It works fine on slack (compiling in general in debian works fine aswell) but in debian I keep getting errors (I could post the errors as soon as I get home if no one recongnizes the problem.
Same goes for the rivatv module (to monitor the GeForce2MX card I have) During compile I get two warnings (have to look em up, sorry) and an error stating that I have to 'make dep' which isn't needed any more in 2.6.x Just running make and install doesn't give me a loadable module so I guess I have to do something else.
Any clues?

Regards
Did you the proper lines that it tells you to in the files needed? On my system I had to put in the /etc/modules these lines:
Code:
# Added by me for sensors
#----cut here----
# I2C adapter drivers
i2c-isa
# I2C chip drivers
via686a
#----cut here----
Which other than the comment was a cut'n'paste from the output I removed the /usr/bin/sensors line that it told me to put there in the output with the sensors-detect as it did nothing as far as I could see other than give me an error at startup. And I had to create a file /etc/modutils/local and put in it this:
Code:
# Added by me for sensors
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
Again another cut'n'paste then had to run update-modules to have the new information entered into the /etc/modules.conf for use on the next reboot and I declined the offer for it to create a /etc/init.d/rc.d/lmsensors IIRC the name of the file now, everything starts and works fine this on a 2.6.2-rc3 kernel although it has worked for me this way every since I got the 2.8.2 source from the lmsensors homepage with all the kernels from 2.6 I have compiled you would of course use the output it tells you for your chipset in the /etc/modules the /etc/modutils/local should stay the same. I know nothing about the rivatv so can't help there.
 
Old 02-03-2004, 03:49 AM   #6
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Very helpfull! This solves the module not loading prob completely! Thanx
 
Old 02-03-2004, 12:25 PM   #7
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Man how stupid. I just found why my previous tries didn't work. I left the 'modprobe' before the module in the etc/modules file. this isn't needed Thanx anyway it works now.
Leaves me with the trouble of compiling plugins. The (for example) volume pluging gives me a list of errors while compiling brilliantly in Slack. Can't figure out why this is happening. Anyone tried installing plugins in Deb (must be)

Regards
 
Old 02-03-2004, 12:49 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by powadha
Man how stupid. I just found why my previous tries didn't work. I left the 'modprobe' before the module in the etc/modules file. this isn't needed Thanx anyway it works now.
Leaves me with the trouble of compiling plugins. The (for example) volume pluging gives me a list of errors while compiling brilliantly in Slack. Can't figure out why this is happening. Anyone tried installing plugins in Deb (must be)

Regards
apt-get install gkrellm-volume should get you that. You may also want to look at the output of apt-cache search gkrellm for the rest them that are available.
 
Old 02-03-2004, 02:14 PM   #9
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Thanx! Works brilliant....
 
  


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
Sound Moduels Newfie101 Linux - Newbie 7 11-09-2005 03:55 PM
time consuming loading of Openoffice and endless loading of printing capabilities artjaslo Linux - General 6 08-03-2005 01:30 PM
LM_sensors moduels not loading powadha Debian 1 02-03-2004 02:14 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

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

All times are GMT -5. The time now is 11:22 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
Open Source Consulting | Domain Registration