From nobody Fri Sep 1 11:03:14 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcZrm4bWQz4sN88 for ; Fri, 1 Sep 2023 11:03:20 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcZrj48zxz4D7d for ; Fri, 1 Sep 2023 11:03:17 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=eKyLN4VH; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.15.18 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693566194; x=1694170994; i=garyj@gmx.de; bh=iG+/czx4QcHIc8kb+jP/s2XkFtnBgkVJ0bM/WaE6XTQ=; h=X-UI-Sender-Class:Date:From:To:Subject:Reply-To; b=eKyLN4VHfnaHw+tW0lQus9c2aHEBXQgnkj71E7Asvnvpm+kOt7yzMuKvQ1VcFGMqGwF03DB QYeJfgpBj9161kprZD9GzBvu3R6shxwBRLyYNa1DZ+T/Va7oNIqaFjyFdoZFvGOcEWxoCRvxm zz02+Hmn5BUxfcY5DRxeclsit7ZBPDt7uuWi26wek9pYuFJal7/JNJiNTVurAyQJ8N6aRiy0h DLuqcOaa7ovWGQ7GQyo4EJFUOJQ2dZjgXcJ+D4sLQhwcYJUyZWovSavyaxlaLObPo5s4tfk45 OEy35vq4r+KJalhGK0aEG19aiE43GAu2Ojs2HeX1GClb7d6eOQPw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MatRZ-1q5BHt3GI7-00cPeA for ; Fri, 01 Sep 2023 13:03:14 +0200 Date: Fri, 1 Sep 2023 11:03:14 +0000 From: Gary Jennejohn To: current@freebsd.org Subject: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230901130314.460f91bf@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:qH54L9R46FP2ysrieeC2gjI0kfqF9bZa3jrfR6NS29v7m/XVoSa lXBpxAoo2FyWXccJGhKLcCrPMgywy+AzRJsCZpsottAlMjY6KoemYA1oPgsv4LerkFzYBZ4 Gy7qNrxaHZtP8ySwbHRZH5pdSMx2nEHtD7zlH3L8UhskHApA0mgIqh/Tr+V9cZbC8Ihnsra lGI2sT82AiUX2ZidG79Ng== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AHGgwYpr3pE=;eufavWJQNZso14z77Qy6PZ9FCWc eK4ut4VUj+WSfWp6+xF6X/LqkTKMIrkZmZeXSeTxoyVQk5ZL8Vi+xJ+5LpMxj8Z+WyajnKHjr tg7vCWbGUPUlHiUgANPZYf+lHxqMAAd3uY1VdlVvEZPEAcKMRQHhGPpc15O+RAw1/b6qgg0MX FbImuXLQDlm6nHiwlXD7J06TXZQLL+OepeSEvPBYCoNLL19EpR9GO6JXtFm6KZ2lPeCLMfJZs FokUlqwKdefM2XYzNM3DepUCb+VXEVNPywXVxx6ycQDQ0Fwfcb+CZVeG8PfFEB9aG/XILTIDP f3J+FFvREUVhGP8+g3YAx8hbFuLfnN39/e/NF64q1jmV+O3eKHld3OYcol0/RXVKCWy2KRzhv d4Veutff7jPukwbp6ulyQEFebPrNVmo3jJ+ByFuXfham/Azyv6OxwmpmTaK/Uy3AVYR0vBE63 NKigge47tda6e688Z8S/Fh7syVN1oD1OSrIMWXnUD2qhqNh5NLIhTtEKev3kU63/ehijs8JyE 47HHrq+rPT5NopBkIHE/xiFpPkc5y1ac3d6Atdfqf3BA0SF8VlKwocougPB40uTAtHcrolECB Mv6FV8HfqjaPanC9ulh1X4flffK8uZs4X2ClmRzqCgomDx7xW6IRgJ9cyXKk7Ll0Q/3O6Lyye lOM+byyhYDJHUALBPa/4vSbu7pF769hnSY5Got9NA3ANKw0KkQG5cqpeoScSEUe4HQxDnluEG fBhkKCiPotDPi2vNISW5IM+d1hNf5+0k9l9rnfBJxZqNYzRs8m4Fo1Kd35qc3L9RzOlnDw+Z9 d63f2HIXkE/2h9kfUugzzpzKenImwu51mYEKPiqHWlQPVYZZAaICaiIdXmvrOLaB/N/4p+H9v 7200EZBpEl9zIZ+Tg7kwBd3myUhR5CyJfKSOR47ZH93h/2mL23hc8dwDqIUBZTy0W8SCqsN1j lENh3w== X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.91 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.990]; NEURAL_HAM_LONG(-0.98)[-0.979]; NEURAL_HAM_MEDIUM(-0.94)[-0.942]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; FREEMAIL_REPLYTO(0.00)[gmx.de]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.de]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.18:from]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmx.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RcZrj48zxz4D7d 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 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#p= 01 Differential Revision: https://reviews.freebsd.org/D41049 =2D- Gary Jennejohn