From nobody Tue Jul 02 22:11:45 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 4WDHFR5w63z5Pm0K for ; Tue, 02 Jul 2024 22:11:55 +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 4WDHFQ5Xzlz44H0 for ; Tue, 2 Jul 2024 22:11:54 +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 00FBF111E28 for ; Wed, 03 Jul 2024 10:11:36 +1200 (NZST) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id BB28890F63 for ; Wed, 03 Jul 2024 10:11:45 +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 8AB1B91099 for ; Wed, 03 Jul 2024 10:11:45 +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: Tue, 02 Jul 2024 22:11:45 +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: <2458ffc88ffac503076c06cccafa0dc0@chen.org.nz> Subject: x11/nvidia-driver fails on 14-STABLE/amd64 To: freebsd-stable@freebsd.org X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+a:egress.chen.org.nz]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:170.75.160.0/20, country:US]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[chen.org.nz]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4WDHFQ5Xzlz44H0 Hi, I updated my STABLE-14/amd64 to 1a0314d6e30554fc2b07caa5121b00956f416cc4 = (ctladm: Fix a race....), and it appears that the latest kernel update br= eaks x11/nvidia-driver. The system panics when X starts up. Just to be su= re I have rebuild and resinstalled x11/nvidia-driver with the updated /us= r/src present. /var/log/messages has the following errors: Jul 3 09:50:29 stormbringer kernel: ACPI Warning: \_SB.PC00.PEG1.PEGP._D= SM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (= 20221020/nsarguments-212) Jul 3 09:50:29 stormbringer kernel: Firmware Error (ACPI): Failure creat= ing named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (2022= 1020/dsfield-352) Jul 3 09:50:29 stormbringer kernel: ACPI Error: AE_ALREADY_EXISTS, Creat= eBufferField failure (20221020/dswload2-639) Jul 3 09:50:29 stormbringer kernel: ACPI Error: Aborting method \_SB.PC0= 0.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20221020/pspa= rse-689) Jul 3 09:51:52 stormbringer syslogd: kernel boot file is /boot/kernel/ke= rnel Jul 3 09:51:52 stormbringer kernel: NVRM: GPU at PCI:0000:01:00: GPU-db6= a2e9b-ba08-3668-c104-d55596af9efb Jul 3 09:51:52 stormbringer kernel: NVRM: Xid (PCI:0000:01:00): 79, pid= =3D'', name=3D, GPU has fallen off the bus. Jul 3 09:51:52 stormbringer kernel: NVRM: GPU 0000:01:00.0: GPU has fall= en off the bus. Jul 3 09:51:52 stormbringer kernel:=20 Jul=20 3 09:51:52 stormbringer syslogd: last message repeated 1 times Jul 3 09:51:52 stormbringer kernel: Fatal trap 12: page fault while in k= ernel mode Jul 3 09:51:52 stormbringer kernel: cpuid =3D 14; apic id =3D 38 Jul 3 09:51:52 stormbringer kernel: fault virtual address =3D 0x0 Jul 3 09:51:52 stormbringer kernel: fault code =3D supervisor read d= ata, page not present Jul 3 09:51:52 stormbringer kernel: instruction pointer =3D 0x20:0xff= ffffff85bae56c Jul 3 09:51:52 stormbringer kernel: stack pointer =3D 0x28:0xff= fffe01a894e5e0 Jul 3 09:51:52 stormbringer kernel: frame pointer =3D 0x28:0xff= fffe01adc85ce0 Jul 3 09:51:52 stormbringer kernel: code segment =3D base 0x0, lim= it 0xfffff, type 0x1b Jul 3 09:51:52 stormbringer kernel: =3D DPL 0, pres 1, long 1= , def32 0, gran 1 Jul 3 09:51:52 stormbringer kernel: processor eflags =3D interrupt ena= bled, resume, IOPL =3D 0 Jul 3 09:51:52 stormbringer kernel: current process =3D 1954 (Xor= g) Jul 3 09:51:52 stormbringer kernel: rdi: fffffe01a951f000 rsi: fffffe01a= e26f000 rdx: 0000000000000001 Jul 3 09:51:52 stormbringer kernel: rcx: 0000000000000000 r8: 000000000= 00000c0 r9: fffffe01adc858f0 Jul 3 09:51:52 stormbringer kernel: rax: 0000000000000000 rbx: fffffe01a= e26f000 rbp: fffffe01adc85ce0 Jul 3 09:51:52 stormbringer kernel: r10: 000000005237a738 r11: 000000006= 6847626 r12: 0000000000000000 Jul 3 09:51:52 stormbringer kernel: r13: fffffe01a951f000 r14: 000000000= 0000001 r15: fffffe01ade09008 Jul 3 09:51:52 stormbringer kernel: trap number =3D 12 Jul 3 09:51:52 stormbringer kernel: panic: page fault Jul 3 09:51:52 stormbringer kernel: cpuid =3D 14 Jul 3 09:51:52 stormbringer kernel: time =3D 1719957030 Jul 3 09:51:52 stormbringer kernel: KDB: stack backtrace: Jul 3 09:51:52 stormbringer kernel: #0 0xffffffff80b8002d at kdb_backtra= ce+0x5d Jul 3 09:51:52 stormbringer kernel: #1 0xffffffff80b32c51 at vpanic+0x13= 1 Jul 3 09:51:52 stormbringer kernel: #2 0xffffffff80b32b13 at panic+0x43 Jul 3 09:51:52 stormbringer kernel: #3 0xffffffff8100194b at trap_fatal+= 0x40b Jul 3 09:51:52 stormbringer kernel: #4 0xffffffff81001996 at trap_pfault= +0x46 Jul 3 09:51:52 stormbringer kernel: #5 0xffffffff80fd8458 at calltrap+0x= 8 When I reverted to my previous kernel, X started up without any issues. Cheers -- Jonathan Chen