[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Debian installer: partman-prep



Am Freitag, 24. Dezember 2004 01:52 schrieb Colin Watson:
> On Thu, Dec 23, 2004 at 09:04:27AM +0100, Cajus Pollmeier wrote:
> > Am Donnerstag, 23. Dezember 2004 07:23 schrieb Sven Luther:
> > > Cajus Pollmeier wrote:
> > > > While looking for the way to set the correct subarch, I found that in
> > > > base-installer's postinst, line 438 the CPU variable is filled by:
> > > >
> > > > CPU=`grep '^cpu[[:space:]]*:' /proc/cpuinfo | cut -d: -f2 | sed 's/^
> > > > *//; s/[, ].*//' | tr A-Z a-z`
> > > >
> > > > The following case doesn't seem to work with more than one CPU. In
> > > > my case CPU contains "power4+ power4+".
>
> [...]
>
> > Just looked at the new version. It has changed in base-installer 1.14.
> > Ignore me ;-)
>
> It's moved to a different file (kernel/powerpc.sh), but the code is
> still there. Could you please send me /proc/cpuinfo? I'll make it do
> something more sensible based on that.

I've noticed that it is problematic in my case only, because the debian
installer doesn't use a SMP based kernel (yet?). Anyway here's a typical
output of cat /proc/cpuinfo:

8<----
processor : 0
cpu  : POWER4+ (gq)
clock  : 1452.000000MHz
revision : 2.1

processor : 1
cpu  : POWER4+ (gq)
clock  : 1452.000000MHz
revision : 2.1

timebase : 181495702
machine  : CHRP IBM,7029-6E3
8<----

Since the pseries stuff will obviously not be target for sarge - am I allowed 
to prepare the chrp_pseries special handlings in some of the installer
modules? Should I add the partman-prep package  in svn now without generating 
any problems? It only gets installed on the chrp_pseries subarch, which is 
not yet detected by archdetect.

Cheers,
Cajus



Reply to: