Your message dated Sat, 20 Sep 2008 14:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#376793: fixed in acpitool 0.5-1
has caused the Debian Bug report #376793,
regarding acpitool: failures on SMP machines
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
376793: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376793
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: acpitool
Version: 0.4.4-1
Severity: normal
Tags: patch

Some trivial typos cause failures on SMP machines.  For example:

----------------------------------------------------------------------
ravna:1$ acpitool -c
  CPU type               : Genuine Intel(R) CPU           T2600  @ 2.16GHz
  CPU speed              : 1000.000 MHz
  Bogomips               : on   : yes

# of CPU's found       : 2

  Processor ID           : 0
  Bus mastering control  : yes
  Power management       : yes
  Throttling control     : yes
  Limit interface        : yes
  Active C-state         : C3
  C-states (incl. C0)    : 4
  Usage of state C1      : 10 (0.0 %)
  Usage of state C2      : 90880740 (83.0 %)
  Usage of state C3      : 18653344 (17.0 %)
  T-state count          : 8
  Active T-state         : T0

  could not open file /proc/acpi/processor/CPU1/info
  Active C-state         : C3
  C-states (incl. C0)    : 7
  Usage of state C1      : 10 (0.0 %)
  Usage of state C2      : 90880740 (66.0 %)
  Usage of state C3      : 18653344 (13.6 %)
  Usage of state C4      : 10 (0.0 %)
  Usage of state C5      : 16073802 (11.7 %)
  Usage of state C6      : 12013235 (8.7 %)
 could not open file /proc/acpi/processor/CPU1/throttling
----------------------------------------------------------------------

There are two bugs here: (1) two files won't open, even though they
are present and have appropriate permissions, and (2) the C-state
information for cpu1 is wrong.  Here's a patch that fixes both bugs:

----------------------------------------------------------------------
--- src/acpitool.cpp.~1~        2006-02-05 09:48:15.000000000 -0500
+++ src/acpitool.cpp    2006-07-04 23:43:18.000000000 -0400
@@ -831,6 +831,7 @@
                                // cout << "  Bus Master Activity dc : " << 
bm_activity << endl;
 
                                file2_in.getline(str, 100); // states (line 
contains no information)
+                               cst_cnt=0;
                                while(!file2_in.eof())
                                {
                                        file2_in.getline(str, 100);  // cstate 
Cx
@@ -877,7 +878,7 @@
                                        bzero(temp, 80);
                                        strncpy(temp, str+25, 5);
                                        cout<<"  Active T-state         : 
"<<temp<<endl;
-                                       file2_in.close();
+                                       file_in.close();
                                }
                                else cout<<" could not open file 
"<<filename[i]<<endl;
                        }
----------------------------------------------------------------------

And here's correct output after patching:

----------------------------------------------------------------------
ravna:1$ src/acpitool -c
  CPU type               : Genuine Intel(R) CPU           T2600  @ 2.16GHz
  CPU speed              : 1000.000 MHz
  Bogomips               : on   : yes

# of CPU's found       : 2

  Processor ID           : 0
  Bus mastering control  : yes
  Power management       : yes
  Throttling control     : yes
  Limit interface        : yes
  Active C-state         : C2
  C-states (incl. C0)    : 4
  Usage of state C1      : 10 (0.0 %)
  Usage of state C2      : 90655127 (83.0 %)
  Usage of state C3      : 18609272 (17.0 %)
  T-state count          : 8
  Active T-state         : T0

  Processor ID           : 1
  Bus mastering control  : yes
  Power management       : yes
  Throttling control     : yes
  Limit interface        : yes
  Active C-state         : C2
  C-states (incl. C0)    : 4
  Usage of state C1      : 10 (0.0 %)
  Usage of state C2      : 16034035 (11.7 %)
  Usage of state C3      : 11985425 (8.7 %)
  T-state count          : 8
  Active T-state         : T0
----------------------------------------------------------------------

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.3-cph1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages acpitool depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-7  GCC support library
ii  libstdc++6                    4.1.1-7    The GNU Standard C++ Library v3

Versions of packages acpitool recommends:
ii  acpid                         1.0.4-5    Utilities for using ACPI power man

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: acpitool
Source-Version: 0.5-1

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

acpitool_0.5-1.diff.gz
  to pool/main/a/acpitool/acpitool_0.5-1.diff.gz
acpitool_0.5-1.dsc
  to pool/main/a/acpitool/acpitool_0.5-1.dsc
acpitool_0.5-1_i386.deb
  to pool/main/a/acpitool/acpitool_0.5-1_i386.deb
acpitool_0.5.orig.tar.gz
  to pool/main/a/acpitool/acpitool_0.5.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.
Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated acpitool 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.8
Date: Sat, 20 Sep 2008 15:24:00 +0200
Source: acpitool
Binary: acpitool
Architecture: source i386
Version: 0.5-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
Changed-By: Daniel Baumann <[EMAIL PROTECTED]>
Description: 
 acpitool   - command line ACPI client
Closes: 376793 443016 450030 463111
Changes: 
 acpitool (0.5-1) unstable; urgency=low
 .
   * New maintainer, Nicolas Weyland is mia.
   * Acknowledging previous NMUs (Closes: #376793).
   * New upstream release:
     - works with current kernels (Closes: #443016, #463111).
   * Redone debian packaging from scratch:
    - removed watch file (Closes: #450030).
Checksums-Sha1: 
 268df2254cbfaed10c9eeda2915ebdc67662bd7d 1134 acpitool_0.5-1.dsc
 d52ed0438fb2f5e6470f04f4a1f1fe9559183920 128772 acpitool_0.5.orig.tar.gz
 9645049dd7500263864bba1477fb46df23345997 3268 acpitool_0.5-1.diff.gz
 023aee452c9a115e88359fa57f0974d1b00c7e8f 46714 acpitool_0.5-1_i386.deb
Checksums-Sha256: 
 0e9fb7215cc2a961c085190f9bd3374f088c556334d2396bf3e088a6262671d6 1134 
acpitool_0.5-1.dsc
 5dc5a9ca725b767591ef1c12d6e1aa37ca1d3f31cd477a9c58aea74b56d71e41 128772 
acpitool_0.5.orig.tar.gz
 cdf5f53375f9c8c21a09114b8d1487fd0749fd374d03c09990fb81591a09db5b 3268 
acpitool_0.5-1.diff.gz
 a75f247e9e11a025e04cd27100c0510a72ca305b5903b6b810828cbfd3b12990 46714 
acpitool_0.5-1_i386.deb
Files: 
 a03079c49c90d6df1bce47bf9839fd5c 1134 utils optional acpitool_0.5-1.dsc
 5f4e58bce5114b8ab85bee92721e4c5d 128772 utils optional acpitool_0.5.orig.tar.gz
 339fdef203435c757533463fedb21719 3268 utils optional acpitool_0.5-1.diff.gz
 e9e73b573383c7a789dc1e4a7aa45431 46714 utils optional acpitool_0.5-1_i386.deb

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

iEYEARECAAYFAkjU/6IACgkQ+C5cwEsrK54zgACgqPeWAXc5xH/Qeubj5m7wBh46
hhcAoIqdwH3bbFzbjonzi4f7cW9XvR/f
=5u91
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to