[Bug 2091313] [NEW] dm-writeboost-dkms FTBS in Noble with linux-6.11-hwe kernel

Launchpad Bug Tracker 2091313 at bugs.launchpad.net
Tue Dec 10 00:26:19 UTC 2024


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

[ 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.

** Affects: dm-writeboost (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

** Affects: dm-writeboost (Ubuntu Noble)
     Importance: Undecided
         Status: In Progress


** Tags: patch
-- 
dm-writeboost-dkms FTBS in Noble with linux-6.11-hwe kernel
https://bugs.launchpad.net/bugs/2091313
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list