[asterisk-users] DAHDI and Oslec

Marco Signorini marcotasto at libero.it
Tue Feb 26 11:03:00 CST 2013


Hi.
I had the same problem in the past and I've found that there was already 
an echo.ko module built in my kernel module folder.
I've renamed it and replaced with the one compiled with dahdi+oslec and 
it started working as expected.

I was on OpenSuse with kernel 2.6.27.56-0.1... it's very old so I can't 
tell you if this is something true for Debian 6.06 too.

Thanks.
Marco Signorini.



On 02/26/2013 05:38 PM, Doug Lytle wrote:
> I'm hoping someone can help me here.
>
> I've purchased replacement systems for 3 aging 1.4.x installs.  I'm 
> hoping to setup Asterisk 11, dahdi 2.6.1 and Oslec.
>
> I'm also moving those installs from Mandriva 10.0 to Debian 6.06 
> (Squeeze).
>
> In my testing, the TE220P PCIe cards that I have, the timing was awful 
> on both slots, so I compiled Kernel 3.6.9 from kernel.org.  Timing 
> jumped to what I was expecting, so I moved on to recompiling dahdi 
> complete for Oslec.
>
> Browsed the Linux source directory for drivers/staging/echo and copied 
> it to the proper tree in the dahdi complete directory.
>
> Did a make distclean;make clean;make all
>
> And everything compiled cleanly, including oslec.
>
> But, when trying to set my E.C. to oslec, I get:
>
> Feb 26 11:21:37 indyvoip modprobe: FATAL: Error inserting 
> dahdi_echocan_oslec 
> (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): 
> Unknown symbol in module, or unknown parameter (see dmesg)
> Feb 26 11:21:37 indyvoip kernel: [ 1395.262334] dahdi_echocan_oslec: 
> Unknown symbol oslec_create (err 0)
> Feb 26 11:21:37 indyvoip kernel: [ 1395.262348] dahdi_echocan_oslec: 
> Unknown symbol oslec_update (err 0)
> Feb 26 11:21:37 indyvoip kernel: [ 1395.262365] dahdi_echocan_oslec: 
> Unknown symbol oslec_free (err 0)
> Feb 26 11:21:41 indyvoip modprobe: FATAL: Error inserting 
> dahdi_echocan_oslec 
> (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): 
> Unknown symbol in module, or unknown parameter (see dmesg)
> Feb 26 11:21:41 indyvoip kernel: [ 1398.799227] dahdi_echocan_oslec: 
> Unknown symbol oslec_create (err 0)
> Feb 26 11:21:41 indyvoip kernel: [ 1398.799241] dahdi_echocan_oslec: 
> Unknown symbol oslec_update (err 0)
> Feb 26 11:21:41 indyvoip kernel: [ 1398.799258] dahdi_echocan_oslec: 
> Unknown symbol oslec_free (err 0)
>
> And dmesg shows:
>
> [ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0)
> [ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0)
> [ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0)
> [ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0)
> [ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0)
> [ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0)
>
> My Googlng-Fu failed me, as everything was dated from 201 0 and 
> earlier on this error.  I'm guessing that I compiled the kernel wrong, 
> I followed these instructions to create .debs
>
> http://www.howtoforge.com/kernel_compilation_ubuntu
>
> Everything seemed to work well.
>
> Coming from a Mandrake/Mandriva  background, I'm used to just:
>
> make oldconfig
> make menuconfig (Make my changes)
> make all
> make modules_install
> make install
>
> Any hints would be appreciated,
>
> Doug
>
>
>
> -- 
> Ben Franklin quote:
>
> "Those who would give up Essential Liberty to purchase a little 
> Temporary Safety, deserve neither Liberty nor Safety."
>
>
> --
> _____________________________________________________________________
> -- 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130226/799925b4/attachment.htm>


More information about the asterisk-users mailing list