dahdi-dkms is not compiling correct

Bug #1257160 reported by Oseias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dahdi-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10

$ apt-cache policy dahdi-dkms
dahdi-dkms:
  Instaled: 1:2.5.0.1+dfsg-1ubuntu3
  Candidate: 1:2.5.0.1+dfsg-1ubuntu3

on /usr/src/dahdi-2.5.0.1+dfsg-1ubuntu3/dkms.conf

MAKE[0]="(make modules KERNVER=$kernelver …"

But on /usr/src/dahdi-2.5.0.1+dfsg-1ubuntu3/Makefile kernel version is set using KVERS variable.

ifndef KVERS
KVERS:=$(shell uname -r)
endif

Consequently modules was builded using current kernel headers.
On kernel upgrade, compiled modules don't work correctly on new kernel.

$ uname -a
Linux myhostname 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ modinfo dahdi
filename: /lib/modules/3.11.0-14-generic/updates/dkms/dahdi.ko
alias: dahdi_dummy
license: GPL v2
description: DAHDI Telephony Interface
author: Mark Spencer <email address hidden>
version: 2.5.0.1
srcversion: C983F7FD45B28D0A501EEE0
depends: crc-ccitt
vermagic: 3.11.0-13-generic SMP mod_unload modversions
parm: debug:Sets debugging verbosity as a bitfield, to see general debugging set this to 1. To see RBS debugging set this to 32 (int)
parm: deftaps:int
parm: max_pseudo_channels:Maximum number of pseudo channels. (int)
parm: hwec_overrides_swec:When true, a hardware echo canceller is used instead of configured SWEC. (int)

Needs rebuild modules after boot with new kernel:

$ sudo dkms remove -m dahdi/2.5.0.1+dfsg-1ubuntu3 -k $(uname -r)
$ sudo dkms install -m dahdi/2.5.0.1+dfsg-1ubuntu3 -k $(uname -r)

Oseias (ferreira-oseias)
description: updated
Oseias (ferreira-oseias)
description: updated
Oseias (ferreira-oseias)
description: updated
Oseias (ferreira-oseias)
affects: launchpad → dahdi-linux (Ubuntu)
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.