CARP, no IPsec, Dell 1950 or NIC-less: boot crash
Our custom OpenBSD kernel crashes (uvm_fault) at boot on a Dell 1950.
We've tracked down the problem:
carpattach()
...
if_creategroup("carp")
...
TAILQ_INSERT_TAIL(&ifg_head)
silently assumes that at least 1 'if_attach_common()' call has
happened by that point.
Dell 1950 has 'bnx' NICs, which delay attach until very late in kernel
boot (because of firmware load).
The 'enc' interface hides this bug in the stock kernel on Dell 1950,
and on computers without a NIC.
Easily reproduced with a stock kernel: 'boot -c', 'disable enc'
If a patch is appreciated by the maintainer, please don't hesitate to
mail me,
+++chefren