On Thu, Dec 23, 2004 at 09:43:09AM +0100, Cajus Pollmeier wrote:
> Am Donnerstag, 23. Dezember 2004 07:23 schrieben Sie:
> 
> [...]
> 
> > In any case partman-prep should be installed on all of the IBM machines :
> > all prep (even ppcbug i think), IBM chrps and the newer pseries and what
> > not.
> 
> Hi Sven,
> 
> the /proc/cpuinfo output of these machines looks like:
> 
> 8<----------------------------------------------------------------
> processor       : 0
> cpu             : POWER4+ (gq)
> clock           : 1452.000000MHz
> revision        : 2.1
> 
> processor       : 1
> cpu             : POWER4+ (gq)
> clock           : 1452.000000MHz
> revision        : 2.1
> 
> timebase        : 181495442
> machine         : CHRP IBM,7029-6E3
> 8<----------------------------------------------------------------
> 
> The attached patch looks for CHRP IBM and returns
> pseries.
> 
> Greetings,
> Cajus

> diff -Naur ddetect-1.11/archdetect-powerpc-linux.c 
> ddetect-1.11.pseries/archdetect-powerpc-linux.c
> --- ddetect-1.11/archdetect-powerpc-linux.c   2004-10-04 01:41:05.000000000 
> +0000
> +++ ddetect-1.11.pseries/archdetect-powerpc-linux.c   2004-12-23 
> 08:36:30.416935000 +0000
> @@ -19,6 +19,7 @@
>  
>  struct map map_machine[] = {
>       { "PReP", "prep" },
> +     { "CHRP IBM", "pseries" },
that should be chrp_pseries i believe. The _ is a kind of subsubarch
separator.

>       { "CHRP Pegasos", "chrp_pegasos" },
>       { "CHRP", "chrp" },
>       { "Amiga", "amiga" },

I will apply that fix to SVN later today if there is no counter-order.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to