__rw_wlock_hard panic on 1st malloc

Damjan Marion damjan.marion at gmail.com
Sun Apr 14 11:03:41 UTC 2013


Hi,

I'm playing a bit with i.MX6 based board (wandboard) and I have serial console working but
now it panics in init_dynamic_kenv() with the following error:

panic: __rw_wlock_hard: recursing but non-recursive rw pmap pv global @ /usr/src/sys/arm/arm/pmap-v6.c:1187

It looks like this is the 1st place where malloc() is called, an malloc returns valid VA
but 1st attempt to access that address produces panic above.

Any idea what can be the reason for this or any other hint?

Thanks,

Damjan


More information about the freebsd-arm mailing list