Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: David Daney <ddaney.cavm@gmail.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: 3.10-rc1 MIPS regression: Lemote mini-PC boot hangs
Date: Wed, 15 May 2013 13:17:26 -0700	[thread overview]
Message-ID: <5193ED56.3040602@gmail.com> (raw)
In-Reply-To: <20130515194805.GA14202@blackmetal.musicnaut.iki.fi>

On 05/15/2013 12:48 PM, Aaro Koskinen wrote:
> Hi,
>
> Lemote mini-PC boot hangs always with 3.10-rc1, the only console
> output is:
>
> [    0.000000] Linux version 3.10.0-rc1-lemote+ (aaro@blackmetal) (gcc version 4
> .8.0 (GCC) ) #2 PREEMPT Wed May 15 22:31:32 EEST 2013
> [    0.000000] busclock=66000000, cpuclock=797780000, memsize=256, highmemsize=2
> 56
> [    0.000000] bootconsole [early0] enabled
> [    0.000000] CPU revision is: 00006303 (ICT Loongson-2)
> [    0.000000] FPU revision is: 00000501
> [    0.000000] Checking for the multiply/shift bug... no.
> [    0.000000] Checking for the daddiu bug... no.
> [    0.000000] Determined physical RAM map:
> [    0.000000]  memory: 0000000010000000 @ 0000000000000000 (usable)
> [    0.000000]  memory: 0000000030000000 @ 0000000010000000 (reserved)
> [    0.000000]  memory: 0000000010000000 @ 0000000090000000 (usable)
> [    0.000000]  memory: 0000000010000000 @ 0000000080000000 (reserved)
> [    0.000000] debug: skip boot console de-registration.
> [    0.000000] Initrd not found or empty - disabling initrd
> [    0.000000] Zone ranges:
> [    0.000000]   Normal   [mem 0x00000000-0x9fffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x00000000-0x3fffffff]
> [    0.000000]   node   0: [mem 0x80000000-0x9fffffff]
> [    0.000000] On node 0 totalpages: 98304
> [    0.000000]   Normal zone: 336 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 98304 pages, LIFO batch:7
> [    0.000000] Reserving 0MB of memory at 0MB for crashkernel
> [    0.000000] Primary instruction cache 64kB, VIPT, direct mapped, linesize 32 bytes.
> [    0.000000] Primary data cache 64kB, 4-way, VIPT, no aliases, linesize 32 bytes
> [    0.000000] Unified secondary cache 512kB 4-way, linesize 32 bytes.
> [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
> [    0.000000] pcpu-alloc: [0] 0
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 97968
> [    0.000000] Kernel command line: console=tty console=ttyS0,115200 keep_bootcon=1 initcall_debug=1 loglevel=9
> [    0.000000] PID hash table entries: 4096 (order: 1, 32768 bytes)
> [    0.000000] Dentry cache hash table entries: 262144 (order: 7, 2097152 bytes)
> [    0.000000] Inode-cache hash table entries: 131072 (order: 6, 1048576 bytes)
>
> On the VGA console there is a register dump, with following (manually copied):
>
> [...]
>
> Exception Cause=address error on load or ifetch, SB=0x140000e2, PC=807273d0
>
> [...]
>
> System.map shows:
>
> ffffffff807261f8 T build_copy_page
> ffffffff80727390 t insn_fixup
> ffffffff80727430 t setup_asid
>
> Any suggestions what to try next?

http://www.linux-mips.org/archives/linux-mips/2013-05/msg00096.html

Specifically, the dynamic ASID sizing is broken.  You should be able to 
boot if you revert that bit.

David Daney

>
> This is plain 3.10-rc1 + "MIPS: loongson: fix random early boot hang" applied,
> config below.
>
> Thanks,
>
> A.
>

  reply	other threads:[~2013-05-15 20:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15 19:48 3.10-rc1 MIPS regression: Lemote mini-PC boot hangs Aaro Koskinen
2013-05-15 20:17 ` David Daney [this message]
2013-05-15 20:39   ` Aaro Koskinen

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=5193ED56.3040602@gmail.com \
    --to=ddaney.cavm@gmail.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox