One obvious way to catch the problem occurs to me: compile a new kernel with an assert in the spkr driver. Do a ps on the resulting crashdump to find the culprit. The string "spkr" does not appear in either the netbsd or linux versions of setiathome (at least the copies I've looked at), but that doesn't necessarily mean it's innocent.