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." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130226/a4c27c2f/attachment.htm>
On Tue, Feb 26, 2013 at 10:38 AM, Doug Lytle <support at drdos.info> wrote:> > 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) > >I encountered the same. Turns out, you need to disable OSLEC in your codec .config, and delete the modules in your /lib/modules/[kernel version]/drivers/staging directory, and then (in your kernel sources) make && make modules && make modules install The dahdi tools actually contains an out-of-tree version that worked out of the box. -- -Chris Harrington ACSDi Office: 763.559.5800 Mobile Phone: 612.326.4248 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130226/7eb0316c/attachment.htm>
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>
On Tue, Feb 26, 2013 at 11:38:15AM -0500, 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).Grab a recent dahdi-source from somewhere: http://packages.debian.org/search?keywords=dahdi-source If that does not work, try: http://updates.xorcom.com/pkg-voip/ With that installed, run: m-a a-i dahdi It already includes OSLEC. -- 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
>>I encountered the same. Turns out, you need to disable OSLEC in your codec .config, and delete the modules in your /lib/modules/[kernel version]/drivers/staging directory, and then >> (in your kernel sources) >> make && make modules && make modules installThere was nothing listed in /usr/src/linux/.config for OSLEC There were no modules in /lib/modules/3.6.9-custom-3.6.9/kernel/drivers/staging for OSLEC Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130226/4c8027e9/attachment.htm>