Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 26/11/2024, à 21:54

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Donne la liste des anomalies de démarrage :

journalctl --no-pager -b -p err

et :

ls -l /var/crash

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#27 Le 26/11/2024, à 21:55

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

journalctl --no-pager -b -p err
nov. 26 21:44:24 rol-desktop systemd[705]: /usr/lib/systemd/system-generators/friendly-recovery failed with exit status 1.
nov. 26 21:44:25 rol-desktop avahi-daemon[795]: chroot.c: open() failed: No such file or directory
nov. 26 21:44:54 rol-desktop gnome-session-binary[1098]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
nov. 26 21:44:54 rol-desktop gnome-session-binary[1098]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
nov. 26 21:45:19 rol-desktop gdm-password][1417]: gkr-pam: unable to locate daemon control file
nov. 26 21:45:21 rol-desktop pulseaudio[1434]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
nov. 26 21:45:24 rol-desktop systemd[1425]: Failed to start Application launched by gnome-session-binary.
nov. 26 21:45:24 rol-desktop systemd[1425]: Failed to start Application launched by gnome-session-binary.
nov. 26 21:45:30 rol-desktop systemd[1425]: Failed to start Application launched by gnome-session-binary.
nov. 26 21:45:33 rol-desktop gdm-launch-environment][1055]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
ls -l /var/crash
total 296
-rw-r----- 1 root     whoopsie 101921 nov.  19 16:17 nvidia-dkms-390.0.crash
-rw-r--r-- 1 root     whoopsie      0 nov.  19 16:17 nvidia-dkms-390.0.upload
-rw------- 1 whoopsie whoopsie     37 nov.  19 16:17 nvidia-dkms-390.0.uploaded
-rw-r----- 1 root     whoopsie 108931 nov.  19 16:16 nvidia-driver-390.0.crash
-rw-r--r-- 1 root     whoopsie      0 nov.  19 16:16 nvidia-driver-390.0.upload
-rw------- 1 whoopsie whoopsie     37 nov.  19 16:16 nvidia-driver-390.0.uploaded
-rw-r----- 1 root     whoopsie  73993 nov.  19 16:15 nvidia-kernel-source-390.0.crash
-rw-r--r-- 1 root     whoopsie      0 nov.  19 16:15 nvidia-kernel-source-390.0.upload
-rw------- 1 whoopsie whoopsie     37 nov.  19 16:15 nvidia-kernel-source-390.0.uploaded

Hors ligne

#28 Le 26/11/2024, à 22:05

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Il faudrait les conseils des aidants plus techniques, pour valider la proposition d'installer ce ppa  dtl131/nvidiaexp     

mentionné dans nvidia-390-drivers-will-not-build.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#29 Le 26/11/2024, à 22:07

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Et bien attendons d'autres conseils, je note le lien. Et merci pour ton aide smile

Hors ligne

#30 Le 26/11/2024, à 22:12

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Fournis également :

le 07/01/2023, ylag a écrit :

Bonjour,

Pour info, donne aussi le résultat de :

apt list ?obsolete

... histoire de vérifier la présence éventuelle de paquets "orphelins".

A+


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#31 Le 26/11/2024, à 22:12

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

apt list ?obsolete
En train de lister... Fait

Hors ligne

#32 Le 26/11/2024, à 23:15

Ayral

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Modération : Tu postes depuis deux pseudos, Rol et Rolretro, ce qui introduit de la confusion dans ta discussion. Il serait bon que tu n'utilises qu'un compte par fil, ou que tu demandes la suppression de celui que tu ne veux plus utiliser. Merci.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

En ligne

#33 Le 27/11/2024, à 08:09

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Bonjour,

Montre :

xrandr

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#34 Le 27/11/2024, à 08:12

cqfd93

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Modération

Bonjour,

J'ai supprimé l'autre compte.


cqfd93

Hors ligne

#35 Le 27/11/2024, à 08:15

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Bonjour,

Et on perd l'historique des discussions rattachées à l'ancien compte ?

Dernière modification par xubu1957 (Le 27/11/2024, à 08:15)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#36 Le 27/11/2024, à 08:23

cqfd93

Re : [résolu]problème suite à installation 22-04 boot plus graphique

xubu1957 a écrit :

Et on perd l'historique des discussions rattachées à l'ancien compte ?

Oui !


cqfd93

Hors ligne

#37 Le 27/11/2024, à 08:28

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#38 Le 27/11/2024, à 13:06

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Bonjour

Tout d'abord désolé pour le travail de modération... Je ne pensais pas avoir deux comptes en tous cas merci d'avoir supprimé le deuxième compte et je le vire de mes navigateurs aussi.

Pour ce qui est de la commande, j'essaie de booter le pc, mais il a du mal, je n'arrive pas à revoir le menu grub, ça boote direct ou m'affice un message recoverry journal ou rien mais le boot se poursuit. Une fois arrivé sur la page ubuntu, l'écran se met en veille et je n'ai plus la main.
Ca fait 10 fois que j'essaie, je commence à me demander si mon hdd va survivre longtemps au reboot à l'arrache avec le bouton power...

Dernière modification par Rol (Le 27/11/2024, à 13:19)

Hors ligne

#39 Le 27/11/2024, à 13:34

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Et avec les touches_magiques ?

le 20/05/2024, nany a écrit :

Bonjour,

Petite précision : on peut voir dans les § 3 et 5 de la page de doc mise en lien par xubu1957 que les touches [R], [E] et [I­] (entre autres) sont désactivées depuis la version 14.04 d’Ubuntu et donc sans effet. Par conséquent on peut n’utiliser que la séquence s u b ou s u o.

dans [résolu]arrêt "brutal" par bouton on/off : quoi faire ?

Le 15/03/2018, moko138 a écrit :

(...)
Plutôt que l'extinction mécanique forcée, qui détériore les composants et qui laisse en vrac les systèmes de fichiers des partitions montées, il faut préférer  les touches_magiques.
...

Concrètement, pour redémarrer:
Alt+Sys  r e i s  (*)    u (*)    b

(*) attendre quelques secondes.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#40 Le 27/11/2024, à 15:17

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

avec sub j'ai réussi, mais faut pas être manchot.

J'ai réussi une fois à avoir le grub, j'ai choisi le noyau précédent (en mode normal) et rien. Donc je réitère la manip pour choisir le mode recovery, mais accéder au grub... ça marche une fois sur 10 et une presse de trop et ça quitte le menu pour booter et repasser sur l'écran noir.

Je vais y arriver mais ça commence à me gonfler j'avoue.

[EDIT]

Le post a été libérateur, cette fois j'y suis arrivé, j'ai pu avoir accès à grub, j'ai choisi recovery puis j'ai choisi resume dans la liste et je suis enfin sur ma session.

xrandr
Screen 0: minimum 320 x 200, current 800 x 600, maximum 4096 x 4096
None-1 connected primary 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x600       60.00*+

Dernière modification par Rol (Le 27/11/2024, à 15:24)

Hors ligne

#41 Le 27/11/2024, à 15:25

geole

Re : [résolu]problème suite à installation 22-04 boot plus graphique

On va faire cesser ce hasard
Lorsque tu auras la session ubuntu, ouvre avec un éditeur graphique le fichier

/etc/default/grub

et modifie deux lignes
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0

Pour avoir
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=51

Puis informe le grub avec cette commande

sudo update-grub

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#42 Le 27/11/2024, à 15:48

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

J'essaie mais fichier verrouillé.

Ca faisait longtemps que je n'avais pas mis les mains sur un terminal. J'essaie de me rappeler et je regarde pour modifier les droits, les chmod et tutti quanti commencent à ressurgir dans ma mémoire.
Mais pour le moment je n'y arrive pas

[edit]
Un

cd /etc/default && sudo chmod 777 -R ./grub

J'ai bien fait la commande d'update.
Je regarde si ça a fonctionné au prochain reboot

[edit 2]
Merci ça a fonctionné, j'arrive direct sur le menu grub, je peux démarrer plus facilement. Maintenant espérons que la résolution du reste solutionne ça, car j'ai vraiment l'impression que c'est un souci niveau matos graphique avant tout

Dernière modification par Rol (Le 27/11/2024, à 16:54)

Hors ligne

#43 Le 27/11/2024, à 17:00

geole

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Publie

cat /var/lib/dkms/nvidia/390.157/build/make.log

Détruis le log

sudo rm -v /var/crash/nvidia-kernel-source-390.0.crash

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#44 Le 27/11/2024, à 17:10

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

cat /var/lib/dkms/nvidia/390.157/build/make.log
cat: /var/lib/dkms/nvidia/390.157/build/make.log: Aucun fichier ou dossier de ce nom

je suis sur le nouveau, je repasse sur le nvidia ? C'est d'ailleurs depuis la manip de me mettre sur le nouveau que j'ai eu le souci de boot

Dernière modification par Rol (Le 27/11/2024, à 17:11)

Hors ligne

#45 Le 27/11/2024, à 17:17

geole

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Avant de changer quelque chose, regarde si nvidea est propre

sudo dpkg --configure-a

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#46 Le 27/11/2024, à 17:21

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

sudo dpkg --configure -a

il manquait un espace mais j'ai rien d'autre renvoyé dans le terminal

Hors ligne

#47 Le 01/12/2024, à 18:02

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Bonjour

désolé pour l'absence de réponse plus claire, je n'étais pas chez moi ce weekend.

J'ai fait les mise à jour, mais rien n'a changé. Pour booter il faut toujours que je passe par le menu advanced, puis le recovery et en validant resume ça boote.

Je me suis dis aussi que si la commande précédente ne renvoyait rien, c'était peut être parce que j'avais coché le pilote nouveau au lieu du pilote nvidia dans l'onglet pilote additionnel.

Hors ligne

#48 Le 05/12/2024, à 12:16

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Je suis repassé sur le pilote nvidia depuis logiciel et mise à jour dans l'onglet pilote additionnel.

Et voici le retour de commande

sudo dpkg --configure -a
Paramétrage de nvidia-dkms-390 (390.157-0ubuntu0.22.04.2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Removing old nvidia-390.157 DKMS files...
Deleting module nvidia-390.157 completely from the DKMS tree.
Loading new nvidia-390.157 DKMS files...
Building for 6.8.0-49-generic
Building for architecture x86_64
Building initial module for 6.8.0-49-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-kernel-source-390.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-49-generic (x86_64)
Consult /var/lib/dkms/nvidia/390.157/build/make.log for more information.
dpkg: erreur de traitement du paquet nvidia-dkms-390 (--configure) :
 le sous-processus paquet nvidia-dkms-390 script post-installation installé a renvoyé un état de sortie d'erreur 10
dpkg: des problèmes de dépendances empêchent la configuration de nvidia-driver-390 :
 nvidia-driver-390 dépend de nvidia-dkms-390 (<= 390.157-1) ; cependant :
 Le paquet nvidia-dkms-390 n'est pas encore configuré.
 nvidia-driver-390 dépend de nvidia-dkms-390 (>= 390.157) ; cependant :
 Le paquet nvidia-dkms-390 n'est pas encore configuré.

dpkg: erreur de traitement du paquet nvidia-driver-390 (--configure) :
 problèmes de dépendances - laissé non configuré
Traitement des actions différées (« triggers ») pour initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.8.0-49-generic
Des erreurs ont été rencontrées pendant l'exécution :
 nvidia-dkms-390
 nvidia-driver-390

Je tiens à préciser que durant le changement de pilote j'ai eu des erreurs qui ont généré un rapport de bug. Voila le lien

[edit] J'ai rebooté et plus de problème pour lancer ubuntu, ça fonctionne sans passer le choix du recovery puis resume. C'est déjà ça. en revanche la partie graphique est toujours au même point.

Dernière modification par Rol (Le 05/12/2024, à 12:22)

Hors ligne

#49 Le 05/12/2024, à 12:25

Rol

Re : [résolu]problème suite à installation 22-04 boot plus graphique

cat /var/lib/dkms/nvidia/390.157/build/make.log
DKMS make.log for nvidia-390.157 for kernel 6.8.0-49-generic (x86_64)
jeu. 05 déc. 2024 12:12:20 CET
make[1] : on entre dans le répertoire « /usr/src/linux-headers-6.8.0-49-generic »
make --no-print-directory -C /usr/src/linux-headers-6.8.0-49-generic \
-f /usr/src/linux-headers-6.8.0-49-generic/Makefile modules
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/390.157/build need-builtin=1 need-modorder=1 
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia.mod
  printf '%s
'   nvidia/nv-frontend.o nvidia/nv-instance.o nvidia/nv-gpu-numa.o nvidia/nv.o nvidia/nv-acpi.o nvidia/nv-chrdev.o nvidia/nv-cray.o nvidia/nv-dma.o nvidia/nv-gvi.o nvidia/nv-i2c.o nvidia/nv-mempool.o nvidia/nv-mmap.o nvidia/nv-p2p.o nvidia/nv-pat.o nvidia/nv-procfs.o nvidia/nv-usermap.o nvidia/nv-vm.o nvidia/nv-vtophys.o nvidia/os-interface.o nvidia/os-mlock.o nvidia/os-pci.o nvidia/os-registry.o nvidia/os-usermap.o nvidia/nv-modeset-interface.o nvidia/nv-pci-table.o nvidia/nv-kthread-q.o nvidia/nv-kthread-q-selftest.o nvidia/nv-memdbg.o nvidia/nv-ibmnpu.o nvidia/nv-report-err.o nvidia/nv_uvm_interface.o nvidia/nvlink_linux.o nvidia/nv-kernel.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia.mod
# SYMLINK /var/lib/dkms/nvidia/390.157/build/nvidia/nv-kernel.o
  ln -sf /var/lib/dkms/nvidia/390.157/build/nvidia/nv-kernel.o_binary /var/lib/dkms/nvidia/390.157/build/nvidia/nv-kernel.o
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia-uvm.mod
  printf '%s
'   nvidia-uvm/uvm_utils.o nvidia-uvm/uvm_common.o nvidia-uvm/uvm_linux.o nvidia-uvm/nvstatus.o nvidia-uvm/nvCpuUuid.o nvidia-uvm/uvm8.o nvidia-uvm/uvm8_tools.o nvidia-uvm/uvm8_global.o nvidia-uvm/uvm8_gpu.o nvidia-uvm/uvm8_gpu_isr.o nvidia-uvm/uvm8_procfs.o nvidia-uvm/uvm8_va_space.o nvidia-uvm/uvm8_gpu_semaphore.o nvidia-uvm/uvm8_mem.o nvidia-uvm/uvm8_rm_mem.o nvidia-uvm/uvm8_channel.o nvidia-uvm/uvm8_lock.o nvidia-uvm/uvm8_hal.o nvidia-uvm/uvm8_rb_tree.o nvidia-uvm/uvm8_range_tree.o nvidia-uvm/uvm8_range_allocator.o nvidia-uvm/uvm8_va_range.o nvidia-uvm/uvm8_va_block.o nvidia-uvm/uvm8_range_group.o nvidia-uvm/uvm8_gpu_replayable_faults.o nvidia-uvm/uvm8_gpu_non_replayable_faults.o nvidia-uvm/uvm8_gpu_access_counters.o nvidia-uvm/uvm8_perf_events.o nvidia-uvm/uvm8_perf_module.o nvidia-uvm/uvm8_mmu.o nvidia-uvm/uvm8_pte_batch.o nvidia-uvm/uvm8_tlb_batch.o nvidia-uvm/uvm8_push.o nvidia-uvm/uvm8_pushbuffer.o nvidia-uvm/uvm8_thread_context.o nvidia-uvm/uvm8_tracker.o nvidia-uvm/uvm8_kepler.o nvidia-uvm/uvm8_kepler_ce.o nvidia-uvm/uvm8_kepler_host.o nvidia-uvm/uvm8_kepler_mmu.o nvidia-uvm/uvm8_maxwell.o nvidia-uvm/uvm8_maxwell_host.o nvidia-uvm/uvm8_pascal.o nvidia-uvm/uvm8_pascal_ce.o nvidia-uvm/uvm8_pascal_host.o nvidia-uvm/uvm8_pascal_mmu.o nvidia-uvm/uvm8_pascal_fault_buffer.o nvidia-uvm/uvm8_volta_host.o nvidia-uvm/uvm8_volta_mmu.o nvidia-uvm/uvm8_volta.o nvidia-uvm/uvm8_volta_fault_buffer.o nvidia-uvm/uvm8_volta_access_counter_buffer.o nvidia-uvm/uvm8_policy.o nvidia-uvm/uvm8_perf_utils.o nvidia-uvm/uvm8_kvmalloc.o nvidia-uvm/uvm8_pmm_sysmem.o nvidia-uvm/uvm8_pmm_gpu.o nvidia-uvm/uvm8_migrate.o nvidia-uvm/uvm8_map_external.o nvidia-uvm/uvm8_user_channel.o nvidia-uvm/uvm8_hmm.o nvidia-uvm/uvm8_perf_heuristics.o nvidia-uvm/uvm8_perf_thrashing.o nvidia-uvm/uvm8_perf_prefetch.o nvidia-uvm/uvm8_test.o nvidia-uvm/uvm8_test_rng.o nvidia-uvm/uvm8_range_tree_test.o nvidia-uvm/uvm8_range_allocator_test.o nvidia-uvm/uvm8_gpu_semaphore_test.o nvidia-uvm/uvm8_mem_test.o nvidia-uvm/uvm8_rm_mem_test.o nvidia-uvm/uvm8_page_tree_test.o nvidia-uvm/uvm8_tracker_test.o nvidia-uvm/uvm8_push_test.o nvidia-uvm/uvm8_channel_test.o nvidia-uvm/uvm8_ce_test.o nvidia-uvm/uvm8_lock_test.o nvidia-uvm/uvm8_perf_utils_test.o nvidia-uvm/uvm8_kvmalloc_test.o nvidia-uvm/uvm8_pmm_test.o nvidia-uvm/uvm8_pmm_sysmem_test.o nvidia-uvm/uvm8_perf_events_test.o nvidia-uvm/uvm8_perf_module_test.o nvidia-uvm/uvm8_get_rm_ptes_test.o nvidia-uvm/uvm8_fault_buffer_flush_test.o nvidia-uvm/uvm8_mmu_test.o nvidia-uvm/uvm8_peer_identity_mappings_test.o nvidia-uvm/uvm8_va_block_test.o nvidia-uvm/uvm8_range_group_tree_test.o nvidia-uvm/uvm8_rb_tree_test.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia-uvm.mod
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia-modeset.mod
  printf '%s
'   nvidia-modeset/nvidia-modeset-linux.o nvidia-modeset/nv-modeset-kernel.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia-modeset.mod
# SYMLINK /var/lib/dkms/nvidia/390.157/build/nvidia-modeset/nv-modeset-kernel.o
  ln -sf /var/lib/dkms/nvidia/390.157/build/nvidia-modeset/nv-modeset-kernel.o_binary /var/lib/dkms/nvidia/390.157/build/nvidia-modeset/nv-modeset-kernel.o
# cmd_mod /var/lib/dkms/nvidia/390.157/build/nvidia-drm.mod
  printf '%s
'   nvidia-drm/nvidia-drm.o nvidia-drm/nvidia-drm-drv.o nvidia-drm/nvidia-drm-utils.o nvidia-drm/nvidia-drm-crtc.o nvidia-drm/nvidia-drm-encoder.o nvidia-drm/nvidia-drm-connector.o nvidia-drm/nvidia-drm-gem.o nvidia-drm/nvidia-drm-fb.o nvidia-drm/nvidia-drm-modeset.o nvidia-drm/nvidia-drm-prime-fence.o nvidia-drm/nvidia-drm-linux.o nvidia-drm/nvidia-drm-helper.o nvidia-drm/nv-pci-table.o nvidia-drm/nvidia-drm-gem-nvkms-memory.o nvidia-drm/nvidia-drm-gem-user-memory.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia/390.157/build/"$0) }' > /var/lib/dkms/nvidia/390.157/build/nvidia-drm.mod
 CONFTEST: INIT_WORK
 CONFTEST: remap_pfn_range
 CONFTEST: hash__remap_4k_pfn
 CONFTEST: follow_pfn
 CONFTEST: vmap
 CONFTEST: set_pages_uc
 CONFTEST: list_is_first
 CONFTEST: set_memory_uc
 CONFTEST: set_memory_array_uc
 CONFTEST: change_page_attr
 CONFTEST: pci_get_class
 CONFTEST: pci_choose_state
 CONFTEST: vm_insert_page
 CONFTEST: acpi_device_id
 CONFTEST: acquire_console_sem
 CONFTEST: console_lock
 CONFTEST: kmem_cache_create
 CONFTEST: on_each_cpu
 CONFTEST: smp_call_function
 CONFTEST: acpi_evaluate_integer
 CONFTEST: ioremap_cache
 CONFTEST: ioremap_wc
 CONFTEST: acpi_walk_namespace
 CONFTEST: pci_domain_nr
 CONFTEST: dma_mapping_error
 CONFTEST: sg_alloc_table
 CONFTEST: sg_init_table
 CONFTEST: pci_get_domain_bus_and_slot
 CONFTEST: get_num_physpages
 CONFTEST: efi_enabled
 CONFTEST: proc_create_data
 CONFTEST: pde_data
 CONFTEST: PDE_DATA
 CONFTEST: proc_remove
 CONFTEST: pm_vt_switch_required
 CONFTEST: xen_ioemu_inject_msi
 CONFTEST: phys_to_dma
 CONFTEST: get_dma_ops
 CONFTEST: write_cr4
 CONFTEST: of_get_property
 CONFTEST: of_find_node_by_phandle
 CONFTEST: of_node_to_nid
 CONFTEST: pnv_pci_get_npu_dev
 CONFTEST: for_each_online_node
 CONFTEST: node_end_pfn
 CONFTEST: pci_bus_address
 CONFTEST: pci_stop_and_remove_bus_device
 CONFTEST: pci_remove_bus_device
 CONFTEST: request_threaded_irq
 CONFTEST: register_cpu_notifier
 CONFTEST: cpuhp_setup_state
 CONFTEST: dma_map_resource
 CONFTEST: backlight_device_register
 CONFTEST: register_acpi_notifier
 CONFTEST: timer_setup
 CONFTEST: kmem_cache_create_usercopy
 CONFTEST: do_gettimeofday
 CONFTEST: dma_direct_map_resource
 CONFTEST: vmf_insert_pfn
 CONFTEST: jiffies_to_timespec
 CONFTEST: ktime_get_raw_ts64
 CONFTEST: ktime_get_real_ts64
 CONFTEST: ioremap_nocache
 CONFTEST: vga_tryget
 CONFTEST: unsafe_follow_pfn
 CONFTEST: acpi_bus_get_device
 CONFTEST: acpi_video_backlight_use_native
 CONFTEST: remap_page_range
 CONFTEST: address_space_init_once
 CONFTEST: kbasename
 CONFTEST: fatal_signal_pending
 CONFTEST: list_cut_position
 CONFTEST: vzalloc
 CONFTEST: wait_on_bit_lock_argument_count
 CONFTEST: bitmap_clear
 CONFTEST: usleep_range
 CONFTEST: radix_tree_empty
 CONFTEST: radix_tree_replace_slot
 CONFTEST: drm_dev_unref
 CONFTEST: drm_reinit_primary_mode_group
 CONFTEST: get_user_pages_remote
 CONFTEST: get_user_pages
 CONFTEST: drm_gem_object_lookup
 CONFTEST: drm_atomic_state_ref_counting
 CONFTEST: drm_driver_has_gem_prime_res_obj
 CONFTEST: drm_atomic_helper_connector_dpms
 CONFTEST: drm_connector_funcs_have_mode_in_name
 CONFTEST: drm_framebuffer_get
 CONFTEST: drm_gem_object_get
 CONFTEST: drm_dev_put
 CONFTEST: drm_connector_for_each_possible_encoder
 CONFTEST: drm_gem_object_put_unlocked
 CONFTEST: is_export_symbol_gpl_of_node_to_nid
 CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
 CONFTEST: is_export_symbol_present_swiotlb_dma_ops
 CONFTEST: i2c_adapter
 CONFTEST: pm_message_t
 CONFTEST: irq_handler_t
 CONFTEST: acpi_device_ops
 CONFTEST: acpi_op_remove
 CONFTEST: outer_flush_all
 CONFTEST: proc_dir_entry
 CONFTEST: scatterlist
 CONFTEST: sg_table
 CONFTEST: file_operations
 CONFTEST: vm_operations_struct
 CONFTEST: atomic_long_type
 CONFTEST: pci_save_state
 CONFTEST: file_inode
 CONFTEST: task_struct
 CONFTEST: kuid_t
 CONFTEST: dma_ops
 CONFTEST: swiotlb_dma_ops
 CONFTEST: dma_map_ops
 CONFTEST: noncoherent_swiotlb_dma_ops
 CONFTEST: vm_fault_present
 CONFTEST: vm_fault_has_address
 CONFTEST: kernel_write
 CONFTEST: strnstr
 CONFTEST: iterate_dir
 CONFTEST: kstrtoull
 CONFTEST: backlight_properties_type
 CONFTEST: proc_ops
 CONFTEST: timeval
 CONFTEST: mm_has_mmap_lock
 CONFTEST: kmem_cache_has_kobj_remove_work
 CONFTEST: sysfs_slab_unlink
 CONFTEST: vmalloc_has_pgprot_t_arg
 CONFTEST: pci_dev_has_skip_bus_pm
 CONFTEST: pci_channel_state
 CONFTEST: fault_flags
 CONFTEST: atomic64_type
 CONFTEST: address_space
 CONFTEST: backing_dev_info
 CONFTEST: mm_context_t
 CONFTEST: vm_ops_fault_removed_vma_arg
 CONFTEST: vm_fault_t
 CONFTEST: pnv_npu2_init_context
 CONFTEST: drm_bus_present
 CONFTEST: drm_bus_has_bus_type
 CONFTEST: drm_bus_has_get_irq
 CONFTEST: drm_bus_has_get_name
 CONFTEST: drm_driver_has_device_list
 CONFTEST: drm_driver_has_legacy_dev_list
 CONFTEST: drm_driver_has_set_busid
 CONFTEST: drm_crtc_state_has_connectors_changed
 CONFTEST: drm_init_function_args
 CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
 CONFTEST: drm_helper_mode_fill_fb_struct
 CONFTEST: drm_master_drop_has_from_release_arg
 CONFTEST: drm_driver_unload_has_int_return_type
 CONFTEST: kref_has_refcount_of_type_refcount_t
 CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
 CONFTEST: drm_mode_object_find_has_file_priv_arg
 CONFTEST: drm_connector_list_iter
 CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
 CONFTEST: drm_driver_prime_flag_present
 CONFTEST: drm_gem_prime_export_has_dev_arg
 CONFTEST: drm_gem_object_has_resv
 CONFTEST: drm_display_mode_has_vrefresh
 CONFTEST: drm_driver_master_set_has_int_return_type
 CONFTEST: drm_driver_has_gem_free_object
 CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
 CONFTEST: drm_driver_has_gem_prime_callbacks
 CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
 CONFTEST: drm_gem_object_vmap_has_map_arg
 CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
 CONFTEST: drm_device_has_pdev
 CONFTEST: dma_resv_add_fence
 CONFTEST: dma_resv_reserve_fences
 CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
 CONFTEST: dom0_kernel_present
 CONFTEST: nvidia_vgpu_kvm_build
 CONFTEST: nvidia_grid_build
 CONFTEST: drm_available
 CONFTEST: drm_atomic_available
 CONFTEST: is_export_symbol_gpl_refcount_inc
 CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-frontend.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-instance.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv_instance"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-gpu-numa.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv_gpu_numa"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-acpi.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-chrdev.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-cray.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o
# CC [M]  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o
  x86_64-linux-gnu-gcc-12 -Wp,-MMD,/var/lib/dkms/nvidia/390.157/build/nvidia/.nv-dma.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -I/var/lib/dkms/nvidia/390.157/build/common/inc -I/var/lib/dkms/nvidia/390.157/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"390.157\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia/390.157/build/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum  -DMODULE  -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16   --module /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c:24:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c:16:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:21,
                 from /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.c:15:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:45: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                             ^~~
      |                                             |
      |                                             struct task_struct *
In file included from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-pgprot.h:17,
                 from /var/lib/dkms/nvidia/390.157/build/common/inc/nv-linux.h:20:
./include/linux/mm.h:2470:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |                            ~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:50: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                  ^~
      |                                                  |
      |                                                  struct mm_struct *
./include/linux/mm.h:2471:42: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2471 |                            unsigned long start, unsigned long nr_pages,
      |                            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:71: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       unsigned int
./include/linux/mm.h:2472:66: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
 2472 |                            unsigned int gup_flags, struct page **pages,
      |                                                    ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:165:45: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  165 |                                             pages, vmas);
      |                                             ^~~~~
      |                                             |
      |                                             struct page **
./include/linux/mm.h:2473:33: note: expected ‘int *’ but argument is of type ‘struct page **’
 2473 |                            int *locked);
      |                            ~~~~~^~~~~~
/var/lib/dkms/nvidia/390.157/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
  164 |                return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
      |                       ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2470:6: note: declared here
 2470 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c: At top level:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.c:68:1: warning: no previous prototype for ‘nv_pci_register_driver’ [-Wmissing-prototypes]
   68 | nv_pci_register_driver(
      | ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c: In function ‘gather_memblock_ids_for_node’:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.c:232:47: warning: cast between incompatible function types from ‘int (*)(struct dir_context *, const char *, int,  loff_t,  u64,  unsigned int)’ {aka ‘int (*)(struct dir_context *, const char *, int,  long long int,  long long unsigned int,  unsigned int)’} to ‘bool (*)(struct dir_context *, const char *, int,  loff_t,  u64,  unsigned int)’ {aka ‘_Bool (*)(struct dir_context *, const char *, int,  long long int,  long long unsigned int,  unsigned int)’} [-Wcast-function-type]
  232 |     nv_dir_context_t ats_ctx = { .ctx.actor = (filldir_t)filldir_get_memblock_id };
      |                                               ^
/var/lib/dkms/nvidia/390.157/build/nvidia/nv.c: At top level:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv.c:771:12: warning: no previous prototype for ‘nvidia_init_module’ [-Wmissing-prototypes]
  771 | int __init nvidia_init_module(void)
      |            ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c: In function ‘nv_acpi_methods_uninit’:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.c:687:25: warning: unused variable ‘device’ [-Wunused-variable]
  687 |     struct acpi_device *device = NULL;
      |                         ^~~~~~
/var/lib/dkms/nvidia/390.157/build/nvidia/nv.c:1161:6: warning: no previous prototype for ‘nvidia_exit_module’ [-Wmissing-prototypes]
 1161 | void nvidia_exit_module(void)
      |      ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv-instance.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv-cray.o] Erreur 1
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv-frontend.o] Erreur 1
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv-chrdev.o] Erreur 1
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.c: At top level:
/var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.c:224:6: warning: no previous prototype for ‘nv_load_dma_map_scatterlist’ [-Wmissing-prototypes]
  224 | void nv_load_dma_map_scatterlist(
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv-gpu-numa.o] Erreur 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv-dma.o] Erreur 1
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv-acpi.o] Erreur 1
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243 : /var/lib/dkms/nvidia/390.157/build/nvidia/nv.o] Erreur 1
make[2]: *** [/usr/src/linux-headers-6.8.0-49-generic/Makefile:1925 : /var/lib/dkms/nvidia/390.157/build] Erreur 2
make[1]: *** [Makefile:240 : __sub-make] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-6.8.0-49-generic »
make: *** [Makefile:81 : modules] Erreur 2
sudo rm -v /var/crash/nvidia-kernel-source-390.0.crash
[sudo] Mot de passe de rol : 
'/var/crash/nvidia-kernel-source-390.0.crash' supprimé

Dernière modification par Rol (Le 05/12/2024, à 12:27)

Hors ligne

#50 Le 05/12/2024, à 12:38

xubu1957

Re : [résolu]problème suite à installation 22-04 boot plus graphique

Bonjour,

Je vois dans forums.developer.nvidia.com/t/gf119-nvs-315-drivers-for-ubuntu :

generix a écrit :

The 390 driver is out of support and you got upgraded to kernel 6.5.
Please return to the GA kernel.

Le pilote 390 n'est plus supporté et vous avez été mis à niveau vers le noyau 6.5.
Veuillez revenir au noyau GA.

Le noyau 6.8 ne gère plus ce pilote.  On retombe dans l'obsolescence des cartes nvidia anciennes.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne