Kernel 5.1 is unsupported (and nvidia-418.56 error) [error: initialization of `vm_fault_t (*)(struct vm_fault *)' {aka `unsigned int (*)(struct vm_fault *)'} from incompatible pointer type `int (*)(struct vm_fault *)']
Bug #1827944 reported by
Ronan Jouchet
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Opinion
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-418 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Installing mainline v5.1 from https:/
ERROR (dkms apport): kernel package linux-headers-
Also, building nvidia modules fail; I'm not sure it's related/critical.
See attached file for both logs.
summary: |
- Kernel 5.1 is unsupported (and nvidia-418.56 error) + Kernel 5.1 is unsupported (and nvidia-418.56 error): error: + initialization of `vm_fault_t (*)(struct vm_fault *)' {aka `unsigned int + (*)(struct vm_fault *)'} from incompatible pointer type `int (*)(struct + vm_fault *)' [-Werror=incompatible-pointer-types] |
summary: |
- Kernel 5.1 is unsupported (and nvidia-418.56 error): error: + Kernel 5.1 is unsupported (and nvidia-418.56 error) [error: initialization of `vm_fault_t (*)(struct vm_fault *)' {aka `unsigned int (*)(struct vm_fault *)'} from incompatible pointer type `int (*)(struct - vm_fault *)' [-Werror=incompatible-pointer-types] + vm_fault *)'] |
To post a comment you must log in.
It sounds like only official Ubuntu kernels will support DKMS properly. So I don't think this is going to be a valid bug in dkms.
The build failure of the Nvidia driver is however a bug in the Nvidia driver.