build problems with powerpc allmodconfig

Christoph Hellwig hch at lst.de
Wed Nov 1 01:22:13 EST 2006


When trying to build an allmodconfig kernel on powerpc I run into
three errors, all related to the integeration of iseries support
into the main kernel image:

 - vicocons.c can't be compiled at the same time as CONFIG_VT, but
   instead of expressing that in the Kconfig it errors out in that
   case.  This should at least be a Kconfig dependency, but long
   term viocons must work at the same time as the normal vt code
   to have a single ppc64 image
 - vioscsi linkage fails because iseries_vscsi.c and rpa_vscsi.c.
   This needs some trivial indirection via function vectors, but
   how can we find out which one to use from the driver?  Both
   seem to look the same in the device tree
 - arch/powerpc/platforms/iseries/setup.c references rd_size
   when CONFIG_INITRD is set.  But rd_size is defined drivers/block/rd.c
   which can me modular (and is selected by CONFIG_BLK_DEV_RAM).
   This same bug is repeated in the arm amd arm26 code, but except
   for those no one outside of rd.c uses this symbol.  I don't see
   a point why arch code should modify this as it's already big enough.




More information about the Linuxppc-dev mailing list