Your message dated Wed, 30 May 2007 12:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#425957: fixed in laptop-mode-tools 1.34-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: laptop-mode-tools
Version: 1.33-1
Severity: normal


When CONTROL_CPU_FREQUENCY=1, /usr/sbin/laptop_mode unconditionally
tries to modprobe the relevant governor functions.  This fails for
kernels in which the governors are compiled in statically -- the
laptop_mode script crashes, and CONTROL_CPU_FREQUENCY cannot be used.

However, there is an easy fix -- only try to modprobe the governor
module if the governor we want is not already available.  Patch:

diff -urNE --exclude '*~' laptop-mode-tools-1.33/usr/sbin/laptop_mode 
laptop-mode-tools-1.33-hacked/usr/sbin/laptop_mode
--- laptop-mode-tools-1.33/usr/sbin/laptop_mode 2007-05-13 13:48:08.000000000 
-0700
+++ laptop-mode-tools-1.33-hacked/usr/sbin/laptop_mode  2007-05-24 
23:44:47.000000000 -0700
@@ -874,7 +874,9 @@
                        echo "Setting CPU minimum frequency for cpu $THISCPU to 
$THIS_CPU_MINFREQ." >> $OUTPUT
                        set_sysctl $THISCPU/cpufreq/scaling_min_freq 
$THIS_CPU_MINFREQ
                        echo "Setting CPU frequency governor for cpu $THISCPU 
to $THIS_CPU_GOVERNOR." >> $OUTPUT
-                       /sbin/modprobe cpufreq_$THIS_CPU_GOVERNOR >> $OUTPUT
+                       if ! grep -q $THIS_CPU_GOVERNOR 
$THISCPU/cpufreq/scaling_available_governors; then
+                               /sbin/modprobe cpufreq_$THIS_CPU_GOVERNOR >> 
$OUTPUT
+                       fi
                        set_sysctl $THISCPU/cpufreq/scaling_governor 
$THIS_CPU_GOVERNOR
                        if [ -f 
"$THISCPU/cpufreq/$THIS_CPU_GOVERNOR/ignore_nice_load" ] ; then
                                echo "Setting CPU ignore_nice_load for cpu 
$THISCPU to $THIS_CPU_IGNORE_NICE_LOAD." >> $OUTPUT

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


--- End Message ---
--- Begin Message ---
Source: laptop-mode-tools
Source-Version: 1.34-1

We believe that the bug you reported is fixed in the latest version of
laptop-mode-tools, which is due to be installed in the Debian FTP archive:

laptop-mode-tools_1.34-1.diff.gz
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.34-1.diff.gz
laptop-mode-tools_1.34-1.dsc
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.34-1.dsc
laptop-mode-tools_1.34-1_all.deb
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.34-1_all.deb
laptop-mode-tools_1.34.orig.tar.gz
  to pool/main/l/laptop-mode-tools/laptop-mode-tools_1.34.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bart Samwel <[EMAIL PROTECTED]> (supplier of updated laptop-mode-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 28 May 2007 17:15:00 +0100
Source: laptop-mode-tools
Binary: laptop-mode-tools
Architecture: source all
Version: 1.34-1
Distribution: unstable
Urgency: low
Maintainer: Bart Samwel <[EMAIL PROTECTED]>
Changed-By: Bart Samwel <[EMAIL PROTECTED]>
Description: 
 laptop-mode-tools - Scripts to spin down hard drive and save power
Closes: 425387 425551 425957
Changes: 
 laptop-mode-tools (1.34-1) unstable; urgency=low
 .
   * New upstream version 1.34.
   * (Closes: #425387) Ignore_nice_load now set also for governors other than
     ondemand.
   * (Closes: #425957) Got rid of error message when CPU frequency governor is
     not compiled as a module.
   * (Closes: #425551) Support for Intel IPW3945, IPW2200, IPW2100 wireless
     power setting.
   * Modular configuration file in /etc/laptop-mode/conf.d.
   * First version of a modularized architecture.
   * Support for custom modules in /etc/laptop-mode/modules.
Files: 
 f068a68af64c0a9dc98f83f8675c973d 594 utils optional 
laptop-mode-tools_1.34-1.dsc
 c6edc3b2abbc3770d6673f155a40473d 66911 utils optional 
laptop-mode-tools_1.34.orig.tar.gz
 2b0fe4de4eca6c29393c6668a6fa2adf 7146 utils optional 
laptop-mode-tools_1.34-1.diff.gz
 f599721b25cf0851b1cd02e2c45a7682 83758 utils optional 
laptop-mode-tools_1.34-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGXWR0Kb5dImj9VJ8RAiJzAKCgsLq/VcOMSwxIBE3DLPJptV6fpACdE9TJ
B0h4rXG9O/KMVCQhgy/x+9k=
=Vc5P
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to