[Bug 2133825] [NEW] intel-usbio-dkms FTBS in Noble with the linux-6.17-hwe kernel

Launchpad Bug Tracker 2133825 at bugs.launchpad.net
Wed Dec 3 22:21:07 UTC 2025


You have been subscribed to a public bug by John Cabaj (john-cabaj):

[ Impact ]

DKMS make.log for usbio-drivers-0~git202312141918.78ffb706-0ubuntu2.1 for kernel 6.17.0-7-generic (x86_64)
Wed Dec  3 20:54:04 UTC 2025
make -C /lib/modules/6.17.0-7-generic/build M=/var/lib/dkms/usbio-drivers/0~git202312141918.78ffb706-0ubuntu2.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[2]: Entering directory '/var/lib/dkms/usbio-drivers/0~git202312141918.78ffb706-0ubuntu2.1/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]  drivers/mfd/usbio.o
  CC [M]  drivers/gpio/gpio-usbio.o
  CC [M]  drivers/i2c/busses/i2c-usbio.o
drivers/gpio/gpio-usbio.c: In function ‘usbio_gpio_probe’:
drivers/gpio/gpio-usbio.c:451:28: error: assignment to ‘int (*)(struct gpio_chip *, unsigned int,  int)’ from incompatible pointer type ‘void (*)(struct gpio_chip *, unsigned int,  int)’ [-Werror=incompatible-pointer-types]
  451 |         usbio_gpio->gc.set = usbio_gpio_set_value;
      |                            ^
drivers/mfd/usbio.c:432:6: warning: no previous prototype for ‘usbio_unregister_event_cb’ [-Wmissing-prototypes]
  432 | void usbio_unregister_event_cb(struct platform_device *pdev)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mfd/usbio.c: In function ‘usbio_probe’:
drivers/mfd/usbio.c:1016:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘ep0’ will never be NULL [-Waddress]
 1016 |         if (!&bridge->udev->ep0) {
      |             ^
In file included from drivers/mfd/usbio.c:19:
/usr/src/linux-headers-6.17.0-7-generic/include/linux/usb.h:673:34: note: ‘ep0’ declared here
  673 |         struct usb_host_endpoint ep0;
      |                                  ^~~
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: drivers/gpio/gpio-usbio.o] Error 1
make[4]: *** Waiting for unfinished jobs....
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/usbio-drivers/0~git202312141918.78ffb706-0ubuntu2.1/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'
make: *** [Makefile:26: all] 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 intel-usbio-dkms:

$ sudo apt install intel-usbio-dkms

Module build and installed successfully.

Load the modules:

$ sudo modprobe usbio
$ sudo modprobe i2c-usbio
$ sudo modprobe gpio-usbio

Modules loaded successfully.

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

[ Fix ]

Apply patches from intel-usbio-dkms from Questing release:

* debian/patches/backport-fix-build-against-kernel-6.17.patch

Adding dh-dkms to build dependencies

[ Regression potential ]

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

** Affects: usbio-drivers (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: usbio-drivers (Ubuntu Noble)
     Importance: Undecided
         Status: New

-- 
intel-usbio-dkms FTBS in Noble with the linux-6.17-hwe kernel
https://bugs.launchpad.net/bugs/2133825
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