Summary: During audio(4) module being unloaded, devsw_detach() sleeps in localcount_fini() with kernconfig_lock() being held. This results in deadlock when the next module is loaded.
Oops, not localcount_fini() but localcount_drain() here. Thanks, rin