Public bug reported:
[ 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
Load the modules:
$ sudo modprobe rapiddisk
$ sudo modprobe rapiddisk-cache
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
Load the modules:
$ sudo modprobe rapiddisk
$ sudo modprobe rapiddisk-cache
[ 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.
** Affects: rapiddisk (Ubuntu)
Importance: Undecided
Status: New
** Affects: rapiddisk (Ubuntu Noble)
Importance: Undecided
Status: New
** Affects: rapiddisk (Ubuntu Questing)
Importance: Undecided
Status: New
** Affects: rapiddisk (Ubuntu Resolute)
Importance: Undecided
Status: New
** Also affects: rapiddisk (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: rapiddisk (Ubuntu Questing)
Importance: Undecided
Status: New
** Also affects: rapiddisk (Ubuntu Resolute)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2134569
Title:
rapiddisk-dkms FTBS in Noble with the linux-6.17 kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rapiddisk/+bug/2134569/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs