patch for successful kernel scratch build

Josh Boyer jwboyer at gmail.com
Wed Jan 5 08:33:06 EST 2011


On Wed, Jan 5, 2011 at 8:27 AM, Adrian Reber <adrian at lisas.de> wrote:
> I had to apply following patch to the kernel git to get a SRPM which was
> built successfully. It just disables two modules which did not compile.
> I did not check if there are actual patches which fix the compile
> problems. I am posting it here so that somebody who is closer to the
> kernel can decide what the best solution would be.
>
> diff --git a/config-generic b/config-generic
> index 7b5630f..4566cdf 100644
> --- a/config-generic
> +++ b/config-generic
> @@ -644,7 +644,7 @@ CONFIG_SCSI_DC395x=m
>  CONFIG_SCSI_DEBUG=m
>  CONFIG_SCSI_DC390T=m
>  CONFIG_SCSI_QLA_FC=m
> -CONFIG_SCSI_QLA_ISCSI=m
> +# CONFIG_SCSI_QLA_ISCSI is not set
>  # CONFIG_SCSI_IPR is not set
>  # CONFIG_SCSI_DPT_I2O is not set
>  CONFIG_SCSI_LPFC=m

This should probably go in the config-powerpc-generic file as an
override instead.  We don't want to turn it off for all kernels if
it's not a problem for all of them.  Do you happen to have the build
failure?

> diff --git a/config-powerpc32-generic b/config-powerpc32-generic
> index d230495..b62e546 100644
> --- a/config-powerpc32-generic
> +++ b/config-powerpc32-generic
> @@ -83,7 +83,7 @@ CONFIG_SERIAL_MPC52xx_CONSOLE=y
>  CONFIG_SERIAL_MPC52xx_CONSOLE_BAUD=115200
>  # CONFIG_MPC5200_WDT is not set
>  CONFIG_8xxx_WDT=m
> -CONFIG_GEF_WDT=m
> +# CONFIG_GEF_WDT is not set

I'm OK with disabling this one.

I can commit this to the kernel once we clear up the first issue.

josh



More information about the Fedora-ppc mailing list