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



Steve Woodford wrote:
On Sunday 04 May 2008 05:51:48 Donald T Hayford wrote:
moonchildren wrote:

But after a days work which I enjoyed  I got nothing but  a error
about L2  ?

This error is the result of the install kernel image being too large for the number of statically allocated (at boot time) L2 entries.

It was always my intention to make this runtime-configurable according to the kernel size, but I ran out of round tuits.

The fix is a simple source modification, but I don't have the details offhand. I'll try to recall what it is and get back to you.

See e.g. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/hpcarm/hpcarm/hpc_machdep.c.diff?r1=1.83&r2=1.84&f=h

For the NSLU2 all you should need to do is bump KERNEL_PT_KERNEL_NUM in sys/arch/evbarm/nslu2/nslu2_machdep.c (make it 6, for example). The nicer fix is to steal the auto-tuning code from (IIRC) the evbarm generic init_arm() code [common_init_arm?], so you don't have to keep doing this, but the 1st fix is definitely effective.

Wasn't the fact that it spat out that many 'S'es worrisome? It's a section supposed to map a whole 1MB chunk? Maybe that's a red herring though.

--rafal



Home | Main Index | Thread Index | Old Index