[Bug 2134569] Re: rapiddisk-dkms FTBS in Noble with the linux-6.17 kernel

Massimiliano Pellizzer 2134569 at bugs.launchpad.net
Fri Dec 19 21:16:50 UTC 2025


Noble uploaded, thanks

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

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

Title:
  rapiddisk-dkms FTBS in Noble with the linux-6.17 kernel

Status in rapiddisk package in Ubuntu:
  Invalid
Status in rapiddisk source package in Noble:
  In Progress
Status in rapiddisk source package in Questing:
  In Progress
Status in rapiddisk source package in Resolute:
  Invalid

Bug description:
  [ Impact ]

  DKMS make.log for rapiddisk-dkms-9.1.0 for kernel 6.17.0-7-generic (x86_64)
  Tue Dec  9 23:00:44 UTC 2025
  make: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
  make[1]: Entering directory '/var/lib/dkms/rapiddisk-dkms/9.1.0/build'
  warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
    You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
    CC [M]  rapiddisk.o
    CC [M]  rapiddisk-cache.o
  In file included from /usr/src/linux-headers-6.17.0-7-generic/include/linux/build_bug.h:5,
                   from /usr/src/linux-headers-6.17.0-7-generic/include/linux/init.h:5,
                   from rapiddisk.c:26:
  rapiddisk.c: In function ‘rdsk_lookup_page’:
  rapiddisk.c:252:28: error: ‘struct page’ has no member named ‘index’
    252 |         BUG_ON(page && page->index != idx);
        |                            ^~
  /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler.h:77:45: note: in definition of macro ‘unlikely’
     77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
        |                                             ^
  rapiddisk.c:252:9: note: in expansion of macro ‘BUG_ON’
    252 |         BUG_ON(page && page->index != idx);
        |         ^~~~~~
  rapiddisk.c: In function ‘rdsk_insert_page’:
  rapiddisk.c:288:13: error: ‘struct page’ has no member named ‘index’
    288 |         page->index = idx;
        |             ^~
  rapiddisk.c:293:28: error: ‘struct page’ has no member named ‘index’
    293 |                 BUG_ON(page->index != idx);
        |                            ^~
  /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler.h:77:45: note: in definition of macro ‘unlikely’
     77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
        |                                             ^
  rapiddisk.c:293:17: note: in expansion of macro ‘BUG_ON’
    293 |                 BUG_ON(page->index != idx);
        |                 ^~~~~~
  rapiddisk.c: In function ‘rdsk_free_pages’:
  rapiddisk.c:332:40: error: ‘struct page’ has no member named ‘index’
    332 |                         BUG_ON(pages[i]->index < pos);
        |                                        ^~
  /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler.h:77:45: note: in definition of macro ‘unlikely’
     77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
        |                                             ^
  rapiddisk.c:332:25: note: in expansion of macro ‘BUG_ON’
    332 |                         BUG_ON(pages[i]->index < pos);
        |                         ^~~~~~
  rapiddisk.c:333:39: error: ‘struct page’ has no member named ‘index’
    333 |                         pos = pages[i]->index;
        |                                       ^~
  make[3]: *** [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: rapiddisk.o] Error 1
  make[3]: *** Waiting for unfinished jobs....
  make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .] Error 2
  make[1]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248: __sub-make] Error 2
  make[1]: Leaving directory '/var/lib/dkms/rapiddisk-dkms/9.1.0/build'
  make: *** [Makefile:248: __sub-make] Error 2
  make: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'

  [ Test case ]

  Install the latest linux-6.17 kernel on Noble:

  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa3
  $ sudo apt install linux-generic-hwe-24.04-edge

  Install rapiddisk-dkms:

  $ sudo apt install rapiddisk-dkms

  Modules built and installed successfully.

  Load the modules:

  $ sudo modprobe rapiddisk
  $ sudo modprobe rapiddisk-cache

  Modules loaded successfully.

  The same procedure can be repeated on linux-6.8 to test for possible
  regressions.

  Install the latest kernel on Questing and Resolute:

  Install rapiddisk-dkms:

  $ sudo apt install rapiddisk-dkms

  Modules built and installed successfully.

  Load the modules:

  $ sudo modprobe rapiddisk
  $ sudo modprobe rapiddisk-cache.

  Modules loaded successfully.

  [ Fix ]

  Custom patch from rapiddisk
  (https://github.com/pkoutoupis/rapiddisk/):

  -debian/patches/0001-Page-struct-no-longer-has-index-member-so-
  switching-.patch

  [ Regression potential ]

  We may experience regressions in systems that are using the rapiddisk
  drivers, especially with kernels >= 6.8 kernel.

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




More information about the Ubuntu-sponsors mailing list