Попытка установить драйвер CUDA, "фатальная ошибка: asm/kmap_types.h: Нет такого файла или каталога"

На моей машине был установлен драйвер CUDA (Ubuntu 20.04). Он работал... пока не перестал работать (не знаю, что случилось). Поэтому я пытаюсь переустановить его, запустив:

sudo sh cuda_11.1.0_455.23.05_linux.run

куда я скачал cuda_11.1.0_455.23.05_linux.run с веб-сайта NVIDIA. Однако я получаю сообщение об ошибке, в котором говорится, что нужно посмотреть /var/log/nvidia-installer.log, чтобы узнать больше о том, почему установка не удалась. Файл содержит очень большое сообщение об ошибке, часть которого я вставил ниже. Я не совсем уверен, что делать

In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-frontend.c:13:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv.c:14:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-frontend.o] Error 1
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-dma.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-vm.o
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv.o] Error 1
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-vtophys.o
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-acpi.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-dma.o] Error 1
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/os-interface.o
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-p2p.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-acpi.o] Error 1
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-mmap.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/os-mlock.o
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-p2p.o] Error 1
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-mmap.o] Error 1
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/os-pci.o
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/os-registry.o
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-pat.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-pat.o] Error 1
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-cray.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/os-usermap.o
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-cray.o] Error 1
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-modeset-interface.o
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-usermap.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-usermap.o] Error 1
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-procfs.c:15:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-pci-table.o
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-procfs.o] Error 1
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-kthread-q.o
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-pci.h:15,
                    from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-pci.c:12:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:287: /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-pci.o] Error 1
     CC [M]  /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-memdbg.o
   In file included from /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/nvidia/nv-i2c.c:17:
   /tmp/selfgz3864/NVIDIA-Linux-x86_64-455.23.05/kernel/common/inc/nv-linux.h:119:10: fatal error: asm/kmap_types.h: No such file or directory
     119 | #include <asm/kmap_types.h>         /* page table entry lookup          */
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.


0
задан 7 August 2021 в 20:39

0 ответов

Другие вопросы по тегам:

Похожие вопросы: