From nobody Wed Jun 04 15:41:48 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 4bCBdy2TXfz5xCS7 for ; Wed, 04 Jun 2025 15:41:58 +0000 (UTC) (envelope-from kargls@comcast.net) Received: from resqmta-a2p-658785.sys.comcast.net (resqmta-a2p-658785.sys.comcast.net [IPv6:2001:558:fd01:2bb4::a]) (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 4bCBdx5Vqrz3MgD for ; Wed, 04 Jun 2025 15:41:57 +0000 (UTC) (envelope-from kargls@comcast.net) Authentication-Results: mx1.freebsd.org; none Received: from resomta-a2p-647973.sys.comcast.net ([96.103.145.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-a2p-658785.sys.comcast.net with ESMTPS id Mo3TuML7UreyBMqFRufMXF; Wed, 04 Jun 2025 15:41:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1749051709; bh=FMvMVcVfH0JBuoR+kYO96seJrskZT03Jld/VG1TssPo=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=oS6IyJ1oDzxB78hFmvecfYCD+vLwZJgy+guuuS8mHSx1Oabppuc32+oerTkeSvzIz LKOh5gHkZamTitxytM0UzGA+b1WpUMINgQsIpBO609e7kmNoUS7DewpDXqNIaEhx2l /f5VTGy6gx1RQRXKReqgR1/oDEs51gSDOj9iS5EHX2JKeflXAVBJBqpGB/uZQ38Cyb 90JYjOdiTaDICuNo8F+Brldgq+2k3g6PqUlP5MeiyF2lEq5eyCSZ89XEl1E3HLF49F xA0KN0ha9Epme/aQqxNGKOvcuAr3PY2EOV7fPfWF5l47Wy0ich29s7SggM+jKhu/3x 7WjCSasvmlfMA== 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-647973.sys.comcast.net with ESMTPSA id MqFQu8IyVE0dsMqFRu9lOR; Wed, 04 Jun 2025 15:41:49 +0000 Message-ID: Date: Wed, 4 Jun 2025 08:41:48 -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: Mark Millard , FreeBSD Current References: <2A4A4643-577D-4F90-9266-BDCAA17A580C.ref@yahoo.com> <2A4A4643-577D-4F90-9266-BDCAA17A580C@yahoo.com> Content-Language: en-US From: Steve Kargl In-Reply-To: <2A4A4643-577D-4F90-9266-BDCAA17A580C@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfA98tASQYh/YWNgf/mcEa1QHEujpQnWefp3TRlqii5Ut1deNFynhoF3l7zO+ztJCBmt8/j0S4j7TK3Y1NyfdBhOBob1VaC8VHs9v7WAnVE7UyL9TzRev 5UtHVV82xXQCxNH8aUg/uJwcleTtOlNPFnIjn+sUc/tuYI4lB3/d9xJUzkah3BF3Ie6EsqtPqCvtebihwEo98vTRQf7FCjPZarQpRyqNkxP6hKRblejGp7rQ X-Rspamd-Queue-Id: 4bCBdx5Vqrz3MgD 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:7922, ipnet:2001:558::/29, country:US] On 6/4/25 00:44, Mark Millard wrote: > Steve Kargl wrote on > Date: Wed, 04 Jun 2025 01:45:31 UTC : >> >> 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. > > Did you ever have the newer world booted with the > older kernel? I cannot tell from the wording. > That always risks the older kernel not having > some of what any active parts of the newer world > needs. No. During the boot process, init() dies with a message that it could not find /bin/sh. I could not boot to single-user mode. > It is newer kernels that allow older worlds > fairly generally: continuing to support what > older worlds needed, going back to some point. > > So, I'd expect getting both to be older would > go more like (but I'm ignoring ports/packages > for the most part): > > ) Starting having booted newer kernel with newer > world (without drm enabled?). Check. This was done numerous time in chasing the drm bug. > ) (Build and) Install the older world. Make sure > no newer drm would be tried on reboot via the > older kernel. This is probably where I messed up as I don't recall this step. I built and installed both old world/kernel on a new world. > ) Reboot so the startup world processes are also > older. This may also be with booting the older > kernel or the newer kernel. > > ) If it is an older kernel, build and install > a matching drm for the kernel vintage and test > it, for example. Check. I have an old world/kernel with a functioning drm-515-kmod. Thanks for warning of the pkg'd files. The plan was to use /rescue except it seems that install(1) is not one of the /rescue tools. So, now, I'll download a snapshot circa 2025-03-15 (if I can find one), and grab the needed files from it. -- steve