p620 hangs instantiating rtas at 0x00000000deadbeef

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Feb 12 09:09:30 EST 2005


> 
> diff -purNx tags ../linux-2.6.11-rc3.orig/arch/ppc64/kernel/prom_init.c ./arch/ppc64/kernel/prom_init.c
> --- ../linux-2.6.11-rc3.orig/arch/ppc64/kernel/prom_init.c	2005-02-03 02:56:48.000000000 +0100
> +++ ./arch/ppc64/kernel/prom_init.c	2005-02-11 07:51:21.280306356 +0100
> @@ -671,7 +671,7 @@ static void __init prom_init_mem(void)
>  	if ( RELOC(of_platform) == PLATFORM_PSERIES_LPAR )
>  		RELOC(alloc_top) = RELOC(rmo_top);
>  	else
> -		RELOC(alloc_top) = RELOC(rmo_top) = min(0x40000000ul, RELOC(ram_top));
> +		RELOC(alloc_top) = RELOC(rmo_top) = min(0x10000000ul, RELOC(ram_top));
>  	RELOC(alloc_bottom) = PAGE_ALIGN(RELOC(klimit) - offset + 0x4000);
>  	RELOC(alloc_top_high) = RELOC(ram_top);
>  

Hrm... that fixes it ? weird... I suspect the TCE allocation is screwing
up. Can you please enable the full debug output and send me the log ?
The above patch is definitely not a solution.

Ben.




More information about the Linuxppc64-dev mailing list