nVidia driver version 460 doesn't build with kernel version 5.14
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I'm trying to install OEM Linux kernel
nVidia driver is not installed, the error is
```
Error! Bad return status for module build on kernel: 5.14.0-1020-oem (x86_64)
Consult /var/lib/
```
I am attaching two log files showing compiler errors, emitted during compilation of nVidia modules.
Output of the "apt install" follows
```
$ sudo apt install linux-oem-20.04d
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
linux-headers-
linux-oem-
Suggested packages:
fdutils linux-oem-
The following NEW packages will be installed:
linux-headers-
linux-oem-
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 82,3 MB of archives.
After this operation, 418 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Fetched 82,3 MB in 11s (7 318 kB/s)
Selecting previously unselected package linux-oem-
(Reading database ... 1002229 files and directories currently installed.)
Preparing to unpack .../0-linux-
Unpacking linux-oem-
Selecting previously unselected package linux-headers-
Preparing to unpack .../1-linux-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../2-linux-
Unpacking linux-headers-
Selecting previously unselected package linux-modules-
Preparing to unpack .../3-linux-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../4-linux-
Unpacking linux-image-
Selecting previously unselected package linux-image-
Preparing to unpack .../5-linux-
Unpacking linux-image-
Selecting previously unselected package linux-oem-20.04d.
Preparing to unpack .../6-linux-
Unpacking linux-oem-20.04d (5.14.0.1020.17) ...
Setting up linux-oem-
Setting up linux-headers-
/etc/kernel/
* dkms: running auto installation service for kernel 5.14.0-1020-oem
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
KVER=5.
Signing module:
- /var/lib/
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
efi_runtime.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 4.8.0. We will avoid installing
for future kernels above 4.8.0.
You may override by specifying --force.
depmod...
DKMS: install completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j16 KERNELRELEASE=
Signing module:
- /var/lib/
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
hp-wmi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod...
DKMS: install completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch disable_
Hunk #1 succeeded at 82 (offset 11 lines).
Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_
Error! Bad return status for module build on kernel: 5.14.0-1020-oem (x86_64)
Consult /var/lib/
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j16 KERNELRELEASE=
Signing module:
- /var/lib/
- /var/lib/
- /var/lib/
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
vboxdrv.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
vboxnetadp.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
vboxnetflt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod...
DKMS: install completed.
...done.
Setting up linux-headers-
Setting up linux-image-
I: /boot/vmlinuz.old is now a symlink to vmlinuz-
I: /boot/initrd.
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
Setting up linux-modules-
Setting up linux-image-
Setting up linux-oem-20.04d (5.14.0.1020.17) ...
Processing triggers for linux-image-
/etc/kernel/
* dkms: running auto installation service for kernel 5.14.0-1020-oem
Kernel preparation unnecessary for this kernel. Skipping...
applying patch disable_
Hunk #1 succeeded at 82 (offset 11 lines).
Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 5.14.0-1020-oem (x86_64)
```
Crash report file /var/crash/ nvidia- dkms-460. 0.crash