Package: base-installer
Version: 1.67
Severity: important
Tags: d-i patch

As the subject says, kernel-installer doesn't know about power5+ cpus. The
attached patch does fix this, and joins a cpuinfo for a pseries 710 machine.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Index: powerpc.sh
===================================================================
--- powerpc.sh  (revision 40490)
+++ powerpc.sh  (working copy)
@@ -1,7 +1,7 @@
 arch_get_kernel_flavour () {
        CPU=`grep '^cpu[[:space:]]*:' "$CPUINFO" | head -n1 | cut -d: -f2 | sed 
's/^ *//; s/[, ].*//' | tr A-Z a-z`
        case "$CPU" in
-               power3|i-star|s-star|power4|power4+|ppc970*|power5)
+               power3|i-star|s-star|power4|power4+|ppc970*|power5|power5+)
                        family=powerpc64
                        ;;
                *)
processor       : 0
cpu             : POWER5+ (gs)
clock           : 1898.100000MHz
revision        : 2.0 (pvr 003b 0200)

processor       : 1
cpu             : POWER5+ (gs)
clock           : 1898.100000MHz
revision        : 2.0 (pvr 003b 0200)

processor       : 2
cpu             : POWER5+ (gs)
clock           : 1898.100000MHz
revision        : 2.0 (pvr 003b 0200)

processor       : 3
cpu             : POWER5+ (gs)
clock           : 1898.100000MHz
revision        : 2.0 (pvr 003b 0200)

timebase        : 237332000
machine         : CHRP IBM,9110-51A

Reply via email to