First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 157085
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Heim (RETIRED) <phreak@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Humphrey <peter@humphrey.ukfsn.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info emerge --info text/plain Peter Humphrey 2006-12-04 05:32 0000 2.79 KB Details
lm_sensors-2.10.1-sensors-detect-gentoo.patch lm_sensors-2.10.1-sensors-detect-gentoo.patch text/plain Christian Heim (RETIRED) 2007-01-13 18:36 0000 4.63 KB Details
diff-u-lm-sensors-2.10.1-prog-detect-sensors-detec-which-sensors-detect Corrected sensors-detect patch against 'lm_sensors' one. patch Marc Finet 2007-01-14 12:32 0000 4.51 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 157085 depends on: Show dependency tree
Bug 157085 blocks: 161851
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-04 05:31 0000
Two examples:

# /etc/init.d/lm_sensors start
FATAL: Module i2c_viapromodprobe not found.
 * Loading lm_sensors modules...
 *   Loading i2c-viapro ...                                                    
                          [ ok ]
 *   Loading eeprom ...                                                        
                          [ ok ]
 *   Loading k8temp ...                                                        
                          [ ok ]
 *   Loading w83627hf ...                                                      
                          [ ok ]
 * Initializing sensors ...                                                    
                          [ ok ]


# /etc/init.d/lm_sensors restart
FATAL: Module i2c_viapromodprobe not found.
 * Unloading lm_sensors modules...
 *   Unloading w83627hf ...                                                    
                          [ ok ]
 *   Unloading k8temp ...                                                      
                          [ ok ]
 *   Unloading eeprom ...                                                      
                          [ ok ]
 *   Unloading i2c-viapro ...                                                  
                          [ ok ]
 * Loading lm_sensors modules...
 *   Loading i2c-viapro ...                                                    
                          [ ok ]
 *   Loading eeprom ...                                                        
                          [ ok ]
 *   Loading k8temp ...                                                        
                          [ ok ]
 *   Loading w83627hf ...                                                      
                          [ ok ]
 * Initializing sensors ...                                                    
                          [ ok ]

# equery l lm_sensors
[ Searching for package 'lm_sensors' in all categories among: ]
 * installed packages
[I--] [ ~] sys-apps/lm_sensors-2.10.1 (0)

emerge --info in attachment

------- Comment #1 From Peter Humphrey 2006-12-04 05:32:16 0000 -------
Created an attachment (id=103322) [edit]
emerge --info

------- Comment #2 From Jakub Moc (RETIRED) 2006-12-04 05:33:34 0000 -------
Post the output of `grep ^MODULE /etc/conf.d/lm_sensors` please.

------- Comment #3 From Jakub Moc (RETIRED) 2006-12-04 06:07:52 0000 -------
See above.

------- Comment #4 From Peter Humphrey 2006-12-04 08:40:05 0000 -------
# grep ^MODULE /etc/conf.d/lm_sensors
MODULE_0=i2c-viapro
MODULE_1=eeprom
MODULE_2=k8temp
MODULE_3=w83627hf

This is as written by sensors-detect; I've made no changes.

------- Comment #5 From Marijn Schouten 2006-12-04 08:51:17 0000 -------
the sensors-detect script put this line in my conf:

modprobe i2c-i801modprobe eeprommodprobe w83627ehf# Load modules at startup

------- Comment #6 From Marijn Schouten 2006-12-04 08:52:09 0000 -------
using lm_sensors-2.10.1

------- Comment #7 From Thomas Fischer 2007-01-05 07:22:50 0000 -------
Hi, same here

/usr/sbin/sensors-detect creates this lines in /etc/conf.d/lm_sensors and the
init script fails to start lm_sensors.

/etc/conf.d/lm_sensors
modprobe i2c-sis96xmodprobe eeprommodprobe w83627hf# Load modules at startup
LOADMODULES=yes

# Initialize sensors at startup
INITSENSORS=yes

MODULE_0=i2c-sis96x
MODULE_1=eeprom
MODULE_2=w83627hf

------- Comment #8 From Marc Finet 2007-01-13 15:47:12 0000 -------
Problem comes from the patch lm_sensors-2.10.0-sensors-detect-gentoo.patch that
reverses two lines:
      print SYSCONFIG
-       "# Generated by sensors-detect on " . scalar localtime() . "\n";
+         "# Generated by sensors-detect on " . scalar localtime() . "\n\n";
+      print SYSCONFIG

Rq: a warning is generated too. Fixing this patch will solve the warning and
this strange line.

------- Comment #9 From Marc Finet 2007-01-13 15:53:28 0000 -------
Sorry, culprit is lm_sensors-2.10.1-sensors-detect-gentoo.patch  (not 2.10.0):
     print SYSCONFIG
-      "# Generated by sensors-detect on " . scalar localtime() . "\n";
     my @modules = grep /^modprobe /, split "\n", $modprobes;
-    my $i = 0;
+         "# Generated by sensors-detect on " . scalar localtime() . "\n\n";


I was too quick in my previous reply.

------- Comment #10 From Christian Heim (RETIRED) 2007-01-13 18:36:06 0000 -------
Created an attachment (id=106827) [edit]
lm_sensors-2.10.1-sensors-detect-gentoo.patch

(In reply to comment #9)
> Sorry, culprit is lm_sensors-2.10.1-sensors-detect-gentoo.patch  (not 2.10.0):
>      print SYSCONFIG
> -      "# Generated by sensors-detect on " . scalar localtime() . "\n";
>      my @modules = grep /^modprobe /, split "\n", $modprobes;
> -    my $i = 0;
> +         "# Generated by sensors-detect on " . scalar localtime() . "\n\n";

There is no special patch for 2.10.1 .. only the one for 2.10.0 that is being
applied to 2.10.1 .. I assume this is still a problem with 2.10.1 ?

If yes, could you please see if the above patch solves this ? Thanks in
advance.

------- Comment #11 From Christian Heim (RETIRED) 2007-01-13 18:37:30 0000 -------
(In reply to comment #10)

> There is no special patch for 2.10.1 .. only the one for 2.10.0 that is being
> applied to 2.10.1 .. I assume this is still a problem with 2.10.1 ?

*ugh* there is, I even attached the changed one. Must be too stupid to read
correctly currently :P

------- Comment #12 From Marc Finet 2007-01-14 12:32:52 0000 -------
Created an attachment (id=106923) [edit]
Corrected sensors-detect patch against 'lm_sensors' one.

Here is the patch for a correct sensors-detect (i fixed the sensors-detect
patched), and diff'ed from the lm_sensors one.

diff -u lm_sensors-2.10.1/prog/detect/sensors-detect `which sensors-detect`

Rq: the previous patch
(http://bugs.gentoo.org/attachment.cgi?id=106827&action=view) will not work.

------- Comment #13 From Christian Heim (RETIRED) 2007-01-14 20:19:14 0000 -------
(In reply to comment #12)
> Created an attachment (id=106923) [edit]
> Corrected sensors-detect patch against 'lm_sensors' one.
> 
> Here is the patch for a correct sensors-detect (i fixed the sensors-detect
> patched), and diff'ed from the lm_sensors one.
> 
> diff -u lm_sensors-2.10.1/prog/detect/sensors-detect `which sensors-detect`

Thanks a lot for the patch. You guys rock. I just commited the changes to the
tree. Wait the usual amount of time an sync up.

First Last Prev Next    No search results available      Search page      Enter new bug