__rw_wlock_hard panic on 1st malloc
Warner Losh
imp at bsdimp.com
Sun Apr 14 17:19:45 UTC 2013
Maybe you are calling malloc before these locks are initialized?
Warner
On Apr 14, 2013, at 5:03 AM, Damjan Marion wrote:
>
> 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
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list