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
22
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://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/ , I get this error:

    ERROR (dkms apport): kernel package linux-headers-5.1.0-050100-generic is not supported

Also, building nvidia modules fail; I'm not sure it's related/critical.

See attached file for both logs.

Revision history for this message
Ronan Jouchet (ronj) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

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.

affects: dkms (Ubuntu) → nvidia-graphics-drivers-418 (Ubuntu)
Changed in nvidia-graphics-drivers-418 (Ubuntu):
importance: Undecided → High
Changed in dkms (Ubuntu):
status: New → Opinion
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 *)']
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-418 (Ubuntu):
status: New → Confirmed
Revision history for this message
Lilian A. Moraru (lilianmoraru) wrote :

Side note: the issue is fixed in nvidia-430.14

Revision history for this message
Ankur A. Sharma (ankurash) wrote :

According to Nvidia's website, nvidia-430 does not support all the nvidia-418 compatible hardware.

Revision history for this message
ArchPhoenix team (archphoenix) wrote :

Kernel 5.3 officially released by Canonical does not work with 418.56 from this PPA.
Branch 430 does not support my GPU.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.