[OpenBIOS] [SOLVED] ppc64 boot issues

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Dec 13 12:20:25 CET 2010


Andreas Färber wrote:

> The following branch boots AIX as before (not finding /rtas). Debian 
> starts to boot but serial complains ">> out of malloc memory (11d28)!" 
> (same if increased to -m 1024) and it appears to stop shortly after, 
> last line is "returning from prom_init".

Good work! The malloc memory region for OFMEM on PPC should lie between 
ofmem_arch_get_malloc_base() and ofmem_arch_get_heap_top() which is 
tweakable in arch/ppc/qemu/ofmem.c. According to the comments, it should 
be set to 2MB which I would have thought is enough but AIX could be 
doing something clever - try enabling the CONFIG_DEBUG_OFMEM option to 
confirm this.

> http://repo.or.cz/w/openbios/afaerber.git/shortlog/refs/heads/ppc64-boot
> 
> Thanks for pointing me in the right direction! I'll try to clean this 
> up, but it'll take some days.

No worries - glad that you managed to find out what was happening :)


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list