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>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000d2ea6106044bb554 Content-Type: text/plain; charset="UTF-8" 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 > > --000000000000d2ea6106044bb554 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Fri, Sep 1, 2023, 5:03 AM Gary Jennejohn <<a hre= f=3D"mailto:garyj@gmx.de">garyj@gmx.de</a>> wrote:<br></div><blockquote = class=3D"gmail_quote" style=3D"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 A= MD 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></blockqu= ote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">Traceback?</d= iv><div dir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div><div dir= =3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquot= e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol= id;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=3D"mailto:akio.morita@kek.jp" target=3D"_bl= ank" rel=3D"noreferrer">akio.morita@kek.jp</a>><br> Date:=C2=A0 =C2=A0Tue Aug 1 22:32:12 2023 +0200<br> <br> =C2=A0 =C2=A0 amdsmn(4), amdtemp(4): add support for Zen 4<br> <br> =C2=A0 =C2=A0 Zen 4 support, tested on Ryzen 9 7900<br> <br> =C2=A0 =C2=A0 Reviewed by:=C2=A0 =C2=A0 imp (previous version), mhorne<br> =C2=A0 =C2=A0 Approved by:=C2=A0 =C2=A0 mhorne<br> =C2=A0 =C2=A0 Obtained from:=C2=A0 <a href=3D"http://jyurai.ddo.jp/~amorita= /diary/?date=3D20221102#p01" rel=3D"noreferrer noreferrer" target=3D"_blank= ">http://jyurai.ddo.jp/~amorita/diary/?date=3D20221102#p01</a><br> =C2=A0 =C2=A0 Differential Revision:=C2=A0 <a href=3D"https://reviews.freeb= sd.org/D41049" rel=3D"noreferrer noreferrer" target=3D"_blank">https://revi= ews.freebsd.org/D41049</a><br> <br> --<br> Gary Jennejohn<br> <br> </blockquote></div></div></div> --000000000000d2ea6106044bb554--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfok8h6jCF1GendmuaCAy8zHDtD=5D6=115B11ScF3FasQ>