Bug#437459: boinc-client: [patch] upcoming change in /proc/cpuinfo on powerpc

Thibaut VARENE varenet at debian.org
Sun Aug 12 16:41:05 UTC 2007

Package: boinc-client
Version: 5.10.8-1
Severity: minor
Tags: patch


The proc contents are unfortunately anything but stable. It seems
powerpc decided to modify their output of /proc/cpuinfo in the upcoming
2.6.23 kernel, replacing "machine" by "platform" (see
arch/powerpc/kernel/setup-common.c). The attached patch
deals with that. Please forward upstream.

Powerpc is the only arch I've tested 2.6.23 with so far, I don't know if
there are changes in the other ones yet.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages boinc-client depends on:
ii  adduser                 3.104            add and remove users and groups
ii  ca-certificates         20070303         Common CA Certificates PEM files
ii  debconf [debconf-2.0]   1.5.14           Debian configuration management sy
ii  libc6                   2.6-2            GNU C Library: Shared libraries
ii  libcurl3                7.16.4-1         Multi-protocol file transfer libra
ii  libgcc1                 1:4.2-20070712-1 GCC support library
ii  libidn11                0.6.5-1          GNU libidn library, implementation
ii  libkrb53                1.6.dfsg.1-6     MIT Kerberos runtime libraries
ii  libssl0.9.8             0.9.8e-5+b1      SSL shared libraries
ii  libstdc++6              4.2-20070712-1   The GNU Standard C++ Library v3
ii  lsb-base                3.1-24           Linux Standard Base 3.1 init scrip
ii  python                  2.4.4-6          An interactive high-level object-o
ii  zlib1g                  1: compression library - runtime

boinc-client recommends no packages.

-- debconf information excluded
-------------- next part --------------
--- client/hostinfo_unix.C.orig	2007-06-03 21:37:45.000000000 +0200
+++ client/hostinfo_unix.C	2007-08-12 18:36:07.000000000 +0200
@@ -317,7 +317,7 @@
 #elif __hppa__        
         strstr(buf, "cpu\t\t: ")
 #elif __powerpc__
-                strstr(buf, "machine\t\t: ")
+                strstr(buf, "machine\t\t: ") || strstr(buf, "platform\t: ")
 #elif __sparc__
         strstr(buf, "type\t\t: ")
 #elif __alpha__

More information about the pkg-boinc-devel mailing list