Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754813AbZA1LeW (ORCPT ); Wed, 28 Jan 2009 06:34:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751541AbZA1LeJ (ORCPT ); Wed, 28 Jan 2009 06:34:09 -0500 Received: from tac.ki.iif.hu ([193.6.222.43]:57791 "EHLO tac.ki.iif.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751212AbZA1LeI convert rfc822-to-8bit (ORCPT ); Wed, 28 Jan 2009 06:34:08 -0500 From: Ferenc Wagner To: Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= Cc: Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: 2.6.29-rc2 dies on startup References: <877i4rjw38.fsf@tac.ki.iif.hu> <20090125224625.96429d3d.akpm@linux-foundation.org> Date: Wed, 28 Jan 2009 12:33:58 +0100 In-Reply-To: Ferenc Wagner's message of "Tue, 27 Jan 2009 18:15:31 +0100" Message-ID: <873af33brt.fsf@tac.ki.iif.hu> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1608 Lines: 48 Ferenc Wagner writes: > Arve Hjønnevåg writes: > >> On Sun, Jan 25, 2009 at 10:46 PM, Andrew Morton >> wrote: >> >>> At a guess I'd say that drivers/staging/android/ram_console.c is calling >>> the reed-solomon code earlier than it's expecting. But that might be >>> totally wrong. >> >> Yes, but it also is trying to use a zero sized buffer at virtual >> address 0 so it will not work much better if you turn off ecc. > > This sounds understandable given that the defaults are > > CONFIG_ANDROID_RAM_CONSOLE_EARLY_ADDR=0x0 > CONFIG_ANDROID_RAM_CONSOLE_EARLY_SIZE=0x0 > >> This patch (to the android kernel tree) add some validation: > > Compiling it now (on the vanilla tree). Fine, this patch helps. Instead of [ 0.000000] Detected 1536.828 MHz processor. [ 0.004000] Console: colour VGA+ 80x25 [ 0.004000] console [ttyS0] enabled [ 0.004000] BUG: unable to handle kernel paging request at f000e816 [ 0.004000] IP: [] kmem_cache_alloc+0x2d/0x95 [...] now I get [ 0.000000] Detected 1537.027 MHz processor. [ 0.004000] Console: colour VGA+ 80x25 [ 0.004000] console [tty0] enabled [ 0.004000] ram_console: buffer (null), invalid size 0, datasize -12 [ 0.004000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [...] -- Thanks, Feri. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/