[Home]

Summary:DAHLIN-00372: [PATCH] Dahdi linux fail to build for Linux 5.4
Reporter:Paolo Pisati (paolo.pisati)Labels:
Date Opened:2019-11-19 07:30:03.000-0600Date Closed:
Priority:MajorRegression?
Status:Triage/NewComponents:dahdi (the module)
Versions:2.11.1 Frequency of
Occurrence
Constant
Related
Issues:
is duplicated byDAHLIN-00379 Dahdi-Linux 3.1.0 cannot compile against Kernel 5.4.x
is duplicated byDAHLIN-00393 DAHDI no longer compiles due to pcm-aspm
Environment:Linux 5.4Attachments:
Description:Dahdi DKMS fails to build wrt Linux 5.4 - see the attached patch for a fix.
Comments:By: Paolo Pisati (paolo.pisati) 2019-11-19 07:35:27.276-0600

Can't find a way to attach files, so here's the full debdiff patch:

https://people.canonical.com/~ppisati/dahdi-linux-5.4/dahdi-linux_2.11.1~dfsg-1ubuntu6.debdiff

and here's just the code patch:

https://people.canonical.com/~ppisati/dahdi-linux-5.4/kernel-compat-5.4.patch

Hope that helps.



By: Shaun Ruffell (sruffell) 2019-11-21 02:06:40.303-0600

HI Paolo,

Just a heads up that I've also pushed a commit to the next branch that fixes this as well. Although, I've also moved the include into the board drivers that actually used the ASPM definitions as well instead of keeping it in the general DAHDI include.

http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=45ac6a30f922f4eef54c0120c2a537794b20cf5c

Does the next branch work for you? If you wanted to try it out, I could add your name / identity to those commits.

By: Paolo Pisati (paolo.pisati) 2019-11-21 04:02:50.073-0600

Works for me, you can close this issue then.

By: Keith Morgan (kmorgan) 2019-11-21 08:43:07.432-0600

Request sent for some testing. Thank you for the patch and the commits.

By: Alexander Traud (traud) 2020-04-03 11:59:58.209-0500

The upcoming Ubuntu 20.04 LTS (in beta since yesterday) is affected by this.