Re: New kernel doesn?t recognize ufs gpt root filesystem

From: Chris <bsd-lists_at_bsdforge.com>
Date: Mon, 21 Apr 2025 16:55:21 UTC
On 2025-04-21 06:42, Warner Losh wrote:
> Put 'da' back in. I'm pretty sure it's not optional. Well, maybe it is
> optional, but you'll need nda if you do that and the kernel config
> doesn't have that. While you have nvd, the default is to prefer nda to
> nvd, even when nda isn't in the kernel (so more like an either or
> choice than a bidding choice: CAM device nodes don't have a bidding
> process to them, and even if they did nvd vs nda crosses between CAM
> and non-CAM and there's just no good way to cope).
Sigh. This is clearly a case of lack of due diligence on my part
(blindly recycling my kernconf). I want to apologize to everyone for
inadvertently making you all do my work. :(
Indeed. Why the heck would I *not* want da and friends?! Without it
I can (at least) safely kiss any usb stick goodbye -- D'OH! :/

Thanks for the clue bat, Warner. :)
Sorry for all the bother.

--Chris
> 
> Warner
> 
> On Mon, Apr 21, 2025 at 1:23 AM Gary Jennejohn <garyj@gmx.de> wrote:
>> 
>> On Sun, 20 Apr 2025 12:19:45 -0700
>> Chris <bsd-lists@bsdforge.com> wrote:
>> 
>> > On 2025-04-20 01:15, Dag-Erling Smørgrav wrote:
>> > > Chris <bsd-lists@bsdforge.com> writes:
>> > >> Warner Losh <imp@bsdimp.com> 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.
>> 
>> [SNIP]
>> 
>> --
>> Gary Jennejohn
>> 

-- 
sent from hardware written from and running on FreeBSD