dahdi-dkms FTBS in Noble with the linux-6.17 kernel

Bug #2136821 reported by John Cabaj
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dahdi-linux (Ubuntu)
Status tracked in Resolute
Noble
Fix Committed
Undecided
Unassigned
Questing
Fix Committed
Undecided
Unassigned
Resolute
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

DKMS (dkms-3.2.0) make.log for dahdi/3.1.0+git20230717 for kernel 6.17.0-7-generic (x86_64)
Thu Dec 18 16:49:27 UTC 2025

Building module(s)
# command: (make modules KVERS=6.17.0-7-generic MODULES_EXTRA='dahdi_dummy dahdi_echocan_oslec'; make KVERS=6.17.0-7-generic)
make -C /lib/modules/6.17.0-7-generic/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/3.1.0+git20230717/build/include DAHDI_MODULES_EXTRA="dahdi_dummy.o dahdi_echocan_oslec.o " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[2]: Entering directory '/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
  You are using: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
  CC [M] dahdi-base.o
dahdi-base.c: In function ‘coretimer_cleanup’:
dahdi-base.c:10142:9: error: implicit declaration of function ‘del_timer_sync’; did you mean ‘dev_mc_sync’? [-Wimplicit-function-declaration]
10142 | del_timer_sync(&core_timer.timer);
      | ^~~~~~~~~~~~~~
      | dev_mc_sync
make[4]: *** [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: dahdi-base.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/dahdi/3.1.0+git20230717/build/drivers/dahdi'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'
make: *** [Makefile:74: modules] Error 2
make -C /lib/modules/6.17.0-7-generic/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/3.1.0+git20230717/build/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[2]: Entering directory '/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
  You are using: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
  CC [M] dahdi-base.o
dahdi-base.c: In function ‘coretimer_cleanup’:
dahdi-base.c:10142:9: error: implicit declaration of function ‘del_timer_sync’; did you mean ‘dev_mc_sync’? [-Wimplicit-function-declaration]
10142 | del_timer_sync(&core_timer.timer);
      | ^~~~~~~~~~~~~~
      | dev_mc_sync
make[4]: *** [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: dahdi-base.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/dahdi/3.1.0+git20230717/build/drivers/dahdi'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'
make: *** [Makefile:74: modules] Error 2

# exit code: 2
# elapsed time: 00:00:03
----------------------------------------------------------------

[ 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 dahdi-dkms:

$ sudo apt install dahdi-dkms

Module built and installed successfully

Load the module:

$ sudo modprobe dahdi

Module loaded successfully

The same procedure must be repeated on linux-6.8 and linux-6.14 to test for possible regressions.

In Questing and Resolute install the latest kernel and repeat the procedure above.

[ Fix ]

Patches to enable 6.15 kernel:

Adding:
-debian/patches/1190-Fix-timer-changes-in-Linux-6.15-6.16.patch
-debian/patches/1200-Kbuild-Use-ccflags-y-instead-of-EXTRA_CFLAGS.patch

Removing:
-debian/patches/1190-rename-to-timer_delete_sync-in-Linux-6.15.patch

Adding Ubuntu Developers as Maintainer

[ Regression potential ]

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

John Cabaj (john-cabaj)
description: updated
Revision history for this message
John Cabaj (john-cabaj) wrote :

1:3.1.0+git20230717~dfsg-10.1 -> 1:3.1.0+git20230717~dfsg-10.1ubuntu1 debdiff

description: updated
Revision history for this message
John Cabaj (john-cabaj) wrote :

1:3.1.0+git20230717~dfsg-10.1 -> 1:3.1.0+git20230717~dfsg-10.1ubuntu0.1 debdiff

Revision history for this message
John Cabaj (john-cabaj) wrote :

1:2.11.1.0.20170917~dfsg-8.4ubuntu5.1 -> 1:2.11.1.0.20170917~dfsg-8.4ubuntu5.2 debdiff

Revision history for this message
John Cabaj (john-cabaj) wrote :
description: updated
Revision history for this message
Massimiliano Pellizzer (mpellizzer) wrote :

Resolute uploaded thanks

Changed in dahdi-linux (Ubuntu Resolute):
status: New → In Progress
Revision history for this message
Massimiliano Pellizzer (mpellizzer) wrote :

For Questing I backported Resolute's package

Changed in dahdi-linux (Ubuntu Questing):
status: New → In Progress
Revision history for this message
Massimiliano Pellizzer (mpellizzer) wrote :

Noble uploaded, thanks

Changed in dahdi-linux (Ubuntu Noble):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dahdi-linux - 1:3.1.0+git20230717~dfsg-10.1ubuntu1

---------------
dahdi-linux (1:3.1.0+git20230717~dfsg-10.1ubuntu1) resolute; urgency=medium

  * Support 6.17 kernel (LP: #2136821)
    - debian/patches:
        - Adding:
            - 1190-rename-to-timer_delete_sync-in-Linux-6.15.patch
            - 1200-Kbuild-Use-ccflags-y-instead-of-EXTRA_CFLAGS.patch
        - Removing:
            - 1190-timer_setup.patch
    - Adding Ubuntu Developers as Maintainer

 -- John Cabaj <email address hidden> Thu, 18 Dec 2025 10:33:10 -0600

Changed in dahdi-linux (Ubuntu Resolute):
status: In Progress → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello John, or anyone else affected,

Accepted dahdi-linux into questing-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dahdi-linux/1:3.1.0+git20230717~dfsg-10.1ubuntu1~25.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-questing to verification-done-questing. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-questing. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in dahdi-linux (Ubuntu Questing):
status: In Progress → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello John, or anyone else affected,

Accepted dahdi-linux into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dahdi-linux/1:2.11.1.0.20170917~dfsg-8.4ubuntu5.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in dahdi-linux (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
John Cabaj (john-cabaj) wrote :

Modules built and installed successfully. Modules loaded successfully on 6.8 and 6.17 kernels:

Noble 6.8 kernel:

root@noble-lts-vm:~# uname -r
6.8.0-90-generic
root@noble-lts-vm:~# modprobe dahdi
root@noble-lts-vm:~#

Noble 6.17 kernel:

root@noble-hwe-vm:~# uname -r
6.17.0-7-generic
root@noble-hwe-vm:~# modprobe dahdi
root@noble-hwe-vm:~#

Questing 6.17 kernel:

root@questing-vm:~# uname -r
6.17.0-8-generic
root@questing-vm:~# modprobe dahdi
root@questing-vm:~#

tags: added: verification-done-noble verification-done-questing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.