Hi, Can someone walk me through compiling and loading the Zaptel 1.2.10 driver for Mandriva 2006 kernel 2.6.12-12? When I compile and attempt a modprobe I get "module zaptel not found" Thanks Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061109/53aed2ff/attachment.htm
Julian Varanini wrote:> Hi, > > Can someone walk me through compiling and loading the Zaptel 1.2.10 driver for Mandriva 2006 kernel 2.6.12-12? When I compile and attempt a modprobe I get "module zaptel not found"You need to edit /usr/src/linux/Makefile to remove make the EXTRAVERSION variable equal to "-12" rather than the "-12somethingsomethingsomething" it is now. No need to recompile the kernel, just change the make file and recompile and reinstall zaptel.
Hi Eric, Tried that but I am still getting the same error. Thanks Julian> Date: Thu, 9 Nov 2006 17:25:02 -0600> From: eric@fnords.org> To: asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] Modprobe Zaptel> > Julian Varanini wrote:> > Hi,> > > > Can someone walk me through compiling and loading the Zaptel 1.2.10 driver for Mandriva 2006 kernel 2.6.12-12? When I compile and attempt a modprobe I get "module zaptel not found"> > You need to edit /usr/src/linux/Makefile to remove make the EXTRAVERSION > variable equal to "-12" rather than the "-12somethingsomethingsomething" > it is now. No need to recompile the kernel, just change the make file > and recompile and reinstall zaptel.> _______________________________________________> --Bandwidth and Colocation provided by Easynews.com --> > 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/20061109/1991e877/attachment.htm
After running 'make install', do a 'depmod -a'. Then check /lib/modules for the file: find /lib/modules | grep zaptel Be sure the path /lib/modules/<kernel>/extra/zaptel.ko matches up with your currently running kernel (from uname-a) as that is where it will be checking. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Julian Varanini Sent: Thursday, November 09, 2006 15:21 To: asterisk-users@lists.digium.com Subject: [asterisk-users] Modprobe Zaptel Hi, Can someone walk me through compiling and loading the Zaptel 1.2.10 driver for Mandriva 2006 kernel 2.6.12-12? When I compile and attempt a modprobe I get "module zaptel not found" Thanks Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061109/93c90208/attachment.htm
Hi Eric, Your answer solved my problem. I did a uname -r which = 1.6.12-27mdksmp, the Makefile had -27mdkblahblahblah. Once I switched the makefile everything worked. Thanks for your help. Julian> Date: Fri, 10 Nov 2006 12:05:37 -0600> From: eric@fnords.org> To: asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] Modprobe Zaptel> > Doug Lytle wrote:> > Tzafrir Cohen wrote:> >> On Thu, Nov 09, 2006 at 05:25:02PM -0600, Eric ManxPower Wieling wrote:> >> Is such horror normally needed with Mandrake? Doesn't Mandrake provide> >> working kernel headers linked from /lib/modules/`uname -r`/build ?> >>> >> > > I have no issues with Mandriva 2006 or 2007 on compiling Zaptel, nor > > have I ever had to modify the Makefile.> > 2006 and 2007 MAY have changed that. I needed it on 8.1 and 9.2> _______________________________________________> --Bandwidth and Colocation provided by Easynews.com --> > 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/20061113/f77a52db/attachment.htm
Sorry meant 2.6.12-27...... From: jvaranini@hotmail.comTo: asterisk-users@lists.digium.comSubject: RE: [asterisk-users] Modprobe ZaptelDate: Mon, 13 Nov 2006 17:31:24 +0000 Hi Eric, Your answer solved my problem. I did a uname -r which = 1.6.12-27mdksmp, the Makefile had -27mdkblahblahblah. Once I switched the makefile everything worked. Thanks for your help. Julian> Date: Fri, 10 Nov 2006 12:05:37 -0600> From: eric@fnords.org> To: asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] Modprobe Zaptel> > Doug Lytle wrote:> > Tzafrir Cohen wrote:> >> On Thu, Nov 09, 2006 at 05:25:02PM -0600, Eric ManxPower Wieling wrote:> >> Is such horror normally needed with Mandrake? Doesn't Mandrake provide> >> working kernel headers linked from /lib/modules/`uname -r`/build ?> >>> >> > > I have no issues with Mandriva 2006 or 2007 on compiling Zaptel, nor > > have I ever had to modify the Makefile.> > 2006 and 2007 MAY have changed that. I needed it on 8.1 and 9.2> _______________________________________________> --Bandwidth and Colocation provided by Easynews.com --> > 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/20061113/27fc0081/attachment.htm
Hi all For some dumb reason I decided to upgrade from Mandriva 2006 to 2007, thinking I could install asterisk all over again. Anyway I did install asterisk, zaptel and libpri. After install I ran modprobe zaptel which said "zaptel not found". Thanks to help on this mailing list I had a fix to this problem and edited the Makefile located in /usr/src/linux/ to read -6mdv (instead of -6mdvcustom) which matched the uname -r. Then I installed zaptel again and the drivers were still installed in /lib/modules/2.6.17-6mdvcustom and not /lib/modules/2.6.17-6mdv. After many reinstalls and reboots I could not find why they were still moved to that location, so I just moved them from -6mdvcustom to -6mdv and modprobe zaptel did not display any errors. However I needed to run modprobe wcte11xp for it to actually load the driver, when I did not need to do this in 2006 Does anyone know why this is? I can get it all to start up at boot using rc.local, but when I installed zaptel on Mandriva 2006 it loaded at boot on its own. Still in noob territory, Thanks, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061127/9991ec53/attachment.htm
Hi Better late than ever, I guess, On Mon, Nov 27, 2006 at 10:18:56PM +0000, Julian Varanini wrote:> > Hi all > > For some dumb reason I decided to upgrade from Mandriva 2006 to 2007, > thinking I could install asterisk all over again. Anyway I did install > asterisk, zaptel and libpri. After install I ran modprobe zaptel which > said "zaptel not found". Thanks to help on this mailing list I had a > fix to this problem and edited the Makefile located in /usr/src/linux/ > to read -6mdv (instead of -6mdvcustom) which matched the uname -r.As an alternative: make KSRC=/path/to/kernel/src However in most systems that source tree would be pointed from /lib/modules/`uname -r`/build , and this is wher eZaptel looks by default .> > Then I installed zaptel again and the drivers were still installed in > /lib/modules/2.6.17-6mdvcustom and not /lib/modules/2.6.17-6mdv.This may suggest that the tree agaist which you built is not configured to work with your configuration.> After many reinstalls and reboots I could not find why they were > still moved to that location, so I just moved them from -6mdvcustom > to -6mdv and modprobe zaptel did not display any errors. > > However I needed to run modprobe wcte11xp for it to actually load the > driver, when I did not need to do this in 2006 > > Does anyone know why this is? > I can get it all to start up at boot using rc.local, but when I > installed zaptel on Mandriva 2006 it loaded at boot on its own.In a properly-set system, hotplug would load the drivers. Which hardware do you have? -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir