15-march.img hangs at boot on BB-Green
Gleb Smirnoff
glebius at FreeBSD.org
Mon Mar 19 23:09:02 UTC 2018
Ian,
On Mon, Mar 19, 2018 at 04:53:16PM -0600, Ian Lepore wrote:
I> Today I finally found some time to do some testing with this. It
I> appears to have broken with r328916 on Feb 6. From then through r328981
I> the kernel page faults early in boot. Starting with r328982 the fault
I don't think boot pages calculation may affect anything after early boot.
I> is fixed but we get this new problem with the "Unable to fill RX queue"
I> followed by a hang. The "unable to fill" is caused by an
I> m_getcl(M_NOWAIT) returning NULL. The hang is caused by a
I> malloc(M_WAITOK) in if_alloc() hanging forever.
I>
I> The only other useful info I have so far is that this only happens with
I> the GENERIC kernel. If you build a kernel using the BEAGLEBONE config
I> it boots normally.
I>
I> I don't really know what to do next to debug further. I can insert a
I> kdb_enter() right before the if_alloc() call that hangs, but I don't
I> know what to look for in the debugger.
Better send panic sequence on console once it already entered if_alloc
and started sleeping, and then obtain core.
--
Gleb Smirnoff
More information about the freebsd-arm
mailing list