Date: Fri, 1 Sep 2023 06:57:47 -0600 From: Warner Losh <imp@bsdimp.com> To: garyj@gmx.de Cc: FreeBSD Current <current@freebsd.org> Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <CANCZdfok8h6jCF1GendmuaCAy8zHDtD=5D6=115B11ScF3FasQ@mail.gmail.com> In-Reply-To: <20230901130314.460f91bf@ernst.home> References: <20230901130314.460f91bf@ernst.home>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, Sep 1, 2023, 5:03 AM 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. > Traceback? Warner 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=20221102#p01 > Differential Revision: https://reviews.freebsd.org/D41049 > > -- > Gary Jennejohn > > [-- Attachment #2 --] <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 1, 2023, 5:03 AM Gary Jennejohn <<a href="mailto:garyj@gmx.de">garyj@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 3700X.<br> <br> These are respectively Zen 1 and Zen 2 CPUs.<br> <br> I built a kernel on both computers using the FreeBSD-15 source tree.<br> <br> If I include the amdtemp device in my kernel file BOTH computers end up<br> with a kernel panic while trying to attach the amdtemp device.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Traceback?</div><div dir="auto"><br></div><div dir="auto">Warner </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If I remove amdtemp both computers boot without any issues.<br> <br> I suspect that this commit is the cause:<br> <br> commit 323a94afb6236bcec3a07721566aec6f2ea2b209<br> Author: Akio Morita <<a href="mailto:akio.morita@kek.jp" target="_blank" rel="noreferrer">akio.morita@kek.jp</a>><br> Date: Tue Aug 1 22:32:12 2023 +0200<br> <br> amdsmn(4), amdtemp(4): add support for Zen 4<br> <br> Zen 4 support, tested on Ryzen 9 7900<br> <br> Reviewed by: imp (previous version), mhorne<br> Approved by: mhorne<br> Obtained from: <a href="http://jyurai.ddo.jp/~amorita/diary/?date=20221102#p01" rel="noreferrer noreferrer" target="_blank">http://jyurai.ddo.jp/~amorita/diary/?date=20221102#p01</a><br> Differential Revision: <a href="https://reviews.freebsd.org/D41049" rel="noreferrer noreferrer" target="_blank">https://reviews.freebsd.org/D41049</a><br> <br> --<br> Gary Jennejohn<br> <br> </blockquote></div></div></div>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfok8h6jCF1GendmuaCAy8zHDtD=5D6=115B11ScF3FasQ>
