All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: Loongson 2E boot failure
Date: Tue, 26 Jul 2011 18:04:44 +0200	[thread overview]
Message-ID: <4E2EE59C.8080305@gmail.com> (raw)
In-Reply-To: <20110726152502.GA3028@riva.dynamic.greenend.org.uk>

[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]

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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  parent reply	other threads:[~2011-07-26 16:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 13:12 Loongson 2E boot failure Colin Watson
2011-07-26 15:25 ` Colin Watson
2011-07-26 15:53   ` David Kuehling
2011-07-26 16:01     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-26 16:04   ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2011-07-26 16:20     ` Colin Watson
2011-08-03 11:21       ` Robert Millan
2011-08-11 17:26         ` Andreas Barth
2011-08-12 12:55         ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-08-13 10:32           ` Andreas Barth
2011-08-21  0:27             ` Loongson 2E support available (was Re: Loongson 2E boot failure) Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E2EE59C.8080305@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.