From nobody Wed Jun 04 01:45:31 2025 X-Original-To: freebsd-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 4bBr515sGPz5xDTM for ; Wed, 04 Jun 2025 01:45:41 +0000 (UTC) (envelope-from kargls@comcast.net) Received: from resdmta-a2p-641405.sys.comcast.net (resdmta-a2p-641405.sys.comcast.net [IPv6:2001:558:fd01:2bb4::e]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bBr504SXwz3RyY for ; Wed, 04 Jun 2025 01:45:40 +0000 (UTC) (envelope-from kargls@comcast.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=comcast.net header.s=20190202a header.b=qa8QKzBl; spf=pass (mx1.freebsd.org: domain of kargls@comcast.net designates 2001:558:fd01:2bb4::e as permitted sender) smtp.mailfrom=kargls@comcast.net; dmarc=pass (policy=reject) header.from=comcast.net Received: from resomta-a2p-646965.sys.comcast.net ([96.103.145.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resdmta-a2p-641405.sys.comcast.net with ESMTPS id McoRuANvZ7m5GMdC8ulq4O; Wed, 04 Jun 2025 01:45:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1749001532; bh=byyN4CmVeVzI/90Zg1IrNEVobWkDfsHBvYGwsfOuBqk=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=qa8QKzBlxrm1fm4f73jmeZGCLE2NQlKn2d2wtxFytoRbZnZ/Rhbr9yJrk19/J5b5O wDIgclPKl1GAfF4o6NB7KdhPyRKpn71BGvOyfQJt0KBBpyx5ZQVQ/+KL8NZCLSZI54 d4Ia66XCU7Uh2HV3f3TeowtW0Fo65/Rpi2fzSd4GyGdTHPmCuZM1MCLlFGfdlhEmPV FcBt1Aja8GAneF04OGSFWrPow3zhmo8YvONiF/5q4ZEv47K9EOfg1mP0Rwgl/aB31J SZFQgs8e60ScmH1ZdDDjQtJdORAhfHoy0QlLOdgCC3BMLBtx/5lk64CGXveD5+tznD zLVVPBddc3brg== Received: from [10.0.0.30] ([73.83.213.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-a2p-646965.sys.comcast.net with ESMTPSA id MdC7uvbzeQnR9MdC8uNJ5R; Wed, 04 Jun 2025 01:45:32 +0000 Message-ID: Date: Tue, 3 Jun 2025 18:45:31 -0700 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 User-Agent: Mozilla Thunderbird Subject: Re: drm panic after new world To: freebsd-current@freebsd.org References: <4699f48c-f042-46fe-8f9a-419e86d51f58@comcast.net> Content-Language: en-US From: Steve Kargl In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfFyyCHgCLqzRuF7OkX2ZYlnxZ76pkhjfusa62s5WopyZ/jztCi5+1HPe6LNdAxV6ecuZD9WsEq0GMK6bdA6hxkOeSC796RqO2fOZx6ydj1n9RZLnhqJT WTg8l0XxHTkRRnFv+TQ/mh/AsPcPZ+AMtwz+YA3m9o2Fauv6io7I0vvB9Eq1bTRfOvEQr4CDiT2Wlg== X-Spamd-Result: default: False [1.93 / 15.00]; HFILTER_HELO_5(3.00)[resdmta-a2p-641405.sys.comcast.net]; NEURAL_SPAM_LONG(1.00)[0.999]; NEURAL_HAM_SHORT(-0.82)[-0.818]; DMARC_POLICY_ALLOW(-0.50)[comcast.net,reject]; NEURAL_HAM_MEDIUM(-0.25)[-0.251]; R_SPF_ALLOW(-0.20)[+ip6:2001:558:fd01:2bb4::/64]; R_DKIM_ALLOW(-0.20)[comcast.net:s=20190202a]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_FROM(0.00)[comcast.net]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[comcast.net:dkim]; FREEMAIL_ENVFROM(0.00)[comcast.net]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[comcast.net:+] X-Rspamd-Queue-Id: 4bBr504SXwz3RyY X-Spamd-Bar: + On 6/3/25 16:36, Steve Kargl wrote: > On Tue, Jun 03, 2025 at 08:00:00AM -0700, Steve Kargl wrote: >> On 6/3/25 02:56, Matthew Seaman wrote: >>> On 02/06/2025 23:35, Steve Kargl wrote: >>>> How does one use dates to checkout a particular head? >>>> If I'm at the top of HEAD and need to got back to >>>> mid-february, what's the easiest option for performing >>>> a bisection by hand? >>> >>> Something like: >>> >>>   git checkout 'main@{2025-02-14 12:00:00}' >>> >>> Or you can say things like: >>> >>>   git checkout 'main@{4 months ago}' >>> >>> See git-rev-parse(1) >>> >>> >> Matthew, Warner, Jamie, >> >> Thanks for the pointer for date-based checkouts. >> >> I've read up a bit on 'git bisect' and it was >> not clear to me how to use it. The examples I >> saw appeared to be an automated binary search >> on a single tree. I fear I may need to revert >> src/ and ports/ simultaneously. Using hash >> strings would see to be a path to madness. >> > > I've managed to rebuild and re-install world/kernel and gpu-firmware > and drm-515-kmod from git checkout 'main@{2025-03-15 12:00:00}'. > radeonkms.ko loaded as expected and startx brought up the > desktop I was expecting. Onward to next candidate. > Well, out of the frying pan and into the fire... Apparently, building world with old src/ on a system running a newer world and installing that old world over the new world is bad. To start install(1) is trying to use a non-existent syscall. Yes, I booted the kernel that matches the old world. Normally, not a problem. Simply rebuild install(1) with -static added to CFLAGS. Unfortunately, this leads to a bunch of linker errors about relocations and rebuilding a few libraries wtih -fPIC. -- steve