Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QljW2-0006cf-Sf for mharc-grub-devel@gnu.org; Tue, 26 Jul 2011 11:25:50 -0400 Received: from eggs.gnu.org ([140.186.70.92]:38331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QljVw-0006bE-Do for grub-devel@gnu.org; Tue, 26 Jul 2011 11:25:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QljVv-0006kD-4O for grub-devel@gnu.org; Tue, 26 Jul 2011 11:25:44 -0400 Received: from chiark.greenend.org.uk ([212.13.197.229]:35116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QljVu-0006k1-W4 for grub-devel@gnu.org; Tue, 26 Jul 2011 11:25:43 -0400 Received: from [172.20.153.9] (helo=riva.pelham.vpn.ucam.org) by chiark.greenend.org.uk (Debian Exim 4.69 #1) with esmtp (return-path cjwatson@ubuntu.com) id 1QljVt-0006wG-Oo; Tue, 26 Jul 2011 16:25:41 +0100 Received: from [2001:41b8:203:dc11:21c:26ff:fe49:dd4d] (helo=sarantium.pelham.vpn.ucam.org) by riva.pelham.vpn.ucam.org with esmtp (Exim 4.72) (envelope-from ) id 1QljVq-0008AE-Cu; Tue, 26 Jul 2011 16:25:38 +0100 Received: from riva.dynamic.greenend.org.uk (localhost [127.0.0.1]) by sarantium.pelham.vpn.ucam.org (Postfix) with ESMTPS id CB2593E4132; Tue, 26 Jul 2011 16:25:17 +0100 (BST) Date: Tue, 26 Jul 2011 16:25:16 +0100 From: Colin Watson To: grub-devel@gnu.org Subject: Re: Loongson 2E boot failure Message-ID: <20110726152502.GA3028@riva.dynamic.greenend.org.uk> References: <20110726131229.GA30427@riva.dynamic.greenend.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110726131229.GA30427@riva.dynamic.greenend.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 212.13.197.229 Cc: Andreas Barth X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2011 15:25:48 -0000 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. -- Colin Watson [cjwatson@ubuntu.com]