Uploaded, thanks
** Also affects: xtrx-dkms (Ubuntu Resolute)
Importance: Undecided
Status: New
** Also affects: xtrx-dkms (Ubuntu Questing)
Importance: Undecided
Status: New
** Changed in: xtrx-dkms (Ubuntu Questing)
Status: New => Invalid
** Changed in: xtrx-dkms (Ubuntu Resolute)
Status: New => Invalid
** Description changed:
[ Impact ]
DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3.2ubuntu2 for kernel
6.17.0-7-generic (x86_64)
Wed Dec 17 22:44:19 UTC 2025
make: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[1]: Entering directory
'/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/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] xtrx.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] xtrx.o
xtrx.c: In function ‘xtrx_uart_do_tx’:
xtrx.c:472:28: error: ‘struct uart_state’ has no member named ‘xmit’
- 472 | xmit = &port->state->xmit;
- | ^~
+ 472 | xmit = &port->state->xmit;
+ | ^~
xtrx.c:473:13: error: implicit declaration of function ‘uart_circ_empty’; did
you mean ‘uart_lsr_tx_empty’? [-Werror=implicit-function-declaration]
- 473 | if (uart_circ_empty(xmit))
- | ^~~~~~~~~~~~~~~
- | uart_lsr_tx_empty
+ 473 | if (uart_circ_empty(xmit))
+ | ^~~~~~~~~~~~~~~
+ | uart_lsr_tx_empty
xtrx.c:480:25: error: invalid use of undefined type ‘struct circ_buf’
- 480 | c = xmit->buf[xmit->tail] & 0xff;
- | ^~
+ 480 | c = xmit->buf[xmit->tail] & 0xff;
+ | ^~
xtrx.c:480:35: error: invalid use of undefined type ‘struct circ_buf’
- 480 | c = xmit->buf[xmit->tail] & 0xff;
- | ^~
+ 480 | c = xmit->buf[xmit->tail] & 0xff;
+ | ^~
xtrx.c:484:21: error: invalid use of undefined type ‘struct circ_buf’
- 484 | xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
- | ^~
+ 484 | xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
+ | ^~
xtrx.c:484:35: error: invalid use of undefined type ‘struct circ_buf’
- 484 | xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
- | ^~
+ 484 | xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
+ | ^~
xtrx.c:490:13: error: implicit declaration of function
‘uart_circ_chars_pending’ [-Werror=implicit-function-declaration]
- 490 | if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
- | ^~~~~~~~~~~~~~~~~~~~~~~
+ 490 | if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
+ | ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: ***
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: xtrx.o]
Error 1
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/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/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 xtrx-dkms:
$ sudo apt install xtrx-dkms
Load the module:
$ sudo modprobe xtrx
- 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 ]
Patch from xtrx-dkms upstream
(https://github.com/myriadrf/xtrx_linux_pcie_drv/commit/dfae8d33501d46861cd25e13957775b5f626b2a6)
-debian/patches/0005-fix-build-error-with-kernel-6.10.patch
[ Regression potential ]
We may experience regressions in systems that are using the xtrx
drivers, especially with kernels >= 6.8 kernel.
** Changed in: xtrx-dkms (Ubuntu Noble)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136791
Title:
xtrx-dkms FTBS in Noble with the linux-6.17 kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xtrx-dkms/+bug/2136791/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs