Re: Disable EARLY_PRINTK on IP22 to make the system boot

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

 



On Thu, Nov 19, 2009 at 6:40 PM, Martin Michlmayr <tbm@xxxxxxxxxx> wrote:
> Some Debian users have reported that the kernel hangs early
> during boot on some IP22 systems.  Thomas Bogendoerfer found
> that this is due to a "bad interaction between CONFIG_EARLY_PRINTK
> and overwritten prom memory during early boot".  Since there's
> no fix yet, disable CONFIG_EARLY_PRINTK for now.

Never experienced anything like that, although I'm quite extensively
using IP22 with recent kernels. Any details on the hangs?

Thanks,
Dmitri

>
> Signed-off-by: Martin Michlmayr <tbm@xxxxxxxxxx>
>
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 1aad0d9..42e1ac1 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -358,7 +358,9 @@ config SGI_IP22
>        select SWAP_IO_SPACE
>        select SYS_HAS_CPU_R4X00
>        select SYS_HAS_CPU_R5000
> -       select SYS_HAS_EARLY_PRINTK
> +# Disable EARLY_PRINTK for now since it leads to overwritten prom memory
> +# during early boot on some machines.
> +#      select SYS_HAS_EARLY_PRINTK
>        select SYS_SUPPORTS_32BIT_KERNEL
>        select SYS_SUPPORTS_64BIT_KERNEL
>        select SYS_SUPPORTS_BIG_ENDIAN
>
> --
> Martin Michlmayr
> http://www.cyrius.com/
>
>


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux