Instability likely related to new pmap on Cubieboard A10

Svatopluk Kraus onwahe at gmail.com
Thu Aug 20 10:12:22 UTC 2015


On Thu, Aug 20, 2015 at 1:28 AM, Dmitry Marakasov <amdmi3 at amdmi3.ru> wrote:
> * Svatopluk Kraus (onwahe at gmail.com) wrote:
>
>> >> Great! I'm hunting this kind of panic for long time, but it never was
>> >> so stable. Can you send me "show pmap addr" output from kdb after
>> >> panic - pmap address is in panic message.
>> >
>> > https://people.freebsd.org/~amdmi3/pmap.log
>> >
>>
>> Can you apply debug patch I'm attaching, enable KTR in your config
>> with KTR_PMAP mask at least, and send me output of the following
>> commands after panic :
>>
>> show ktr
>> show pmap
>>
>> Output from ktr should be scrolled until a line like
>> "pmap_remove_page - pmap xxx" will be in there.
>
> https://people.freebsd.org/~amdmi3/pmap1.log
>
> show ktr output is quite big, I've only scrolled through a part of it.
>

Thank you.

I have not noticed until now that you are running Cortex A8. We have
an open issue on BBB which is A8 too. Can you try to disable promotion
- i.e. edit the following line in pmap-v6-new.c:

static int sp_enabled = 1;

and set the variable to zero.

If it helps, set it again to 1 and try attached patch, please.

If neither the first nor the seconf attemp will work, can you send me
output like before but from another panic. I would like to see
diference.

Thanks,
Svata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pm_pt1_wip3.patch
Type: application/octet-stream
Size: 8899 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150820/a2aa55d5/attachment.obj>


More information about the freebsd-arm mailing list