Guest User

Untitled

a guest
Dec 22nd, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Wed Dec 22 19:25:58 2021
  3. installer version: 304.137
  4.  
  5. PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
  6.  
  7. nvidia-installer command line:
  8. ./nvidia-installer
  9.  
  10. Using: nvidia-installer ncurses v6 user interface
  11. -> License accepted.
  12. -> Installing NVIDIA driver version 304.137.
  13. -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
  14. -> Installing both new and classic TLS OpenGL libraries.
  15. -> Installing classic TLS 32bit OpenGL libraries.
  16. -> Install NVIDIA's 32-bit compatibility OpenGL libraries? (Answer: Yes)
  17. -> Searching for conflicting X files:
  18. -> done.
  19. -> Searching for conflicting OpenGL files:
  20. -> done.
  21. -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (304.137):
  22. executing: '/usr/sbin/ldconfig'...
  23. executing: '/usr/sbin/depmod -aq'...
  24. depmod: WARNING: Ignored deprecated option -q
  25. -> done.
  26. -> Driver file installation is complete.
  27. -> Installing DKMS kernel module:
  28. ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 304.137 -k 5.4.0-91-generic`:
  29. Kernel preparation unnecessary for this kernel. Skipping...
  30.  
  31. Building module:
  32. cleaning build area...
  33. make -j4 KERNELRELEASE=5.4.0-91-generic module SYSSRC=/lib/modules/5.4.0-91-generic/build......(bad exit status: 2)
  34. Error! Bad return status for module build on kernel: 5.4.0-91-generic (x86_64)
  35. Consult /var/lib/dkms/nvidia/304.137/build/make.log for more information.
  36. -> error.
  37. ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
  38. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
  39. DKMS make.log for nvidia-304.137 for kernel 5.4.0-91-generic (x86_64)
  40. 2021. dec. 22., szerda, 19:27:28 CET
  41. NVIDIA: calling KBUILD...
  42. make -f ./Makefile syncconfig
  43. make -f ./scripts/Makefile.build obj=scripts/basic
  44. gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -o scripts/basic/fixdep scripts/basic/fixdep.c
  45. scripts/basic/fixdep.c:97:10: fatal error: sys/types.h: No such file or directory
  46. 97 | #include <sys/types.h>
  47. | ^~~~~~~~~~~~~
  48. compilation terminated.
  49. make[4]: *** [scripts/Makefile.host:107: scripts/basic/fixdep] Error 1
  50. make[3]: *** [Makefile:550: scripts_basic] Error 2
  51. make[2]: *** [Makefile:723: include/config/auto.conf.cmd] Error 2
  52. make[2]: *** [include/config/auto.conf.cmd] Deleting file 'include/config/tristate.conf'
  53. NVIDIA: left KBUILD.
  54. nvidia.ko failed to build!
  55. make[1]: *** [Makefile:261: module] Error 1
  56. make: *** [makefile:59: module] Error 2
Advertisement
Add Comment
Please, Sign In to add comment