From nobody Mon Apr 21 16:29:47 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 4Zh9nh2wqMz5sjLk for ; Mon, 21 Apr 2025 16:30:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zh9nh0Gnxz3hcD for ; Mon, 21 Apr 2025 16:30:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-ae727e87c26so2760417a12.0 for ; Mon, 21 Apr 2025 09:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1745252998; x=1745857798; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+cI+Gv2Lb0H/2JobKgZCCUiRlMmStasOgD4DPV28zR0=; b=RyQFDqXkbP25mw850VlolVbj2pf1X/4AZwp5yT2JT5GJWRl9QMdEqlKPWegnJk7xs+ dNWj1jWSmnkhkIqgXr950AM1D45gKZxlrrrQv0GtiF1wY1rlEQOWydIc8EG4y5dtYOWa 2FHpkhZBDwowGj6kgNEB98nBtPXXpFZ7plUB/cV8zE6rBUHVwoQg2VNtps1PYP7/ge7k FU5kvEQqzhsUdEtjrmLaqQZB+j05QFiLVd2MmRTLqESGJHAAzd3o5Lv4NH7zzNcQZKSX Wql5c0a6/RlouF2HKY0aJFTE9gh2ax0xyaW2MSy2h3lAsDbwYvxdkwAEXS6TMCyFvXoN yorQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745252998; x=1745857798; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+cI+Gv2Lb0H/2JobKgZCCUiRlMmStasOgD4DPV28zR0=; b=JHqgrSvPglymYey+LXF2Pn8o0SFEL73Ut17wmRMCJ1+oIPaCF1vyD7zafU3fhXVoPe CJ5eQjmVIfkrAl5Fo/kPElcjxy6Df6iAOxDjPMHwm9KOq66wzpw5QTPfxDwES8WoWbXK +U9hTIwkxWMkEY1vG+l2Ak3+hb7vKX4Sl0m3e9qNNXN26+OeBtI0I52R5zaM38tTG7ud ZNP2mHwY8/BH1fL4tHtmoKuPPpTEHilKj9gEh5UCVLhmRRgUXPitFqlgkC7t2U+cFHnI 4PKAxfZE+WUP5G6H6iIt0OP9r+gRuu3c1UfnrokoARhsuuzunU52jINswX+OJEgeWqJA ipww== X-Forwarded-Encrypted: i=1; AJvYcCVQNWr6uzn0ochGMFDJTSNu21Kx0GIEEeW12l3hBMLXXTVKXYvkzb9rzF732wX5zkFz7dnX32kBt3G2XfKCve0=@freebsd.org X-Gm-Message-State: AOJu0YyBzs19bnuHNAnYJbxclb78fizKRonVdtWBzXvT/hkAWZjxCsao y1nsoVSGh3FEjKyuTNDFJrvcsE6STItYKQ1OV7mFXjo8bFLU6aLBDZORh0wk7+FzXp2hNgntTLK Rdke/xUt3GZsSCBZHSfsHFZTHKYuecIheftr7eQ== X-Gm-Gg: ASbGncs/c7PlE4EUFFk8bNuIYPnIFpMmSVbHOOLgOYLRwE/GMsyYtJdwG9NwhsQR27l GB6nKBm9PqWNKFEej+xKlyYnBrywnooXlVWNfNi7dV/daeNwW3y6b+dEbv/4/B/eVkaKfvypk6v lKVhJKTbdQFYZxyL6+JMNdEA== X-Google-Smtp-Source: AGHT+IHrpCBROM7cMKdIKrSdrZPX5ZdH/q9OfFGlI/k+XOf4UIbBwoNhlgMpI8gPBSUuYzpQ62YkfQZ5MgoASVgiqm4= X-Received: by 2002:a17:90a:d64f:b0:2fe:d766:ad95 with SMTP id 98e67ed59e1d1-3087bb47646mr19533676a91.9.1745252998586; Mon, 21 Apr 2025 09:29:58 -0700 (PDT) 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 References: <811fddf82af288d409fc5df1c5b5d958@bsdforge.com> <809aba26a8884f36ae32a6f253345b3b@bsdforge.com> <86bjsr5jv8.fsf@ltc.des.dev> <93cecfcebd42c222ec8f283b891b19dc@bsdforge.com> <20250421092301.724f623f@ernst.home> <7fdc20653ac8aa60dca6859ca81abbcd@bsdforge.com> In-Reply-To: <7fdc20653ac8aa60dca6859ca81abbcd@bsdforge.com> From: Warner Losh Date: Mon, 21 Apr 2025 10:29:47 -0600 X-Gm-Features: ATxdqUHjHjS-pJKJExvVb5ub0cjxK2VUN3P3PS9at_4qarwrlymOQuulQSdusUg Message-ID: Subject: Re: New kernel doesn?t recognize ufs gpt root filesystem To: Chris Cc: garyj@gmx.de, freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Zh9nh0Gnxz3hcD X-Spamd-Bar: ---- On Mon, Apr 21, 2025 at 10:03=E2=80=AFAM Chris wro= te: > > 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=C3=B8rgrav 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 gener= ic > >> >> 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=3D1 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. Warner > Thanks for the hint, Gary. > > --Chris > > > > [SNIP] > > -- > sent from hardware written from and running on FreeBSD