[Home]

Summary:DAHLIN-00344: Patches to build against kernel 3.18.x & 3.19.x (Fedora 21)
Reporter:LiuYan刘研 (lovetide)Labels:
Date Opened:2015-04-08 02:31:39Date Closed:2015-04-08 10:31:13
Priority:BlockerRegression?
Status:Closed/CompleteComponents:dahdi (the module)
Versions:2.10.0.1 Frequency of
Occurrence
Related
Issues:
Environment:Fedora 21Attachments:( 0) dahdi-linux-kernel-3.18-3.19.patch
Description:When building in Fedora 21 (linux kernel 3.18 & 3.19), dahdi-linux compiling failed with errors due to api changed in linux kernel 3.18 & 3.19.

This patch works for me.
Comments:By: LiuYan刘研 (lovetide) 2015-04-08 02:51:47.972-0500

How to apply this patch:

cd dahdi-linux-complete-2.10.0.1+2.10.0.1/linux
patch -p1 <  dahdi-linux-kernel-3.18-3.19.patch

By: Shaun Ruffell (sruffell) 2015-04-08 09:12:06.164-0500

Hi LiuYan,

I looks like the patch is a combination of [dahdi: smp_mb_\{before,after\}_clear_bit -> smp_mb_\{before,after\}_atomic.|http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=378986841cbf7c94e43dc34580def06088116652] and [dahdi: struct file.f_dentry macro was removed in kernel 3.19|http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=4d86a8f3f690ee9bb9429e17cc03856c6c2dc760] which are both in the 2.10.1 release.

Cheers,
Shaun

By: LiuYan刘研 (lovetide) 2015-04-08 10:27:59.145-0500

Sorry, my bad. didn't noticed a new version (2.10.1) was released. and labeled with a wrong affected version.

Affected version changed, and issue closed. sorry!

By: LiuYan刘研 (lovetide) 2015-04-08 10:31:13.361-0500

As Shaun Ruffell mentioned, it's already in 2.10.1 release. Sorry again!