Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2021 04:43:58 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   Can't load nvidia.ko on stable/12 after r564088 (440.100_1 -> 460.36)
Message-ID:  <YB09jtFUkqbYO3vH@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--+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--



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