Re: 3.10-rc1 MIPS regression: Lemote mini-PC boot hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux