Re: 2.6.29-rc2 dies on startup

From: Ferenc Wagner
Date: Tue Jan 27 2009 - 12:16:21 EST


Arve HjÃnnevÃg <arve@xxxxxxxxxxx> writes:

> On Sun, Jan 25, 2009 at 10:46 PM, Andrew Morton
> <akpm@xxxxxxxxxxxxxxxxxxxx> 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).
--
Regards,
Feri.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/