This bug was fixed in the package nvidia-graphics-drivers-515 -
515.105.01-0ubuntu2

---------------
nvidia-graphics-drivers-515 (515.105.01-0ubuntu2) mantic; urgency=medium

  * debian/dkms_nvidia/patches/buildfix_kernel_6.3.patch:
    - Support linux 6.3 ABI (LP: #2019979)

 -- Paolo Pisati <paolo.pis...@canonical.com>  Thu, 18 May 2023 15:13:33
+0000

** Changed in: nvidia-graphics-drivers-515 (Ubuntu Mantic)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-470-server in
Ubuntu.
https://bugs.launchpad.net/bugs/2019979

Title:
  nvidia-dkms-* FTBS with linux 6.3

Status in nvidia-graphics-drivers-390 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-450-server package in Ubuntu:
  New
Status in nvidia-graphics-drivers-470 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-470-server package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-510 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-515 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-515-server package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-390 source package in Mantic:
  Fix Released
Status in nvidia-graphics-drivers-450-server source package in Mantic:
  New
Status in nvidia-graphics-drivers-470 source package in Mantic:
  Fix Released
Status in nvidia-graphics-drivers-470-server source package in Mantic:
  Fix Released
Status in nvidia-graphics-drivers-510 source package in Mantic:
  Fix Released
Status in nvidia-graphics-drivers-515 source package in Mantic:
  Fix Released
Status in nvidia-graphics-drivers-515-server source package in Mantic:
  Fix Released

Bug description:
  [Impact]

  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c: In function 
‘nvidia_mmap_helper’:
  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:474:23: error: assignment 
of read-only member ‘vm_flags’
    474 |         vma->vm_flags |= VM_IO;
        |                       ^~
  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:536:23: error: assignment 
of read-only member ‘vm_flags’
    536 |         vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED);
        |                       ^~
  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:537:23: error: assignment 
of read-only member ‘vm_flags’
    537 |         vma->vm_flags |= (VM_DONTEXPAND | VM_DONTDUMP);
        |                       ^~
  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:543:23: error: assignment 
of read-only member ‘vm_flags’
    543 |         vma->vm_flags &= ~VM_WRITE;
        |                       ^~
  /var/lib/dkms/nvidia/390.157/build/nvidia/nv-mmap.c:544:23: error: assignment 
of read-only member ‘vm_flags’
    544 |         vma->vm_flags &= ~VM_MAYWRITE;
        |                       ^~

  [Fix]

  Apply the attached patch.

  [How to test]

  Build the dkms package and install it.

  [Regression potential]

  This patch doesn't come from NVIDIA itself, so there's a regression
  potential, though i can't state how severe that could be.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/2019979/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to