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

Re: report install on a p510



On Wed, Sep 06, 2006 at 02:13:22PM +0200, Xavier Grave wrote:
> Le mercredi 06 septembre 2006 à 13:17 +0200, Sven Luther a écrit :
> > On Wed, Sep 06, 2006 at 10:58:10AM +0200, Xavier Grave wrote:
> > > 
> > > > Did you file the bug report ? I think filling it correctly to the debian BTS
> > > > is the more important thing to do here.
> > > OK the new install is done, report bug filed with logs in it. I hope it
> > > will help.
> > 
> > Thanks.
> You are welcome.
> > > I'm waiting for the confirmation email.
> > > 
> > > I still have a problem : no console out of ttyS0.
> > 
> > your console is either /dev/hvc0 or /dev/hvsi0 depending on wheter you ran a
> > virtualized environment or not.
> no virtualization at all. I also have a openpower 710 and the /dev/hvc0 didn't worked...

Ah, /dev/hvc0 is what is used for the virtualized environment. i guess yours
is hvsi0, but look at the dmesg output to be sure, and please report back
about it.

> What exactly do I need to put in inittab please ?

Just replace the ttyS0 by a hvsi0, if that is what you use.

> > Could you also post your /proc/cpuinfo please ? 
> p5-server-tdm:~/debs_importants# cat /proc/cpuinfo 
> 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

The b-i/k code does :

        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) family=powerpc64 ;;
	esac
	case "$SUBARCH" in
		powermac*|prep|chrp*)   echo "$family" ;;
	esac

Which should in your case give powerpc64 for family, but i wonder where
$SUBARCH is taken from.

It then does :

        CPUS="$(grep -ci ^processor "$CPUINFO")" || CPUS=1
        if [ "$CPUS" ] && [ "$CPUS" -gt 1 ] && [ "$1" != "powerpc64" ]; then
                SMP=-smp
        else
                SMP=
        fi

Which should yield an empty SMP variable, and thus :

                                        if [ "$SMP" ]; then
                                                echo "linux-image-$KERNEL_MAJOR-$1$SMP"
                                        fi
                                        echo "linux-image-$KERNEL_MAJOR-$1"
                                        ;;


Should yield linux-image-2.6-powerpc64.

Let's try this out by hand :

$ grep '^cpu[[:space:]]*:' 710 | head -n1 | cut -d: -f2 | sed 's/^ *//; s/[, ].*//' | tr A-Z a-z
power5+

Ahah, base-installer doesn't know about the power5+, only the power5, it thus
returns powerpc as base flavour, and then everything else is logical.

Sending a patch for this, once i get the return number of your bug report.

Friendly,

Sven Luther



Reply to: