Public bug reported: [ Impact ]
rapiddisk-dkms does not compile from source in Noble with kernel 6.11: /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c: In function ‘dm_io_async_bvec’: /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c:198:16: error: too few arguments to function ‘dm_io’ 198 | return dm_io(&iorq, num_regions, where, NULL); | ^~~~~ In file included from /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c:46: ./include/linux/dm-io.h:82:5: note: declared here 82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions, | ^~~~~ /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c: In function ‘cache_ctr’: /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c:1022:59: error: ‘struct block_device’ has no member named ‘bd_inode’ 1022 | dmc->size = to_sector(dmc->cache_dev->bdev->bd_inode->i_size); | ^~ /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c:1058:50: error: ‘struct block_device’ has no member named ‘bd_inode’ 1058 | dev_size = to_sector(dmc->cache_dev->bdev->bd_inode->i_size); | ^~ /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk.c: In function ‘attach_device’: /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk.c:809:61: error: macro "blk_alloc_disk" requires 2 arguments, but only 1 given 809 | disk = rdsk->rdsk_disk = blk_alloc_disk(NUMA_NO_NODE); | ^ In file included from /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk.c:30: ./include/linux/blkdev.h:821: note: macro "blk_alloc_disk" defined here 821 | #define blk_alloc_disk(lim, node_id) \ | /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk.c:809:34: error: ‘blk_alloc_disk’ undeclared (first use in this function) 809 | disk = rdsk->rdsk_disk = blk_alloc_disk(NUMA_NO_NODE); | ^~~~~~~~~~~~~~ /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk.c:809:34: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk.c:816:61: error: macro "blk_alloc_disk" requires 2 arguments, but only 1 given 816 | disk = rdsk->rdsk_disk = blk_alloc_disk(NUMA_NO_NODE); | ^ ./include/linux/blkdev.h:821: note: macro "blk_alloc_disk" defined here 821 | #define blk_alloc_disk(lim, node_id) \ | /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c: In function ‘dm_io_async_bvec’: /var/lib/dkms/rapiddisk-dkms/9.1.0/build/rapiddisk-cache.c:199:1: error: control reaches end of non-void function [-Werror=return-type] 199 | } | ^ [ 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 rapiddisk-dkms: $ sudo apt install rapiddisk-dkms Load the module: $ sudo modprobe rapiddisk $ sudo modprobe rapiddisk-cache The same procedure should be repeated on linux-6.8 to test for possible regressions. [ Fix ] Backport the package from Oracular to properly support the new 6.11 kernel ABI. [ Regression potential ] We may experience regressions in systems that are using rapiddisk with a kernel >= 6.8. ** Affects: rapiddisk (Ubuntu) Importance: Undecided Assignee: Massimiliano Pellizzer (mpellizzer) Status: In Progress ** Affects: rapiddisk (Ubuntu Noble) Importance: Undecided Assignee: Massimiliano Pellizzer (mpellizzer) Status: In Progress ** Also affects: rapiddisk (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: rapiddisk (Ubuntu Noble) Status: New => In Progress ** Changed in: rapiddisk (Ubuntu Noble) Assignee: (unassigned) => Massimiliano Pellizzer (mpellizzer) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2092168 Title: rapiddisk-dkms FTBS in Noble with linux-6.11-hwe kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rapiddisk/+bug/2092168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs