linux-mips
[Top] [All Lists]

Disable EARLY_PRINTK on IP22 to make the system boot

To: linux-mips@linux-mips.org
Subject: Disable EARLY_PRINTK on IP22 to make the system boot
From: Martin Michlmayr <tbm@cyrius.com>
Date: Thu, 19 Nov 2009 16:40:09 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-06-14)
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.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>

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/

<Prev in Thread] Current Thread [Next in Thread>