Re: [asterisk-users] Problems with Dahdi 2.3.0.1 trying to load OSLEC

2010-07-20 Thread Tzafrir Cohen
On Mon, Jul 19, 2010 at 05:06:37PM -0400, Jose P. Espinal wrote:
 Hello list,
 
 
 I'm facing a little issue with dahdi attempting to load the OSLEC echo 
 canceller into my current kernel.
 
 After compiling dahdi 2.3.0.1 with OSLEC support, I get the following 
 error when set 'oslec' as the echocanceller:
 
 DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)
 
 - Similar errors are *NOT* present using other echo canncelers.
 - I tried adding the 'dahdi_echocan_oslec' line to /etc/dahdi/modules 
 and the error continues.
 
 I'm running Slackware Linux 13.0, Kernel 2.6.29.6-smp
 
 # dmesg
 ...
 dahdi_echocan_oslec: Unknown symbol oslec_create
 dahdi_echocan_oslec: Unknown symbol oslec_update
 dahdi_echocan_oslec: Unknown symbol oslec_free
 ...
 
 
 Could someone point me to some documentation about this incident?

You're missing the core module of OSLEC: 'echo' or 'oslec'.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with Dahdi 2.3.0.1 trying to load OSLEC

2010-07-20 Thread Jose P. Espinal
Hi Tzafrir,

Maybe I did not understand very well your answer, but just in case, 
doing a 'locate dahdi_echocan*' on the Asterisk box, gives me the 
following output:

...
r...@slackbox:~# locate dahdi_echocan*
/lib/modules/2.6.29.6-smp/dahdi/dahdi_echocan_kb1.ko
/lib/modules/2.6.29.6-smp/dahdi/dahdi_echocan_mg2.ko
/lib/modules/2.6.29.6-smp/dahdi/dahdi_echocan_sec2.ko
/lib/modules/2.6.29.6-smp/dahdi/dahdi_echocan_oslec.ko
/lib/modules/2.6.29.6-smp/dahdi/dahdi_echocan_sec.ko
/lib/modules/2.6.29.6-smp/dahdi/dahdi_echocan_jpah.ko
...

Is there something I should change/add somewhere before/post compiling?

The documentation on the OSLEC website does not give deeper details 
about this. Any idea where else should I looK?



Tzafrir Cohen wrote:
 On Mon, Jul 19, 2010 at 05:06:37PM -0400, Jose P. Espinal wrote:
 Hello list,


 I'm facing a little issue with dahdi attempting to load the OSLEC echo 
 canceller into my current kernel.

 After compiling dahdi 2.3.0.1 with OSLEC support, I get the following 
 error when set 'oslec' as the echocanceller:

 DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)

 - Similar errors are *NOT* present using other echo canncelers.
 - I tried adding the 'dahdi_echocan_oslec' line to /etc/dahdi/modules 
 and the error continues.

 I'm running Slackware Linux 13.0, Kernel 2.6.29.6-smp

 # dmesg
 ...
 dahdi_echocan_oslec: Unknown symbol oslec_create
 dahdi_echocan_oslec: Unknown symbol oslec_update
 dahdi_echocan_oslec: Unknown symbol oslec_free
 ...


 Could someone point me to some documentation about this incident?
 
 You're missing the core module of OSLEC: 'echo' or 'oslec'.
 

-- 
Jose P. Espinal
http://www.eSlackware.com
IRC: Khratos @ #asterisk / -doc / -bugs


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with Dahdi 2.3.0.1 trying to load OSLEC

2010-07-20 Thread Marco Signorini
Hello Jose.

I've found the same problem on some servers and I solved it renaming (or
deleting) the echo.ko driver already present in the binary kernel
distribution:

In my system is something like:
/lib/modules/2.6.27.45-0.1-default/kernel/drivers/staging/echo/echo.ko

Hope this helps you.
Best regards,

Marco Signorini.

-- 
=
- http://www.ethermania.com - 
- http://www.ingegnitech.com - 




Jose P. Espinal wrote:
 Hello list,


 I'm facing a little issue with dahdi attempting to load the OSLEC echo 
 canceller into my current kernel.

 After compiling dahdi 2.3.0.1 with OSLEC support, I get the following 
 error when set 'oslec' as the echocanceller:

 DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)

 - Similar errors are *NOT* present using other echo canncelers.
 - I tried adding the 'dahdi_echocan_oslec' line to /etc/dahdi/modules 
 and the error continues.

 I'm running Slackware Linux 13.0, Kernel 2.6.29.6-smp

 # dmesg
 ...
 dahdi_echocan_oslec: Unknown symbol oslec_create
 dahdi_echocan_oslec: Unknown symbol oslec_update
 dahdi_echocan_oslec: Unknown symbol oslec_free
 ...


 Could someone point me to some documentation about this incident?


 Regards,


   


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with Dahdi 2.3.0.1 trying to load OSLEC

2010-07-20 Thread Jose P. Espinal
Hi Signorini,

I looked for the 'echo.ko' file and is not present but
the file 'dahdi_echocan_oslec' is.

At compile time, I see this:

...
WARNING: oslec_create 
[/root/dahdi_linux-SlackBuild/dahdi-linux-2.3.0.1/drivers/dahdi/dahdi_echocan_oslec.ko]
 
undefined!
WARNING: oslec_free 
[/root/dahdi_linux-SlackBuild/dahdi-linux-2.3.0.1/drivers/dahdi/dahdi_echocan_oslec.ko]
 
undefined!
WARNING: oslec_update 
[/root/dahdi_linux-SlackBuild/dahdi-linux-2.3.0.1/drivers/dahdi/dahdi_echocan_oslec.ko]
 
undefined!
...

I got sure to follow the instructions of the 'README' file of 
dahdi-linux, but still get this error.

Tzafrir Cohen mentioned something about not having the 'echo' or 'oslec' 
module. In this case it seems that the problem is that the 'echo' module 
is not present either in the Kernel (built in) or as a loadable module.
What I did not see in the README file was a reference about how to make 
dahdi compile the 'echo' module.

I think it might be necessary to compile it separately. I'll google it 
around to see what I can find.



Marco Signorini wrote:
 Hello Jose.
 
 I've found the same problem on some servers and I solved it renaming (or
 deleting) the echo.ko driver already present in the binary kernel
 distribution:
 
 In my system is something like:
 /lib/modules/2.6.27.45-0.1-default/kernel/drivers/staging/echo/echo.ko
 
 Hope this helps you.
 Best regards,
 
 Marco Signorini.
 

-- 
Jose P. Espinal
http://www.eSlackware.com
IRC: Khratos @ #asterisk / -doc / -bugs


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Problems with Dahdi 2.3.0.1 trying to load OSLEC

2010-07-19 Thread Jose P. Espinal
Hello list,


I'm facing a little issue with dahdi attempting to load the OSLEC echo 
canceller into my current kernel.

After compiling dahdi 2.3.0.1 with OSLEC support, I get the following 
error when set 'oslec' as the echocanceller:

DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)

- Similar errors are *NOT* present using other echo canncelers.
- I tried adding the 'dahdi_echocan_oslec' line to /etc/dahdi/modules 
and the error continues.

I'm running Slackware Linux 13.0, Kernel 2.6.29.6-smp

# dmesg
...
dahdi_echocan_oslec: Unknown symbol oslec_create
dahdi_echocan_oslec: Unknown symbol oslec_update
dahdi_echocan_oslec: Unknown symbol oslec_free
...


Could someone point me to some documentation about this incident?


Regards,


-- 
Jose P. Espinal
http://www.eSlackware.com
IRC: Khratos @ #asterisk / -doc / -bugs

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users