From nobody Fri Jul 5 01:40:54 2024 X-Original-To: freebsd-stable@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 4WFbnm25Nmz5Pwcd for ; Fri, 05 Jul 2024 01:41:00 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from egress.chen.org.nz (egress.chen.org.nz [170.75.172.82]) by mx1.freebsd.org (Postfix) with ESMTP id 4WFbnl3CNgz40HZ for ; Fri, 5 Jul 2024 01:40:59 +0000 (UTC) (envelope-from jonc@chen.org.nz) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jonc@chen.org.nz designates 170.75.172.82 as permitted sender) smtp.mailfrom=jonc@chen.org.nz Received: from mail.chen.org.nz (unknown [210.54.37.164]) by egress.chen.org.nz (Postfix) with ESMTP id 0ACCA111E28; Fri, 05 Jul 2024 13:40:46 +1200 (NZST) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id 7CF7F913C6; Fri, 05 Jul 2024 13:40:55 +1200 (NZST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on ametrine.inside.chen.org.nz Received: from rainloop.jail (rainloop.jail [192.168.1.4]) by mail.chen.org.nz (Postfix) with ESMTP id 65DCA9140A; Fri, 05 Jul 2024 13:40:55 +1200 (NZST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Date: Fri, 05 Jul 2024 01:40:54 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.17.0 From: jonc@chen.org.nz Message-ID: <7c7cd0411f6c7102e5f054c6e36eaab9@chen.org.nz> Subject: Re: x11/nvidia-driver fails on 14-STABLE/amd64 To: "Tomoaki AOKI" , freebsd-stable@freebsd.org In-Reply-To: <5811fe64-43ab-4922-934c-e2f78c4ffc36@chen.org.nz> References: <5811fe64-43ab-4922-934c-e2f78c4ffc36@chen.org.nz> <2458ffc88ffac503076c06cccafa0dc0@chen.org.nz> <20240703082414.572553dabee65d0f6dd129a1@dec.sakura.ne.jp> <20240704091007.5dc5f7a41bf12f8f764a896d@dec.sakura.ne.jp> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.13 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.93)[-0.929]; R_SPF_ALLOW(-0.20)[+a:egress.chen.org.nz]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; FROM_NO_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:174, ipnet:170.75.160.0/20, country:US]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_NA(0.00)[chen.org.nz]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Queue-Id: 4WFbnl3CNgz40HZ July 4, 2024 7:49 PM, "Jonathan Chen" wrote: > On 4/07/24 12:10, Tomoaki AOKI wrote: > [...] >=20 >>=20If you start X from command line with startx and the cause was as ab= ove, >> you should see the panic on loading the module. >=20 >=20For simplicity, I'm just using startx. However, the panic is a bit mo= re subtle than a panic from a > simple kldload. I'm currently working thru' with git bisect to determin= e the commit causing the > issue. I tracked the problematic commit to: c5e0b035d9eb14e73fc17899cd007a31e0d1edc8 libutil: move ftime to libuti= l 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) n= vidia-driver. I'm pretty sure that I used "make buildworld buildkernel in= stallkernel installworld" to put everything in; but everything resolved a= fter forcing another kernel rebuild using the toolset after that particul= ar commit. ports-mgmt/synth also wasn't happy, but I managed to resolve that by rebu= ilding lang/gcc12, lang/gnat12 and then ports-mgmt/synth. Cheers. -- Jonathan Chen