OSLEC module can't be loaded.

Bug #506210 reported by Babstar
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
dahdi-linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: dahdi-linux

I am trying to use the OSLEC echo canceller, however, the module loading fails.

$lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

$ apt-cache policy dahdi-linux
dahdi-linux:
  Installed: 1:2.2.0.2~dfsg-1ubuntu2
  Candidate: 1:2.2.0.2~dfsg-1ubuntu2
  Version table:
 *** 1:2.2.0.2~dfsg-1ubuntu2 0
        500 http://apt-proxy karmic/universe Packages
        100 /var/lib/dpkg/status

$ sudo modprobe dahdi_echocan_oslec
WARNING: All config files need .conf: /etc/modprobe.d/dahdi, it will be ignored in a future release.
FATAL: Error inserting dahdi_echocan_oslec (/lib/modules/2.6.31-16-generic/updates/dkms/dahdi_echocan_oslec.ko): Unknown symbol in module, or unknown parameter (see dmesg)

$dmeg
[ 3598.879299] dahdi_echocan_oslec: disagrees about version of symbol oslec_create
[ 3598.879315] dahdi_echocan_oslec: Unknown symbol oslec_create
[ 3598.879549] dahdi_echocan_oslec: disagrees about version of symbol oslec_update
[ 3598.879554] dahdi_echocan_oslec: Unknown symbol oslec_update
[ 3598.880335] dahdi_echocan_oslec: disagrees about version of symbol oslec_free
[ 3598.880344] dahdi_echocan_oslec: Unknown symbol oslec_free

Revision history for this message
hackeron (hackeron) wrote :

Same problem here :( - Anyone have a solution?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dahdi-linux (Ubuntu):
status: New → Confirmed
Revision history for this message
James Cox (james-s-cox) wrote :

Can confirm this is still an issue. Slightly different error message...

$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

$ apt-cache policy dahdi-linux
dahdi-linux:
  Installed: 1:2.5.0.1+dfsg-1ubuntu4~14.04.2
  Candidate: 1:2.5.0.1+dfsg-1ubuntu4~14.04.2
  Version table:
 *** 1:2.5.0.1+dfsg-1ubuntu4~14.04.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     1:2.5.0.1+dfsg-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

$ sudo modprobe dahdi_echocan_oslec
modprobe: ERROR: could not insert 'dahdi_echocan_oslec': Invalid argument

$dmesg

[247247.802830] dahdi_echocan_oslec: disagrees about version of symbol oslec_create
[247247.802840] dahdi_echocan_oslec: Unknown symbol oslec_create (err -22)
[247247.802850] dahdi_echocan_oslec: disagrees about version of symbol oslec_update
[247247.802854] dahdi_echocan_oslec: Unknown symbol oslec_update (err -22)
[247247.802896] dahdi_echocan_oslec: disagrees about version of symbol oslec_free
[247247.802899] dahdi_echocan_oslec: Unknown symbol oslec_free (err -22)

Revision history for this message
Charles Boling (junk07+launchpad) wrote :

After a upgrade: Ubuntu 12.04 --> 14.04 (dahdi 2.4.1 --> 2.7.0)
I suddenly had echo, and found that echo_cancellation was turned off. Seeing same messages above.

Revision history for this message
Charles Boling (junk07+launchpad) wrote :

I tried the tip in http://wiki.openvox.cn/index.php/OSLEC_Softecho_Module_Installation_for_DAHDI that said for DAHDI 2.5.0+, to uncomment this line in the source file linux/drivers/dahdi/Kbuild:
     obj-m += dahdi_echocan_oslec.o //enable this
I did so and did a remove/build/install of the dahdi dkms modules, but it still doesn't let the oslec module load. :-(

I finally tired of chasing it down, and used the mg2 canceller for now.

Revision history for this message
BitBrusher (ethy-brito) wrote :

Had same problem here.

I managed to the conclusion that echo.ko that is in my kernel is not the same compiled together with dahdi_echocan_oslec!

Look:
md5sum /lib/modules/3.13.0-66-generic/kernel/drivers/staging/echo/echo.ko
4d13d548ea08ee01fe9958de736f121c /lib/modules/3.13.0-66-generic/kernel/drivers/staging/echo/echo.ko

while

md5sum /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu4~14.04.4/3.13.0-66-generic/x86_64/module/echo.ko
dbf4152d6c86853d8791dbdd36889c34 /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu4~14.04.4/3.13.0-66-generic/x86_64/module/echo.ko

Rename "/lib/modules/3.13.0-66-generic/kernel/drivers/staging/echo/echo.ko" to something else and

cp /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu4~14.04.4/3.13.0-66-generic/x86_64/module/echo.ko \
/lib/modules/3.13.0-66-generic/kernel/drivers/staging/echo/echo.ko

execute "modprobe dahdi_echocan_oslec"

and things will work. At least the module will load flawlessly.

This is a test environmet and I still do not know if oslec is doing its job.

A problem I am facing now is that "dahdi_echocan_oslec" is not been loaded "automatically".
I must do it "manually". My production system loads it automatically.
I mean, there is not an explicit "modprobe dahdi_echocan_oslec" I can find anywhere.
"service dahdi stop" unloads it, but does not loads it!

Cheers

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.