On 26.07.2011 17:25, Colin Watson wrote: > On Tue, Jul 26, 2011 at 02:12:30PM +0100, Colin Watson wrote: >> A build of current trunk on mips-loongson with the addition of >> http://pastebin.com/download.php?i=uzXkNBTP fails to boot on a Loongson >> 2E system as follows: >> >> PMON> ifaddr rtl0 192.168.114.37 >> bootp=8000b968 >> PMON> load tftp://192.168.114.32/nephele/vmlinux >> Loading file: tftp://192.168.114.32/nephele/vmlinux (elf) >> 0x801ffb60/538744 + >> Entry address is 801ffb60 >> PMON> g >> zero at v0 v1 a0 a1 a2 a3 >> 00000000 00000000 00000000 00000000 00000001 aff7fd10 aff7fd18 80095ad0 >> t0 t1 t2 t3 t4 t5 t6 t7 >> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 >> s0 s1 s2 s3 s4 s5 s6 s7 >> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 >> t8 t9 k0 k1 gp sp s8 ra >> 00000000 00000000 00000000 00000000 00000000 aff7fcf0 00000000 80063f90 > It looks like this register dump may be irrelevant; it seems to appear > even on successful boots. > > Given the lack of output, we've been narrowing down the problem by > inserting infinite loops at strategic points and testing whether we get > back to a PMON prompt or not. So far it looks as though the failure is > somewhere in grub_font_init. > Looks like memory allocations are wrong. Try hardcoding heap at e.g. 81000000-82000000 -- Regards Vladimir 'φ-coder/phcoder' Serbinenko