Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212576 - sys-apps/lm_sensors-2.10.4 - sensors-detect recomends to run deprecated modules-update
Summary: sys-apps/lm_sensors-2.10.4 - sensors-detect recomends to run deprecated modul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest trivial
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 241646
Blocks:
  Show dependency tree
 
Reported: 2008-03-07 12:22 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2009-01-03 15:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/emerge--info (emerge--info,10.88 KB, text/plain)
2008-03-07 12:22 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2008-03-07 12:22:15 UTC
I installed sys-apps/lm_sensors-2.10.4 ...

elogs say to run /usr/sbin/sensors-detect in order to set up the conf.

Running /usr/sbin/sensors-detect produced long log in my console, in wich I could read, amongst other messages:

***

I will now generate the commands needed to load the required modules.
Just press ENTER to continue:


If you want to load the modules at startup, generate a config file
below and make sure lm_sensors gets started at boot time; e.g
$ rc-update add lm_sensors default
To make the sensors modules behave correctly, add these lines to
/etc/modules.d/lm_sensors and run modules-update:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

***

Thus I did it:

moon_gen_3 dhp # vim /etc/conf.d/lm_sensors
moon_gen_3 dhp # rc-update add lm_sensors default
 * lm_sensors added to runlevel default
moon_gen_3 dhp # vim /etc/modules.d/lm_sensors
moon_gen_3 dhp # modules-update
 * Please run 'update-modules' from now on; 'modules-update' is going away
 * Updating /etc/modprobe.conf by hand ...                                                                [ ok ]
 * Updating modules.dep ...                                                                               [ ok ]
moon_gen_3 dhp #

=> lm_sensor ebuild should embed a patch to alter this message, and make /usr/sbin/sensors-detect ask for update-modules instead of modules-update.

*** *** ***

The following message

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# Chip drivers
# Warning: the required module it87 is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe it87
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

should also be changed, and propose to ask to put things in /etc/conf.d/local.start (or any better place) (and maybe add 
/etc/init.d/lm_sensors stop
/etc/init.d/lm_sensors start
)
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2008-03-07 12:22:33 UTC
Created attachment 145478 [details]
/tmp/emerge--info
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-08-11 17:59:07 UTC
This is fixed in 2.10.7