From owner-freebsd-ports@freebsd.org Fri Feb 5 12:44:00 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A56E354782C for ; Fri, 5 Feb 2021 12:44:00 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DXFTq5qQyz3FNQ; Fri, 5 Feb 2021 12:43:59 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 115ChwAX080360; Fri, 5 Feb 2021 12:43:58 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 115ChwJ7080359; Fri, 5 Feb 2021 04:43:58 -0800 (PST) (envelope-from david) Date: Fri, 5 Feb 2021 04:43:58 -0800 From: David Wolfskill To: freebsd-ports@freebsd.org Subject: Can't load nvidia.ko on stable/12 after r564088 (440.100_1 -> 460.36) Message-ID: Reply-To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+tUbgBhcLM6qoZSS" Content-Disposition: inline X-Rspamd-Queue-Id: 4DXFTq5qQyz3FNQ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-0.36 / 15.00]; HAS_REPLYTO(0.00)[freebsd-ports@freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.958]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 12:44:00 -0000 --+tUbgBhcLM6qoZSS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is on both my current laptop (Dell Precision M4800) and a new(er) one (Dell Precision 7520); the current laptop's graphics card shows up as: vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x05cc1028 chip=3D0x11fc10d= e rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'GK106GLM [Quadro K2100M]' class =3D display subclass =3D VGA and the new(eR) one as: vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x17b01028 chip=3D0x13b610d= e rev=3D0xa2=20 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' device =3D 'GM107GLM [Quadro M1200 Mobile]' class =3D display subclass =3D VGA while running stable/12 at n232662-e8eded55f23: g1-55(12.2-S)[5] uname -aUK FreeBSD g1-55.catwhisker.org 12.2-STABLE FreeBSD 12.2-STABLE #949 stable/12= -n232662-e8eded55f23: Fri Feb 5 03:33:27 PST 2021 root@g1-55.catwhiske= r.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1202505 1202505 dmesg reports: link_elf_obj: symbol nvidia_driver_name undefined linker_load_file: /boot/modules/nvidia.ko - unsupported file type KLD nvidia-modeset.ko: depends on nvidia - not available or version mismatch linker_load_file: /boot/modules/nvidia-modeset.ko - unsupported file type for each. So I suspect that "link_elf_obj: symbol nvidia_driver_name undefined" whine is likely salient. As a circumvention: cd /usr/ports/x11/nvidia-driver && \ sudo svn merge -c -r564088 . && \ sudo portmaster x11/nvidia-driver worked for me (well, for the current laptop; I left the newer laptop broken, as I only ssh into it, as its built-in mouse doesn't seem to work with FreeBSD, nor does its wireless card (yet)). Peace, david --=20 David H. Wolfskill david@catwhisker.org Donald Trump held the office of President of the US as he incited his Putsc= h. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --+tUbgBhcLM6qoZSS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmAdPY1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pckqvgf+M6CuS6s+5WZYbyUEuBgD+BY7keZg4p9rWWd5ZjwKqd2jk78SLKgSWNTA rnWRSozmDaSqmQefR/kqXMPYDiZrhEkPwIwBmQM1OKkJeXcXrb7ovvTXn+1z82sz +JgOD1xMsZVF/BZCI//8ruEVDzIDpAJDIh7RBasCyg0/RHHqaJRdbdU/TfdZMlbd G1sRzDUPcL3aElClaQ25owMZ+mByFPg3oML4EVjvA/a98iDfV2r3hhj8FC8X5dLq 3N7+pIdhKgWQK4SnV9HrjlRXOtIgY3rLr3FWP2T7HqPjl4wVmumN3uptybQEgFX3 2re3C9hH+zHxPzgIe9MuKyst7ptuNg== =5Mu9 -----END PGP SIGNATURE----- --+tUbgBhcLM6qoZSS--