d85c0d7f6a
the real cause of yet. mark npf_init() as non-static. for a yet-unknown reason, when this function is inlined by the compiler (or a human!) into the single caller, some CPUs end up in a hung state that can't be interrupted eventually leading to system hang. eg: [ 8.9693040] root on hme0 [ 8.9862690] nfs_boot: trying DHCP/BOOTP xcall(cpu2,0xf0240ac8) from 0xf0241170: couldn't ping cpus: cpu1 is the symptom though sometimes nfs_boot is actually able to complete mountroot before it hangs. this may be a compiler bug but the symptom and the trigger are far removed and my so-far reading of the "broken" npf_init inlining has shown no issues, however, i haven't completed a full scan of this asm in the past month so i'm commiting this workaround for now. |
||
---|---|---|
.. | ||
files.npf | ||
if_npflog.c | ||
if_npflog.h | ||
lpm.c | ||
lpm.h | ||
Makefile | ||
npf_alg_icmp.c | ||
npf_alg.c | ||
npf_bpf.c | ||
npf_conf.c | ||
npf_conn.c | ||
npf_conn.h | ||
npf_conndb.c | ||
npf_ctl.c | ||
npf_ext_log.c | ||
npf_ext_normalize.c | ||
npf_ext_rndblock.c | ||
npf_handler.c | ||
npf_if.c | ||
npf_ifaddr.c | ||
npf_impl.h | ||
npf_inet.c | ||
npf_mbuf.c | ||
npf_nat.c | ||
npf_os.c | ||
npf_rproc.c | ||
npf_ruleset.c | ||
npf_sendpkt.c | ||
npf_state_tcp.c | ||
npf_state.c | ||
npf_tableset.c | ||
npf_worker.c | ||
npf.c | ||
npf.h | ||
npfkern.h | ||
README |
The NPF project upstream repository: https://github.com/rmind/npf/ Please submit the pull requests to the upstream when possible.