Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2025 10:01:39 -0700
From:      Chris <bsd-lists@bsdforge.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        garyj@gmx.de, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: New kernel doesn?t recognize ufs gpt root filesystem
Message-ID:  <fe136f6897af301747055a5848cfc39c@bsdforge.com>
In-Reply-To: <CANCZdfr%2Bgw2t8N3usO72RcFiV_iBT9cOV1ddJWujyFL7_Uuvxg@mail.gmail.com>
References:  <811fddf82af288d409fc5df1c5b5d958@bsdforge.com> <CANCZdfr8P=qB-1OnKTjX7nedGQcbinFXgoyUUd_SP0-=ndGJiA@mail.gmail.com> <809aba26a8884f36ae32a6f253345b3b@bsdforge.com> <86bjsr5jv8.fsf@ltc.des.dev> <93cecfcebd42c222ec8f283b891b19dc@bsdforge.com> <20250421092301.724f623f@ernst.home> <7fdc20653ac8aa60dca6859ca81abbcd@bsdforge.com> <CANCZdfr%2Bgw2t8N3usO72RcFiV_iBT9cOV1ddJWujyFL7_Uuvxg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2025-04-21 09:29, Warner Losh wrote:
> On Mon, Apr 21, 2025 at 10:03 AM Chris <bsd-lists@bsdforge.com> wrote:
>> 
>> On 2025-04-21 00:23, Gary Jennejohn 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.
>> 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
[-- Attachment #2 --]
-----BEG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PlTyTCGgrNNtaDpNVhoWUKMB
YNcKql+tfC1IpX8l+IU6OBKcDKMkQojvO1QrZqY8MDJGo8jq/CtotQ8+IpAai3Bx
dQEsxrxlcKTR4rUqvd8VGbkBDQRn/xtCAQgAv5Nv/aQN72xsLik+K73PJwpUmyhu
vnI6stM6dSecylXVHjZ7C4n/m0eQEeQCl+9lByHR9N8H+WS3DtAd4pmciiIxRQLA
JZiuaLYcy9ziy1h7130VoR7hhJHzo9FIhWkTGlCDX3egUZrYhMiwFUO8lNltLB8o
TBvIrMSsnUzawtQjq/otv0Jf+oBPbG+gIYnAm7w6r86n/l+eVxf5eEoS7wV0DJfp
b2jE5zWErWk8I/tq4e8T+1VQeVQR6wz+NrUCSxkPkpNAm19AFUHOk//yvMGWVlDW
F6gr3ErN2a0w/kZ0lz3Msxsb87QT+MnJf/T3cuEqdTIoSk74BfNEAdMohQARAQAB
iQEfBBgBCAAJBQJn/xtCAhsMAAoJEFSgamjlEnIvyvIH/26zytSVNDaxtprg7XtX
LerIWf9RyVx8omCw/lXKRCcgkfwD7QR+nSZ0thWOGMpcnivjuReeVRkz/webUF47
BXJ/Tge07nrxdtyTIHBbp35fPIriaKaII6YWc2Ufdxwv+cD8PADS6gQWAlgrWLmn
VmYtyHs4kwtiPZyUyuBdWnZal2GyYY0WVwYjvbk95eInwOaIdoTjesJ7ZhUFu155
r4hh9GlvM0uv8WJ5Mw9wvHa5fIM205I5g0IWC7yvTwwwKHlV4JQQOqMwfv569OEl
1GKqA12nSVziB1+UV+I0NqOABWi/MOi+IySPzYP+XgdPfRNx4vmoHYZwWOQ3t4Jd
TEM=
=oj6y
-----END PGP PUBLIC KEY BLOCK-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fe136f6897af301747055a5848cfc39c>