Public bug reported: [ Impact ]
smifb2-dkms does not compile from source in Noble with kernel 6.11: /var/lib/dkms/smifb2/2.2.3.4.g1828e79/build/smi_drv.c:9:10: fatal error: drm/drm_fbdev_generic.h: No such file or directory 9 | #include <drm/drm_fbdev_generic.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/smifb2/2.2.3.4.g1828e79/build/smi_main.c: In function ‘smi_driver_load’: /var/lib/dkms/smifb2/2.2.3.4.g1828e79/build/smi_main.c:409:25: error: implicit declaration of function ‘vmalloc’; did you mean ‘kmalloc’? [-Werror=implicit-function-declaration] 409 | cdev->regsave = vmalloc(1024); | ^~~~~~~ | kmalloc /var/lib/dkms/smifb2/2.2.3.4.g1828e79/build/smi_main.c:409:23: warning: assignment to ‘struct smi_750_register *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 409 | cdev->regsave = vmalloc(1024); | ^ /var/lib/dkms/smifb2/2.2.3.4.g1828e79/build/smi_main.c: In function ‘smi_driver_unload’: /var/lib/dkms/smifb2/2.2.3.4.g1828e79/build/smi_main.c:459:9: error: implicit declaration of function ‘vfree’; did you mean ‘kvfree’? [-Werror=implicit-function-declaration] 459 | vfree(cdev->regsave); | ^~~~~ | kvfree [ 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 smifb2-dkms: $ sudo apt install smifb2-dkms Load the module: $ sudo modprobe smifb 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 ] We may experience regressions in systems that are using smifb2 with the new 6.11 kernel. ** Affects: smifb2 (Ubuntu) Importance: Undecided Assignee: Massimiliano Pellizzer (mpellizzer) Status: In Progress ** Affects: smifb2 (Ubuntu Noble) Importance: Undecided Assignee: Massimiliano Pellizzer (mpellizzer) Status: In Progress ** Also affects: smifb2 (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: smifb2 (Ubuntu Noble) Assignee: (unassigned) => Massimiliano Pellizzer (mpellizzer) ** Changed in: smifb2 (Ubuntu Noble) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2092177 Title: smifb2-dkms FTBS in Noble with linux-6.11-hwe kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smifb2/+bug/2092177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs