From nobody Mon Apr 21 17:01:39 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 4ZhBVN40hMz5sl0c for ; Mon, 21 Apr 2025 17:01:48 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZhBVN0ybTz44NX for ; Mon, 21 Apr 2025 17:01:48 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 53LH1eco081379; Mon, 21 Apr 2025 10:01:46 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ultimatedns.net; s=mx99; t=1745254906; x=1745255506; r=y; bh=Zu2hhFXklCscKnV8QY+1ap98Jg7TwFCJpBxTEEXRGcY=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=RJWNhtsM/Ve2VAwsSXzS4Q5wIHdYbdQLfZs8wJ+lswm4dBwHH3vjALpTYvrsE3rtY nxqPZSyChZdKPMe2QGNwhkbQjV0AyzFtFMEK/oz0gnFmbFE2eVUHQZ9nIzi54jOteT n/dntzUSWQR1l//3LMDhX6INGZZf+aWzTzhdzb2dNrU+IlhiOlbJy7Fs7mJ/EIjuxy +tPTU2H2HZ4CS086WlaP22SoIJ81m2y9Bls93b7YYNkiPjE5eJBwgO6biqZ9ngjn72 s5eqXKR9KcksmP6ZK5CEXmQ/tF64TeEPJ9Xui9+kH+a6vu580fqyAlmhzFfkLlZSbx SIvxwcGzy7KqA== 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 Date: Mon, 21 Apr 2025 10:01:39 -0700 From: Chris To: Warner Losh Cc: garyj@gmx.de, freebsd-current Subject: Re: New kernel doesn?t recognize ufs gpt root filesystem In-Reply-To: References: <811fddf82af288d409fc5df1c5b5d958@bsdforge.com> <809aba26a8884f36ae32a6f253345b3b@bsdforge.com> <86bjsr5jv8.fsf@ltc.des.dev> <93cecfcebd42c222ec8f283b891b19dc@bsdforge.com> <20250421092301.724f623f@ernst.home> <7fdc20653ac8aa60dca6859ca81abbcd@bsdforge.com> User-Agent: UDNSMS/17.0 Message-ID: X-Sender: bsd-lists@bsdforge.com Content-Type: multipart/mixed; boundary="=_c96e4a46777d9176da5af572f3d18110" 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:11404, ipnet:24.113.0.0/16, country:US] X-Rspamd-Queue-Id: 4ZhBVN0ybTz44NX X-Spamd-Bar: ---- --=_c96e4a46777d9176da5af572f3d18110 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed On 2025-04-21 09:29, Warner Losh wrote: > On Mon, Apr 21, 2025 at 10:03 AM Chris wrote: >> >> On 2025-04-21 00:23, Gary Jennejohn wrote: >> > On Sun, 20 Apr 2025 12:19:45 -0700 >> > Chris wrote: >> > >> >> On 2025-04-20 01:15, Dag-Erling Smørgrav wrote: >> >> > Chris writes: >> >> >> Warner Losh writes: >> >> >> > Maybe this is a custom kernel without the label code. >> >> >> It's an upgrade. It's 15 from ~11 mos ago. Yes a custom kernel. But >> >> >> I'm using the same kernconf as before. Was label removed from generic >> >> >> in the last 11 mos.? >> >> Thanks for your reply! >> >> > >> >> > Please share: >> >> > >> >> > - The output of the `what` command on your old (working) kernel >> >> FreeBSD 15.0-CURRENT #1 main-n270118-94b09d388b81-dirty: Mon May 13 >> >> 12:57:41 >> >> PDT 2024 >> >> >> >> > - The output of the `what` command on your new (failing) kernel >> >> FreeBSD 15.0-CURRENT #0 main-n276516-65d8491719bb: Sat Apr 19 17:41:06 PDT >> >> 2025 >> >> >> >> > - The kernel configuration file you used to build the new kernel >> >> https://bitpit.us/kern/LENOIP15ND-NEW >> >> >> >> here's the old kernconf: >> >> https://bitpit.us/kern/LENOIP15ND-OLD >> >> >> >> and here's a convenient diff of them: >> >> https://bitpit.us/kern/LENODIFF >> >> >> > >> > Removing ctl might be a problem since it supports: >> > /sys/conf/files:cam/ctl/ctl_nvme_all.c >> > /sys/conf/files:cam/ctl/ctl_nvme_cmd_table.c >> > and you have nvme in your kernel config files. >> > >> > But I'm not sure about that since I don't have nvme in my config file. >> > >> >> > - The contents of `/var/run/dmesg.boot` after booting the old kernel >> >> https://bitpit.us/kern/dmesg.boot >> >> >> > >> > A diff of the new and old /var/run/dmesg.boot files might be useful. >> Indeed. But I'm not sure how I might obtain one. Since the new kernel >> can't find a drive to write to. :) >> I guess I could take a movie. But that'd be hell to transcribe. Any way >> to redirect the console to a remote host without having much of a system >> yet available? > > You might try the new kernel with > set hw.nvme.use_nvd=1 I thought of that after reading your last reply. > at the boot loader prompt. Then you'll see you have a nvd device you could > mount > root on and then you could add 'device da' back to the kernel config > and rebuild. > ... if you can't rebuild with the old kernel. Can I safely move my new kernel to say, kernel.new while running my current kernel as kernel and rebuild the new kernel with the kernconf corrections? Will that achieve the desired installkernel results? Thanks for all your time and consideration, Warner and sorry for subjecting you to all this rookie nonsense. I already know better. :/ ---Chris > > Warner > >> Thanks for the hint, Gary. >> >> --Chris >> > >> > [SNIP] >> >> -- >> sent from hardware written from and running on FreeBSD -- sent from hardware written from and running on FreeBSD --=_c96e4a46777d9176da5af572f3d18110 Content-Transfer-Encoding: 7bit Content-Type: application/pgp-keys; name=0xE512722F.asc Content-Disposition: attachment; filename=0xE512722F.asc; size=3074 -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBGf/G0IBCADARuJc6IcwOe3jv7dQsP1X/EIHvCFExPbTmlMNFMXbMMccQUnV o8ayEn+wmTvPhw7uL3PDk7DQs16W1sN2b8UMFc804cVWNGtoG3rA+Np+TFEYlXJx eh5Q42VHptkuwzHKl+q2utkpRlS7uHyfjsInQAoHxLyi/wrsaZTHHhDbLLhJ5Ez0 arohQ2Q1w0M5e9rW8Fy5rpC7RpC6uO1SZMxcbdqURI/BBqxbiD1iW62cDWFkfFX+ dtaEXghFV7BIBMDSrgIunGoEfdMZgXys7O6bPWn8z0cuOZIPj4HrjoCYARyQ+sdc rjz/k06SLM/UvEZDorJhT4DbYrwMNvaPWJiPABEBAAG0HkNocmlzIDxic2QtbGlz dHNAYnNkZm9yZ2UuY29tPokBNQQQAQgAHwUCZ/8bQgYLCQcIAwIEFQgKAgMWAgEC GQECGwMCHgEACgkQVKBqaOUSci8bSwf/fK3QcTYXRMrv82HIp4SiGCSD7/bRmyWr ipv2vzknGFHxPBN4AEWIqF/U4j5oDXaodyU6xsy59Z47/lgbyzyZiVR6nmJVgZVf el/EgwnLt7ZuYGLLEhIN2pd9itJkB8PMPZrUHMWgIw8BxX5YFYGuyiNe9pGn0Coj 98t/v3fouhqksH+BpB4TBHJBBDSxSiMm66VTJX4Xcnpf0ZnQVP4GBuoyodnFBfdI wqftPLESsCC08lUhD2j7v2NRWwMi/q3ed8D6VCKPImBByYnBZL5gu56K5bwqaQfN itu06APuIYnG71qxgn1EPO63lovWP5NZGgOKvzs3K+JfPF79BiOUFbQjQ2hyaXMg PG1haWxvcEBocmNvbW11bmljYXRpb25zLm5ldD6JATEEEAEIABwFAmf/G0IGCwkH CAMCBBUICgIDFgIBAhsDAh4BAAoJEFSgamjlEnIvBH8H9RGwzZuU6+zvH1WjQa97 yWpEt9rC+BIBJ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