linux-mips
[Top] [All Lists]

Re: Disable EARLY_PRINTK on IP22 to make the system boot

To: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Subject: Re: Disable EARLY_PRINTK on IP22 to make the system boot
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: Thu, 19 Nov 2009 21:55:03 +0100
Cc: Martin Michlmayr <tbm@cyrius.com>, linux-mips@linux-mips.org
In-reply-to: <90edad820911191205h77f298b4u788039abff2db1d0@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20091119164009.GA15038@deprecation.cyrius.com> <90edad820911190856m62275563yf610c4a7dcdd1f67@mail.gmail.com> <20091119170051.GX31954@deprecation.cyrius.com> <90edad820911191205h77f298b4u788039abff2db1d0@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, Nov 19, 2009 at 10:05:06PM +0200, Dmitri Vorobiev wrote:
> On Thu, Nov 19, 2009 at 7:00 PM, Martin Michlmayr <tbm@cyrius.com> wrote:
> > * Dmitri Vorobiev <dmitri.vorobiev@gmail.com> [2009-11-19 18:56]:
> >> > 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?
> >
> > It doesn't happen on all machines.  It has been reported e.g. with an
> > Indigo2.  See http://bugs.debian.org/507557
> 
> Interesting, thanks. Good to know that, since one of my machines is Indigo2.

I guess is depending on RPOM version and installed memory. I haven't
figured out exactly which parts get overwritten, but since we completely
ignore ARCS reservered memory and still use ARCS prom calls, it's not
a real safe game we are doing.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]

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