[Bug 2092168] Re: rapiddisk-dkms FTBS in Noble with linux-6.11-hwe kernel

Timo Aaltonen 2092168 at bugs.launchpad.net
Mon Jan 13 14:29:41 UTC 2025


Hello Massimiliano, or anyone else affected,

Accepted rapiddisk into noble-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/rapiddisk/9.1.0-3ubuntu1~24.04.1 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: rapiddisk (Ubuntu Noble)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-noble

-- 
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/2092168

Title:
  rapiddisk-dkms FTBS in Noble with linux-6.11-hwe kernel

Status in rapiddisk package in Ubuntu:
  Invalid
Status in rapiddisk source package in Noble:
  Fix Committed

Bug description:
  [ 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rapiddisk/+bug/2092168/+subscriptions




More information about the Ubuntu-sponsors mailing list