Package: acpitool
Version: 0.4.4-1
Severity: minor

$ acpitool -c
 CPU type               : AMD Sempron(tm) Processor 2500+
 CPU speed              : 1406.848 MHz
 Bogomips               : es   : 40 bi
 Processor ID           : 0
 Bus mastering control  : yes
 Power management       : no
 Throttling control     : no
 Limit interface        : no
 Active C-state         : C1
 C-states (incl. C0)    : 2
 Usage of state C1      : 0 (nan %)

Observe the NaN in the last line and the Bogomips garbage.

$ grep 'es.*: 40 bi' /proc/cpuinfo
address sizes   : 40 bits physical, 48 bits virtual

Instead of parsing /proc/cpuinfo properly, acpitool.cpp::Show_CPU_Info()
assumes specific number and order of the fields listed (which can change
depending on kernel version and configuration).

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=pl_PL.UTF8 (charmap=UTF-8)

Versions of packages acpitool depends on:
ii  libc6                       2.3.6-7      GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.0-1+b1 GCC support library
ii  libstdc++6                  4.1.0-1+b1   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

Reply via email to