** Description changed: [ Impact ] The DKMS does not compile from source in Noble with kernel 6.11: /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c: In function ‘wb_io_fn’: /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:56:19: error: too few arguments to function ‘dm_io’ - 56 | io->err = dm_io(io->io_req, io->num_regions, io->regions, &io->err_bits); - | ^~~~~ + 56 | io->err = dm_io(io->io_req, io->num_regions, io->regions, &io->err_bits); + | ^~~~~ In file included from /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost.h:37, - from /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:23: + from /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:23: ./include/linux/dm-io.h:82:5: note: declared here - 82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions, - | ^~~~~ + 82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions, + | ^~~~~ /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c: In function ‘wb_io_internal’: /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:82:23: error: too few arguments to function ‘dm_io’ - 82 | err = dm_io(io_req, num_regions, regions, err_bits); - | ^~~~~ + 82 | err = dm_io(io_req, num_regions, regions, err_bits); + | ^~~~~ ./include/linux/dm-io.h:82:5: note: declared here - 82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions, - | ^~~~~ + 82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions, + | ^~~~~ /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c: In function ‘dm_devsize’: /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:108:37: error: ‘struct block_device’ has no member named ‘bd_inode’ - 108 | return i_size_read(dev->bdev->bd_inode) >> 9; - | ^~ + 108 | return i_size_read(dev->bdev->bd_inode) >> 9; + | ^~ /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:109:1: error: control reaches end of non-void function [-Werror=return-type] - 109 | } - | ^ + 109 | } + | ^ [ 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 dm-writeboost-dkms: $ sudo apt install dm-writeboost-dkms Load the module: $ sudo modprobe dm-writeboost + 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] System using the dm-writeboost-dkms may experience regressions, especially with a kernel >= 6.11, affecting storage performance.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2091313 Title: dm-writeboost-dkms FTBS in Noble with linux-6.11-hwe kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dm-writeboost/+bug/2091313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs