Този един случай, когато DKMS nvidia модул не е инсталиран

I was trying to build a new kernel module driver for nvidia but faced this issue without any additional info.

 

Building module:
cleaning build area
‘make’ -j32 NV_EXCLUDE_BUILD_MODULES=KERNEL_UNAME=5.4.0-104-generic IGNORE_CC_MISMATCH=modules…(bad exit status: 2)
ERROR (dkms apport): binary package for nvidia: 510.47.03 not found
Error! Bad return status for module build on kernel: 5.4.0-104-generic (x86_64)
Consult /var/lib/dkms/nvidia/510.47.03/build/make.log for more information.
done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-104-generic

But then I tried to compile the module driver one more time, but this time I selectedNo, do not compile DKMS moduleand it throwed something likegcc version mismatchbut I’d selected to ignore it and the module was sucessfully built.

Then I uninstalled the module using


sh ./NVidia-blabla-510.run --uninstalll

And installed it as a DKMS module again, but this time forced ignoring GCC version mismatch.


sh ./NVidia-blabla-510.run --no-cc-version-check

And this time it ran without errors!

 

Hope this might help with similar problem.

Зареждане

Този пост беше публикуван в System администрация и етикет , , . Bookmark на Permalink. | Кратък линк:  http://p1rat.ru/lezzz/Q5Et0

Оставете коментар