[Bug 2091313] Re: dm-writeboost-dkms FTBS in Noble with linux-6.11-hwe kernel
Ubuntu Foundations Team Bug Bot
2091313 at bugs.launchpad.net
Tue Dec 10 00:26:21 UTC 2024
The attachment "dm-writeboost-support-noble-6.11.debdiff" seems to be a
debdiff. The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff. If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
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/2091313
Title:
dm-writeboost-dkms FTBS in Noble with linux-6.11-hwe kernel
Status in dm-writeboost package in Ubuntu:
In Progress
Status in dm-writeboost source package in Noble:
In Progress
Bug description:
[ 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);
| ^~~~~
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:
./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/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);
| ^~~~~
./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/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;
| ^~
/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 | }
| ^
[ 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 dm-writeboost-dkms:
$ sudo apt install dm-writeboost-dkms
Load the module:
$ sudo modprobe dm-writeboost
[ 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dm-writeboost/+bug/2091313/+subscriptions
More information about the Ubuntu-sponsors
mailing list