Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel

From: Gary Jennejohn <garyj_at_gmx.de>
Date: Sat, 02 Sep 2023 07:06:12 UTC
On Fri, 1 Sep 2023 16:00:03 -0600
Warner Losh <imp@bsdimp.com> wrote:

> I think that the problem is that admsmn has probed, but not attached (or
> failed to attach for some reason), so we find the device, but it's not
> initialized yet, so when we call amdsmn_read, it tries to lock a mutex
> that's not yet initialized.
>
> Not sure why this is happening, or why loading it as modules fixes it...
>
> But since I don't have the hardware, I can't help more. Sorry.
>

Might it be worth adding an entry to /usr/src/UPDATING for users with
older Zen versions like mine (Zen 1 and Zen 2), recommending kldload'ing
of amdsmn and amdtemp?

--
Gary Jennejohn