Port-arm archive

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

Re: panic: pmap_map_chunk: no L2 table for VA 0xc0400000



hamajima%nagoya.bug.gr.jp@localhost wrote:
panic: pmap_map_chunk: no L2 table for VA 0xc0400000

This panic is kernel virtual address mismatch. You need to rewrite the
following to the same values.

<sys/arch/evbarm/include/vmparam.h>
#ifdef KERNEL_BASE_EXT
#define KERNEL_BASE             KERNEL_BASE_EXT
#else
#define KERNEL_BASE             0x80000000
#endif

<sys/arch/evbarm/conf/mk.nslu2>
KERNEL_BASE_VIRT=0xc0200000

Changing the KERNEL_BASE in vmparam to 0xc0200000 resulted in the following error message on bootup:

NetBSD/evbarm (Linksys NSLU2) booting ...
kernsize=0xe0164
physmemory: 8192 pages at 0x10000000 -> 0x11ffffff
Allocating page tables
physical_start = 0x10000000, physical_end = 0x12000000
IRQ stack: p0x10011000 v0xc0211000
ABT stack: p0x10012000 v0xc0212000
UND stack: p0x10013000 v0xc0213000
SVC stack: p0x10014000 v0xc0214000
Creating L1 page table at 0x10000000
panic: kernel diagnostic assertion "(va & ((L1_S_SIZE * 4) - 1)) == 0" failed: file "/home/hayford/testbuild/net/src/sys/arch/arm/arm32/pmap.c", line 5301

Changing the KERNEL_BASE_VIRT to 0x80000000 resulted in what looked like a debugger, but it didn't respond to any commands I tried (sorry - I forgot to capture the output).

Regards,
Don




Home | Main Index | Thread Index | Old Index