Uploaded thanks
** Changed in: openrazer (Ubuntu Noble)
Status: New => In Progress
** Also affects: openrazer (Ubuntu Questing)
Importance: Undecided
Status: New
** Also affects: openrazer (Ubuntu Resolute)
Importance: Undecided
Status: New
** Changed in: openrazer (Ubuntu Questing)
Status: New => Invalid
** Changed in: openrazer (Ubuntu Resolute)
Status: New => Invalid
** Description changed:
[ Impact ]
DKMS make.log for openrazer-driver-3.7.0 for kernel 6.17.0-7-generic (x86_64)
Thu Dec 18 22:47:07 UTC 2025
- -e
+ -e
::[32m Compiling OpenRazer kernel modules[0m
========================================
make -C /lib/modules/6.17.0-7-generic/build
M=/var/lib/dkms/openrazer-driver/3.7.0/build/driver modules
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[2]: Entering directory
'/var/lib/dkms/openrazer-driver/3.7.0/build/driver'
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] razerkbd_driver.o
- CC [M] razercommon.o
- CC [M] razerchromacommon.o
+ 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] razerkbd_driver.o
+ CC [M] razercommon.o
+ CC [M] razerchromacommon.o
razerchromacommon.c:208:21: warning: no previous prototype for
‘razer_chroma_standard_matrix_effect_base’ [-Wmissing-prototypes]
- 208 | struct razer_report razer_chroma_standard_matrix_effect_base(unsigned
char arg_size, unsigned char effect_id)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 208 | struct razer_report razer_chroma_standard_matrix_effect_base(unsigned
char arg_size, unsigned char effect_id)
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
razerchromacommon.c:481:21: warning: no previous prototype for
‘razer_chroma_extended_matrix_effect_base’ [-Wmissing-prototypes]
- 481 | struct razer_report razer_chroma_extended_matrix_effect_base(unsigned
char arg_size, unsigned char variable_storage, unsigned char led_id, unsigned
char effect_id)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 481 | struct razer_report razer_chroma_extended_matrix_effect_base(unsigned
char arg_size, unsigned char variable_storage, unsigned char led_id, unsigned
char effect_id)
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
razerchromacommon.c:784:21: warning: no previous prototype for
‘razer_chroma_mouse_extended_matrix_effect_base’ [-Wmissing-prototypes]
- 784 | struct razer_report
razer_chroma_mouse_extended_matrix_effect_base(unsigned char arg_size, unsigned
char variable_storage, unsigned char led_id, unsigned char effect_id)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 784 | struct razer_report
razer_chroma_mouse_extended_matrix_effect_base(unsigned char arg_size, unsigned
char variable_storage, unsigned char led_id, unsigned char effect_id)
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
razerchromacommon.c:1554:21: warning: no previous prototype for
‘razer_chroma_misc_get_hyperpolling_wireless_dongle_indicator_led_mode’
[-Wmissing-prototypes]
- 1554 | struct razer_report
razer_chroma_misc_get_hyperpolling_wireless_dongle_indicator_led_mode(void)
- |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- LD [M] razerkbd.o
- CC [M] razermouse_driver.o
+ 1554 | struct razer_report
razer_chroma_misc_get_hyperpolling_wireless_dongle_indicator_led_mode(void)
+ |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ LD [M] razerkbd.o
+ CC [M] razermouse_driver.o
razermouse_driver.c:4269:5: warning: no previous prototype for
‘mouse_button_to_usage’ [-Wmissing-prototypes]
- 4269 | u32 mouse_button_to_usage(__u16 code)
- | ^~~~~~~~~~~~~~~~~~~~~
+ 4269 | u32 mouse_button_to_usage(__u16 code)
+ | ^~~~~~~~~~~~~~~~~~~~~
razermouse_driver.c:4278:6: warning: no previous prototype for
‘input_button_msc_scan’ [-Wmissing-prototypes]
- 4278 | void input_button_msc_scan(struct input_dev *input, __u16 button)
- | ^~~~~~~~~~~~~~~~~~~~~
+ 4278 | void input_button_msc_scan(struct input_dev *input, __u16 button)
+ | ^~~~~~~~~~~~~~~~~~~~~
razermouse_driver.c:4287:6: warning: no previous prototype for
‘input_rep4_code’ [-Wmissing-prototypes]
- 4287 | void input_rep4_code(struct input_dev *input, u8 code, __s32 value)
- | ^~~~~~~~~~~~~~~
+ 4287 | void input_rep4_code(struct input_dev *input, u8 code, __s32 value)
+ | ^~~~~~~~~~~~~~~
razermouse_driver.c:4354:23: warning: no previous prototype for
‘find_intf_with_proto’ [-Wmissing-prototypes]
- 4354 | struct usb_interface *find_intf_with_proto(struct usb_device *usbdev,
u8 proto)
- | ^~~~~~~~~~~~~~~~~~~~
+ 4354 | struct usb_interface *find_intf_with_proto(struct usb_device *usbdev,
u8 proto)
+ | ^~~~~~~~~~~~~~~~~~~~
razermouse_driver.c: In function ‘razer_mouse_init’:
razermouse_driver.c:4620:5: error: implicit declaration of function
‘hrtimer_init’; did you mean ‘hrtimers_init’?
[-Werror=implicit-function-declaration]
- 4620 | hrtimer_init(&dev->repeat_timer, CLOCK_MONOTONIC,
HRTIMER_MODE_REL);
- | ^~~~~~~~~~~~
- | hrtimers_init
+ 4620 | hrtimer_init(&dev->repeat_timer, CLOCK_MONOTONIC,
HRTIMER_MODE_REL);
+ | ^~~~~~~~~~~~
+ | hrtimers_init
cc1: some warnings being treated as errors
make[4]: ***
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287:
razermouse_driver.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .] Error
2
make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248:
__sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/openrazer-driver/3.7.0/build/driver'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'
make: *** [Makefile:38: driver] Error 2
-
[ 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 openrazer-drivers-dkms:
$ sudo apt install openrazer-drivers-dkms
Module built and installed successfully
Load the modules:
$ sudo modprobe razerkbd
$ sudo modprobe razermouse
$ sudo modprobe razerkraken
$ sudo modprobe razeraccessory
Modules loaded successfully
- The same procedure should be repeated on linux-6.8 to test for possible
- regressions.
+ The same procedure must be repeated on linux-6.8 and linux-6.14 to test
+ for possible regressions.
[ Fix ]
Patches from upstream openrazer (https://github.com/openrazer/):
-debian/patches/0002-driver-Replace-hrtimer_init-with-
hrtimer_setup.patch
Adding Ubuntu Developers as Maintainer
[ Regression potential ]
We may experience regressions in systems that are using the openrazer
drivers, especially with kernels >= 6.8 kernel.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136847
Title:
openrazer-drivers-dkms FTBS in Noble with the linux-6.17 kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openrazer/+bug/2136847/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs