[Bug 2091354] Re: evdi-dkms FTBS in Noble with linux-6.11-hwe kernel

Massimiliano Pellizzer 2091354 at bugs.launchpad.net
Mon Dec 16 06:48:55 UTC 2024


** Description changed:

  [ Impact ]
  
  evdi-dkms does not compile from source in Noble with kernel 6.11:
  
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_platform_drv.c:205:19: error: initialization of ‘void (*)(struct platform_device *)’ from incompatible pointer type ‘int (*)(struct platform_device *)’ [-Werror=incompatible-pointer-types]
-   205 |         .remove = evdi_platform_device_remove,
-       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
+   205 |         .remove = evdi_platform_device_remove,
+       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c: In function ‘evdi_gem_vmap’:
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:319:25: error: implicit declaration of function ‘vmap’; did you mean ‘kmap’? [-Werror=implicit-function-declaration]
-   319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
-       |                         ^~~~
-       |                         kmap
+   319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
+       |                         ^~~~
+       |                         kmap
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:319:23: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
-   319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
-       |                       ^
+   319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
+       |                       ^
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c: In function ‘evdi_gem_vunmap’:
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:355:17: error: implicit declaration of function ‘vunmap’; did you mean ‘kunmap’? [-Werror=implicit-function-declaration]
-   355 |                 vunmap(obj->vmapping);
-       |                 ^~~~~~
-       |                 kunmap
+   355 |                 vunmap(obj->vmapping);
+       |                 ^~~~~~
+       |                 kunmap
  
  [ Test case ]
  
  Install the latest linux-6.11 kernel on Noble:
  
  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa
  $ sudo apt update
  $ sudo apt install linux-image-6.11.0-12-generic \
-                    linux-modules-6.11.0-12-generic \
-                    linux-modules-extra-6.11.0-12-generic \
-                    linux-headers-6.11.0-12-generic
+                    linux-modules-6.11.0-12-generic \
+                    linux-modules-extra-6.11.0-12-generic \
+                    linux-headers-6.11.0-12-generic
  
  Install evdi-dkms:
  
  $ sudo apt install evdi-dkms
  
  Load the module:
  
  $ sudo modprobe evdi
+ 
+ The same procedure should be repeated on linux-6.8 to test for possible
+ regressions.
  
  [ Fix ]
  
  Patch the code to properly support the new linux 6.11 ABI.
  
  [ Regression potential ]
  
  The EVDI module can be used to control multiple screens. We may
  experience regressions related to graphics / monitors in systems that
  are using this module, especially with the new kernels >= 6.11.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2091354

Title:
  evdi-dkms FTBS in Noble with linux-6.11-hwe kernel

Status in evdi package in Ubuntu:
  In Progress
Status in evdi source package in Noble:
  In Progress

Bug description:
  [ Impact ]

  evdi-dkms does not compile from source in Noble with kernel 6.11:

  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_platform_drv.c:205:19: error: initialization of ‘void (*)(struct platform_device *)’ from incompatible pointer type ‘int (*)(struct platform_device *)’ [-Werror=incompatible-pointer-types]
    205 |         .remove = evdi_platform_device_remove,
        |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~

  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c: In function ‘evdi_gem_vmap’:
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:319:25: error: implicit declaration of function ‘vmap’; did you mean ‘kmap’? [-Werror=implicit-function-declaration]
    319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
        |                         ^~~~
        |                         kmap
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:319:23: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    319 |         obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL);
        |                       ^
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c: In function ‘evdi_gem_vunmap’:
  /var/lib/dkms/evdi/1.14.2+dfsg/build/evdi_gem.c:355:17: error: implicit declaration of function ‘vunmap’; did you mean ‘kunmap’? [-Werror=implicit-function-declaration]
    355 |                 vunmap(obj->vmapping);
        |                 ^~~~~~
        |                 kunmap

  [ Test case ]

  Install the latest linux-6.11 kernel on Noble:

  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa
  $ sudo apt update
  $ sudo apt install linux-image-6.11.0-12-generic \
                     linux-modules-6.11.0-12-generic \
                     linux-modules-extra-6.11.0-12-generic \
                     linux-headers-6.11.0-12-generic

  Install evdi-dkms:

  $ sudo apt install evdi-dkms

  Load the module:

  $ sudo modprobe evdi

  The same procedure should be repeated on linux-6.8 to test for
  possible regressions.

  [ Fix ]

  Patch the code to properly support the new linux 6.11 ABI.

  [ Regression potential ]

  The EVDI module can be used to control multiple screens. We may
  experience regressions related to graphics / monitors in systems that
  are using this module, especially with the new kernels >= 6.11.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evdi/+bug/2091354/+subscriptions




More information about the Ubuntu-sponsors mailing list