Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2023 14:23:36 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        current@freebsd.org
Subject:   Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel
Message-ID:  <20230901162336.542a1b91@ernst.home>
In-Reply-To: <20230901130314.460f91bf@ernst.home>
References:  <20230901130314.460f91bf@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Sep 2023 11:03:14 +0000
Gary Jennejohn <garyj@gmx.de> wrote:

> I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 3700X=
.
>
> These are respectively Zen 1 and Zen 2 CPUs.
>
> I built a kernel on both computers using the FreeBSD-15 source tree.
>
> If I include the amdtemp device in my kernel file BOTH computers end up
> with a kernel panic while trying to attach the amdtemp device.
>
> If I remove amdtemp both computers boot without any issues.
>
> I suspect that this commit is the cause:
>
> commit 323a94afb6236bcec3a07721566aec6f2ea2b209
> Author: Akio Morita <akio.morita@kek.jp>
> Date:   Tue Aug 1 22:32:12 2023 +0200
>
>     amdsmn(4), amdtemp(4): add support for Zen 4
>
>     Zen 4 support, tested on Ryzen 9 7900
>
>     Reviewed by:    imp (previous version), mhorne
>     Approved by:    mhorne
>     Obtained from:  http://jyurai.ddo.jp/~amorita/diary/?date=3D20221102=
#p01
>     Differential Revision:  https://reviews.freebsd.org/D41049
>

Now that I look at the date of my FreeBSD-14 kernel I see that it's from
August 13, so this commit is perhaps not the cause of my FreeBSD-15
kernel panicking at boot time, since FBSD-14 boots OK.

Nonetheless, amdtemp or maybe amdsmn seems to be related.

=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230901162336.542a1b91>