Re: x11/nvidia-driver fails on 14-STABLE/amd64

From: <jonc_at_chen.org.nz>
Date: Fri, 05 Jul 2024 01:40:54 UTC
July 4, 2024 7:49 PM, "Jonathan Chen" <jonc@chen.org.nz> wrote:

> On 4/07/24 12:10, Tomoaki AOKI wrote:
> [...]
> 
>> If you start X from command line with startx and the cause was as above,
>> you should see the panic on loading the module.
> 
> For simplicity, I'm just using startx. However, the panic is a bit more subtle than a panic from a
> simple kldload. I'm currently working thru' with git bisect to determine the commit causing the
> issue.

I tracked the problematic commit to:
   c5e0b035d9eb14e73fc17899cd007a31e0d1edc8 libutil: move ftime to libutil

It appears that building a kernel with a world prior to that commit will result in a usable kernel+userland, but which crashes (a newly rebuilt) nvidia-driver. I'm pretty sure that I used "make buildworld buildkernel installkernel installworld" to put everything in; but everything resolved after forcing another kernel rebuild using the toolset after that particular commit.

ports-mgmt/synth also wasn't happy, but I managed to resolve that by rebuilding lang/gcc12, lang/gnat12 and then ports-mgmt/synth.

Cheers.
--
Jonathan Chen <jonc@chen.org.nz>