Received: from milmhbs1.lsil.com (147.145.21.209) by coscas01.lsi.com
 (172.21.36.60) with Microsoft SMTP Server id 8.1.393.1; Thu, 19 Nov 2009
 09:41:39 -0700
Received: from mail1.lsil.com (mail1.lsil.com [147.145.40.21])	by
 milmhbs1.lsil.com (8.12.11/8.12.11) with ESMTP id nAJGfYmI024794	for
 <andy.sharp@lsi.com>; Thu, 19 Nov 2009 08:41:37 -0800
Received: from psmtp.com (na3sys009amx168.postini.com [74.125.149.94])	by
 mail1.lsil.com (8.12.11/8.12.11) with SMTP id nAJGfHrh022636	for
 <andy.sharp@lsi.com>; Thu, 19 Nov 2009 08:41:33 -0800 (PST)
Received: from source ([78.24.191.182]) by na3sys009amx168.postini.com
 ([74.125.148.14]) with SMTP;	Thu, 19 Nov 2009 08:41:34 PST
Received: from localhost.localdomain ([127.0.0.1]:57891 "EHLO
	eddie.linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by ftp.linux-mips.org	with
 ESMTP id S1494042AbZKSQkt (ORCPT <rfc822;andy.sharp@lsi.com>);	Thu, 19 Nov
 2009 17:40:49 +0100
Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 19 Nov 2009 17:40:32
 +0100 (CET)
Received: from sorrow.cyrius.com ([65.19.161.204]:58442 "EHLO
	sorrow.cyrius.com" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org	with ESMTP
 id S1494039AbZKSQkZ (ORCPT	<rfc822;linux-mips@linux-mips.org>); Thu, 19 Nov
 2009 17:40:25 +0100
Received: by sorrow.cyrius.com (Postfix, from userid 10)	id 99368D8C6; Thu, 19
 Nov 2009 16:40:22 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)	id
 699AD1501ED; Thu, 19 Nov 2009 16:40:09 +0000 (GMT)
From: Martin Michlmayr <tbm@cyrius.com>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Thu, 19 Nov 2009 09:40:09 -0700
Subject: Disable EARLY_PRINTK on IP22 to make the system boot
Thread-Topic: Disable EARLY_PRINTK on IP22 to make the system boot
Thread-Index: AcppNysnnecNjwTyRL+faY7q4ev8Pg==
Message-ID: <20091119164009.GA15038@deprecation.cyrius.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-AuthSource: coscas01.lsi.com
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-scanned-by: MIMEDefang 2.39
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:80.61448/99.90000 CV:99.9000 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-settings: 3 (1.0000:1.0000) s cv gt3 gt2 gt1 r p m c 
x-pstn-addresses: from <tbm@cyrius.com> [22/1] 
x-pstn-neptune: 0/0/0.00/0
user-agent: Mutt/1.5.20 (2009-06-14)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

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

--=20
Martin Michlmayr
http://www.cyrius.com/

