[asterisk-users] Zaptel 1.4.10.1 and OSLEC on Ubuntu 8.04

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jun 17 17:37:45 CDT 2008


Hi,

See comments in-line

On Tue, Jun 17, 2008 at 04:56:53PM -0500, Guillermo Salas M. wrote:
> Hi,
> 
> I'm installing zaptel-source_1.4.10.1~dfsg-1_all.deb (from Debian SID)
> into my ubuntu 8.04 box with:
> 
> dpkg -i zaptel-source_1.4.10.1~dfsg-1_all.deb
> ECHO_CAN_NAME=OSLEC m-a -t a-i zaptel

Actually if you look at the changelog entry for that version you'll see:

'* Set OSLEC as the default echo canceller.'

The default build is now with OSLEC.

> 
> Loading the wcfxo module and/or zaptel:
> 
> root at pbx:~# modprobe wcfxo 
> WARNING: Error inserting zaptel
> (/lib/modules/2.6.24-16-server/misc/zaptel.ko): Unknown symbol in
> module, or unknown parameter (see dmesg)
> FATAL: Error inserting wcfxo
> (/lib/modules/2.6.24-16-server/misc/wcfxo.ko): Unknown symbol in module,
> or unknown parameter (see dmesg)
> 
> root at pbx:~# modprobe zaptel
> FATAL: Error inserting zaptel
> (/lib/modules/2.6.24-16-server/misc/zaptel.ko): Unknown symbol in
> module, or unknown parameter (see dmesg)
> 
> When the build is finished and the box restarted, I'm getting this
> dmesg output:
> 
> [   46.160498] zaptel: Unknown symbol oslec_echo_can_identify
> [   46.180909] ztdummy: Unknown symbol zt_receive
> [   46.181054] ztdummy: Unknown symbol zt_transmit
> [   46.181126] ztdummy: Unknown symbol zt_unregister
> [   46.181221] ztdummy: Unknown symbol zt_register

That's odd. zaptel should depend on oslec and pull it on modprobe.



> [  830.118287] zaptel: Unknown symbol oslec_echo_can_identify
> [  830.122738] wcfxo: Unknown symbol zt_receive
> [  830.122890] wcfxo: Unknown symbol zt_ec_chunk
> [  830.123037] wcfxo: Unknown symbol zt_transmit
> [  830.123112] wcfxo: Unknown symbol zt_unregister
> [  830.123212] wcfxo: Unknown symbol zt_hooksig
> [  830.123301] wcfxo: Unknown symbol zt_register
> [  830.123377] wcfxo: Unknown symbol zt_alarm_notify
> [  858.887084] zaptel: Unknown symbol oslec_echo_can_identify
> root at pbx:~# 
> 
> 
> This is the modinfo output:
> 
> root at pbx:~# modinfo zaptel
> filename:       /lib/modules/2.6.24-16-server/misc/zaptel.ko
> version:        1.4.10.1
> license:        GPL
> description:    Zapata Telephony Interface
> author:         Mark Spencer <markster at digium.com>
> srcversion:     927BA7DCB504C0BA7C0CDED
> depends:        oslec,crc-ccitt

zaptel does depend on oslec...

So what can it be?

> vermagic:       2.6.24-16-server SMP mod_unload 686 
> parm:           debug:int
> parm:           deftaps:int
> 
> 
> root at pbx:~# modinfo wcfxo
> filename:       /lib/modules/2.6.24-16-server/misc/wcfxo.ko
> license:        GPL
> author:         Mark Spencer <markster at digium.com>
> description:    Wildcard X100P Zaptel Driver
> srcversion:     194D48A51D46F480234E26A
> alias:          pci:v00001057d00005608sv*sd*bc*sc*i*
> alias:          pci:v0000E159d00000001sv00008087sd*bc*sc*i*
> alias:          pci:v0000E159d00000001sv00008086sd*bc*sc*i*
> alias:          pci:v0000E159d00000001sv00008085sd*bc*sc*i*
> alias:          pci:v0000E159d00000001sv00008084sd*bc*sc*i*
> depends:        zaptel
> vermagic:       2.6.24-16-server SMP mod_unload 686 
> parm:           debug:int
> parm:           quiet:int
> parm:           boost:int
> parm:           monitor:int
> parm:           opermode:int
> 
> 
> root at pbx:~# modinfo oslec
> filename:       /lib/modules/2.6.24-16-server/oslec.ko
> description:    Open Source Line Echo Canceller Zaptel Wrapper
> author:         David Rowe
> license:        GPL
> srcversion:     9C9E87427F162644A61A1CB
> depends:        
> vermagic:       2.6.24-16-server SMP mod_unload 686 

That's a strange place. Is there
/lib/modules/2.6.24-16-server/misc/oslec/oslec.ko ?

  find /lib/modules/2.6.24-16-server/ -name oslec.ko

I suspect there's an older and incompatible copy of oslec.ko around.

> 
> 
> I've the same trouble installing from sources and patching the zaptel
> sources with oslec. I've installed before on debian sarge/etch and
> ubuntu 7.10 without problems.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list