From nobody Sun Sep 03 13:17:36 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 4Rdskq64WFz4rQHL for ; Sun, 3 Sep 2023 13:17:39 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rdskq4CNqz3X56 for ; Sun, 3 Sep 2023 13:17:39 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; none Date: Sun, 03 Sep 2023 15:17:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1693747057; bh=D8cHDwwFshzahb6Jwh2e1MGPv43OIhVus3vO8cHGrbY=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=otcmKuCgxMn5KUDDWatR/DThgoGxR1PHFG2UiKxhmGSlh6M6AmP8g+3SdcORBDa9Q PqYsPabv6T+H+P5HiTlUh69rpmllJlzpvDbt0cqqgghLsPMMHP9NK1Gw+QNcno7bKr KbG/7ybUpE3Ll61bhXYit85IgKlCnfYQfDpZyHw+blGnkpME2p3EB1WdfHFNw1H/5t rr7WH+qPh4PwhHEFiH+wahJYAtYQ4/TPkOgnMaEA/TJoThf+3bYKVkZ7qgc1Udp4qo lZm4pQ6Gv4kEre0qEZ/mdfAPpXRo0mTHld+2AJDcP+zBdic0hWOLwPK3mOPIFMv7dx Y6QqYKdrVXYtw== Message-ID: <87h6obtmz3.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: garyj@gmx.de Cc: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel In-Reply-To: <20230902180203.58f1a729@ernst.home> References: <20230901130314.460f91bf@ernst.home> <20230901162336.542a1b91@ernst.home> <20230901164321.3259afd9@ernst.home> <20230901180534.0f3f3f6b@ernst.home> <87v8cshf2z.wl-herbert@gojira.at> <20230902180203.58f1a729@ernst.home> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.0 Mule/6.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 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE] X-Rspamd-Queue-Id: 4Rdskq4CNqz3X56 On Sat, 02 Sep 2023 18:02:03 +0200, Gary Jennejohn wrote: > > On Sat, 02 Sep 2023 15:36:36 +0200 > "Herbert J. Skuhra" wrote: > > > On Fri, 01 Sep 2023 18:05:34 +0200, Gary Jennejohn wrote: > > > > > > On Fri, 1 Sep 2023 14:43:21 +0000 > > > Gary Jennejohn wrote: > > > > > > > A git-bisect is probably required. > > > > > > > > > > I did a bisect and the result was commit > > > 9a7add6d01f3c5f7eba811e794cf860d2bce131d. > > > > > > However, that can't be correct because this commit was made on > > > Mon Jul 17 19:29:20 2023 and my FBSD-14 kernel from August 13th > > > boots successfully :( > > > > Commit date is August 19th, 2023(!): > > > > commit 9a7add6d01f3c5f7eba811e794cf860d2bce131d > > Author: Colin Percival > > AuthorDate: Mon Jul 17 19:29:20 2023 -0700 > > Commit: Colin Percival > > CommitDate: Sat Aug 19 22:04:56 2023 -0700 > > > > > > Reverting this commit seems to resolve the issue for me: > > > > FreeBSD 15.0-CURRENT amd64 1500000 #0 main-n265137-2ad756a6bbb3 > > > > $ git status > > On branch main > > Your branch is up to date with 'freebsd/main'. > > > > You are currently reverting commit 9a7add6d01f3. > > (all conflicts fixed: run "git revert --continue") > > (use "git revert --skip" to skip this patch) > > (use "git revert --abort" to cancel the revert operation) > > > > Changes to be committed: > > (use "git restore --staged ..." to unstage) > > modified: sys/kern/init_main.c > > > > # dmesg |egrep "(amdsmn|amdtemp)" > > amdsmn0: on hostb0 > > amdtemp0: on hostb0 > > > > $ sysctl kern.conftxt |grep amdt > > device amdtemp > > > > Really? I did a git log and July 17 is what pops out for this commit. > > Ah, I see that git log doesn't show the commit date. > > So I guess that the git bisect really did find the commit which caused > all our problems. > > If reverting it fixes things then this requires some action from Colin > Percival. > > This would also explain why my FBSD-14 kernel from August 13 was > OK. Probably best to file a PR: https://bugs.freebsd.org/bugzilla/ -- Herbert