[Debian-ppc64-devel] Boot CD for ppc64 on IBM OpenPower 710/720

Sven Luther sven.luther@wanadoo.fr
Fri, 10 Jun 2005 18:40:31 +0200


On Fri, Jun 10, 2005 at 06:35:44PM +0200, Cajus Pollmeier wrote:
> Am Freitag, 10. Juni 2005 18:24 schrieb Sven Luther:
> > On Thu, Jun 09, 2005 at 01:41:20PM +0200, Harald G=F6rl wrote:
> > > Hi list, Cajus.
> > > I created a (very simple) boot cd for Debian ppc64 on IBM OpenPower=
. The
> > > cd only contains the zImage.initrd, which also could be transfered =
via
> > > tftp. There is also a readme file on the cd with some instructions =
how i
> > > created the cd. The boot process on CHRP machines is "interesting".
> >
> > Ok.
> >
> > > I compiled an "own" kernel image for this cd, because i missed two
> > > things in the available debian-kernels (from Cajus P. or Sven L.) w=
hich
> > > i tried to integrate in the cd image:
> > >
> > > 1. We have a Matrox G450 build into our machines and so
> > > CONFIG_FB_MATROX_G=3Dy MUST be set, otherwise kernel traces and sto=
ps at
> > > boot time. (of course this is not neccessary for virtual partitions=
 when
> > > the Matrox card is not visible.)
> >
> > Mmm, this one is present in the -pseries kernel :
> >
> >   CONFIG_FB_MATROX_G=3Dy
> >
> > So i guess you had only problem with this with Cajus's kernel ?
> >
> > > 2. I was missing the "ipr.ko" kernel driver for the IBM SCSI device=
. (We
> > > have no raid adapter in our OpenPower!)
> >
> > what is the config option for this one ?
> >
> > Huh, i suppose this is the one :
> >
> >   CONFIG_SCSI_IPR :
> >   This driver supports the IBM Power Linux family RAID adapters.
> >   This includes IBM pSeries 5712, 5703, 5709, and 570A, as well
> >   as IBM iSeries 5702, 5703, 5709, and 570A.
> >
> > Well, this is built as module, as it should, but maybe it is not incl=
uded
> > in the .udebs. ...
> >
> > Indeed it is here :
> >
> > $ find /lib/modules/2.6.11-pseries/ -name ipr.ko
> > /lib/modules/2.6.11-pseries/kernel/drivers/scsi/ipr.ko
> >
> > Will do a new .udeb build tomorrow to include them, can you provide m=
e with
> > the lspci and lspci -n output of those devices to check that discover=
 knows
> > about them ?
>=20
> I've patched discover to detect these ones ;-)

Mmm, strange :

  $ dpkg -c scsi-modules-2.6.11-pseries-di_1.00.ppc64.2_powerpc.udeb
  drwxr-xr-x root/root         0 2005-06-04 14:45:25
    ./lib/modules/2.6.11-pseries/kernel/drivers/scsi/ibmvscsi/
  -rw-r--r-- root/root     42196 2005-06-04 11:15:12
    ./lib/modules/2.6.11-pseries/kernel/drivers/scsi/ibmvscsi/ibmvscsic.k=
o
  -rw-r--r-- root/root     57986 2005-06-04 11:15:13
    ./lib/modules/2.6.11-pseries/kernel/drivers/scsi/ibmvscsi/ibmvscsis.k=
o
  -rw-r--r-- root/root    101131 2005-06-04 11:15:13
    ./lib/modules/2.6.11-pseries/kernel/drivers/scsi/ipr.ko

So, they should be there.

Harald, could you comment more about this problems, as i get the feeling =
that
you either didn't use my daily-builds, or that something really funny is =
going
on.

Friendly,

Sven Luther