Re: [Asterisk-Users] linux kernel 2.6.6
On Wed, 14 Jul 2004 15:11:20 +1200, Carlos Hernandez [EMAIL PROTECTED] wrote: Hi Leif: Could you please send me the right line here, and where should it be run? If what you mention is the recommended way in 2.6, I'd like to do it that way. I have compiled with the traditional : ... point /usr/src/linux-2.6 at /usr/src/linux, and then forget about it method, and will be testing next. Hi Carlos, I give the information in /usr/src/zaptel/README.Linux26 More information about symlinks can be found by doing a man ln from your distributions CLI. Thanks, Leif Madsen http://www.asteriskdocs.org ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
Hi Leif: Could you please send me the right line here, and where should it be run? If what you mention is the recommended way in 2.6, I'd like to do it that way. I have compiled with the traditional : ... point /usr/src/linux-2.6 at /usr/src/linux, and then forget about it method, and will be testing next. Thanks, Carlos Leif Madsen wrote: When using Fedora Core 2, you have to manually grab the sources by performing yum install kernel-sourcecode As of 2.6.6, the sources has changed from kernel-source to kernel-sourcecode. Also, from what I have been told (and I've tested this by building zaptel, but not any of the other sources) is that you no longer need the sourcecode with the 2.6 kernel. You can create a symlink to: /lib/modules/`uname -r`/build/ Instead of the kernel source code. Apparently that is the correct way to compile now with the 2.6 kernel. Please correct me if I am totally wrong as it is not my intension to give false information (but like I said, I built zaptel against that, and it works great for me). Thanks, Leif Madsen http://www.asteriskdocs.org ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] linux kernel 2.6.6
Leif Madsen [EMAIL PROTECTED] wrote: Also, from what I have been told (and I've tested this by building zaptel, but not any of the other sources) is that you no longer need the sourcecode with the 2.6 kernel. You can create a symlink to: /lib/modules/`uname -r`/build/ Instead of the kernel source code. Apparently that is the correct way to compile now with the 2.6 kernel. Please correct me if I am totally wrong as it is not my intension to give false information (but like I said, I built zaptel against that, and it works great for me). Either way is fine. I build the kernel from source every time (Gentoo), so I always have it as an available symlink target. If you're forced to use a binary kernel distro then symlinking to /lib/modules/... is fine. -- _/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/ _/_/_/_/_/ _/ K e v i n W a l s h _/ _/_/ _/ _/ _/_/ _/_/[EMAIL PROTECTED] _/ _/ _/_/_/_/ _/_/_/_/ _/_/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
Kevin Walsh wrote: Leif Madsen [EMAIL PROTECTED] wrote: Also, from what I have been told (and I've tested this by building zaptel, but not any of the other sources) is that you no longer need the sourcecode with the 2.6 kernel. You can create a symlink to: /lib/modules/`uname -r`/build/ Instead of the kernel source code. Apparently that is the correct way to compile now with the 2.6 kernel. Please correct me if I am totally wrong as it is not my intension to give false information (but like I said, I built zaptel against that, and it works great for me). Either way is fine. I build the kernel from source every time (Gentoo), so I always have it as an available symlink target. If you're forced to use a binary kernel distro then symlinking to /lib/modules/... is fine. I believe linking to /lib/modules/xyz/build is the new and approved way that should be done for all external drivers in 2.6, whether it's a binary kernel or from source. (of course, I'm going to continue using /usr/src/linux for a while, heh...) ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
Dorian Gray wrote: Kevin Walsh wrote: Leif Madsen [EMAIL PROTECTED] wrote: Also, from what I have been told (and I've tested this by building zaptel, but not any of the other sources) is that you no longer need the sourcecode with the 2.6 kernel. You can create a symlink to: /lib/modules/`uname -r`/build/ Instead of the kernel source code. Apparently that is the correct way to compile now with the 2.6 kernel. Please correct me if I am totally wrong as it is not my intension to give false information (but like I said, I built zaptel against that, and it works great for me). Either way is fine. I build the kernel from source every time (Gentoo), so I always have it as an available symlink target. If you're forced to use a binary kernel distro then symlinking to /lib/modules/... is fine. I believe linking to /lib/modules/xyz/build is the new and approved way that should be done for all external drivers in 2.6, whether it's a binary kernel or from source. (of course, I'm going to continue using /usr/src/linux for a while, heh...) I found linking to /lib/modules/XXX/build far simpler and would build far easier than linking to anywhere else.. Later.. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
Robert Withrow wrote: On Tue, 2004-06-29 at 14:52, Kevin Walsh wrote: Robert Withrow [EMAIL PROTECTED] wrote: Do you have CVS ebuilds? That would make it a lot easier for us Gentoo folks. There'd have to be a release before that happens. :-) No, there are cvs ebuilds that fetch the latest from CVS and then do the right thing with it. I just thought you might have created them already. There is a Gentoo bug already asking for these. actually, that bug does not *ask* for cvs ebuilds, it *provides* them ^_^ http://bugs.gentoo.org/show_bug.cgi?id=33345 I doubt gentoo plans to ever add them to portage, but zaptel-cvs-0.5.ebuild and asterisk-cvs-0.2.ebuild work just fine in overlay mode, with linux 2.4 and 2.6. what I do: point /usr/src/linux-2.6 at /usr/src/linux, and then forget about it. then just link /usr/src/linux to the latest kernel sources I'm using. Just get the latest source from CVS and type make and make install. It's almost as easy as an emerge and doesn't take any more or less time. Yes, but you don't get the Gentoo integration. An emerge would probably splatter files all over the filesystem, just like the default Asterisk install, whereas I prefer to have it all neatly under /opt/asterisk. That's easily done when you're controlling the make, but emerge probably wouldn't provide a tidy install option. Opinions vary no doubt, but I don't see any benefit to that. The emerge toolset (qpkg, etc.) is explicit where things go, and the result is integrated with everything else in the system, including management (/etc/init.d) and the consistent use of /var and /etc. I don't want multiple layouts on my system. yep, if I emerge unmerge asterisk-cvs or zaptel-cvs, it does a great job of cleaning up whatever the initial emerge put onto the filesystem (except /etc/* of course, which is protected, and also any .gsm/keys/etc. I added that emerge did not put there itself) I still don't like the asterisk init.d script tho, inittab much preferred here. cheers ++dg ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
When using Fedora Core 2, you have to manually grab the sources by performing yum install kernel-sourcecode As of 2.6.6, the sources has changed from kernel-source to kernel-sourcecode. Also, from what I have been told (and I've tested this by building zaptel, but not any of the other sources) is that you no longer need the sourcecode with the 2.6 kernel. You can create a symlink to: /lib/modules/`uname -r`/build/ Instead of the kernel source code. Apparently that is the correct way to compile now with the 2.6 kernel. Please correct me if I am totally wrong as it is not my intension to give false information (but like I said, I built zaptel against that, and it works great for me). Thanks, Leif Madsen http://www.asteriskdocs.org ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
I had zaptel and asterisk running on the 2.6.6 kernel of Fedora code 2, but I had to manually update my kernel source to the 2.6.6 source before I could get the modules to compile and run. YUM and up2date didn't automatically update the kernel source on my system because the rpm name changed from kernel-source to kernel-sourcecode. I still had some major crashing issues after I got it to work so I switched to Debian, but maybe this will help you out. -Kevin Steve Totaro wrote: I am trying the same thing. Now I get this message in /var/log/messages after trying modprobe zaptel. kernel: zaptel: version magic '2.6.5-1.358custom 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.5-1.358 686 REGPARM 4KSTACKS gcc-3.3' This is fedora 2 core. Any ideas? Thanks, Steve - Original Message - From: "Kevin Walsh" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 5:10 AM Subject: RE: [Asterisk-Users] linux kernel 2.6.6 yaboo [[EMAIL PROTECTED]] wrote: trying to compile asterisk under linux kernel 2.6.6. Currently under zaptel get the following error make linux26 Link /usr/src/linux-2.6 to your kernel sources first! make: *** [linux26] Error 1 Type this: # cd /usr/src # ln -s linux linux-2.6 That'll "link linux-2.6 to your kernel sources". Error messages are your friend. is 2.6 not compatiable with asterisk and should I go back to 2.4.26. I'm using "2.6.7-gentoo-r6" and it works very well. I assume you're using the latest Zaptel and Asterisk from CVS. -- _/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/ _/_/_/_/_/ _/ K e v i n W a l s h _/ _/_/ _/ _/ _/_/ _/_/[EMAIL PROTECTED] _/ _/ _/_/_/_/ _/_/_/_/ _/_/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
On Tue, 2004-06-29 at 23:35 -0400, Steve Totaro wrote: I am trying the same thing. Now I get this message in /var/log/messages after trying modprobe zaptel. kernel: zaptel: version magic '2.6.5-1.358custom 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.5-1.358 686 REGPARM 4KSTACKS gcc-3.3' This is fedora 2 core. Any ideas? Don't know about fedora but Mandrake has the same problem with their sources (plain vanilla ex kernel.org does not) the main Makefile has the following :- EXTRAVERSION = -4mdkcustom Just remove custom and it should work(tm) -- Dave Cotton [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] linux kernel 2.6.6
Thank You! This was just the info I needed...I was wondering why my kernel source didn't get updated on FC2 by YUM, but I just haven't had time to track it down. Thanks, Ed From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kbrownSent: Wednesday, June 30, 2004 6:54 AMTo: [EMAIL PROTECTED]Subject: Re: [Asterisk-Users] linux kernel 2.6.6 I had zaptel and asterisk running on the 2.6.6 kernel of Fedora code 2, but I had to manually update my kernel source to the 2.6.6 source before I could get the modules to compile and run. YUM and up2date didn't automatically update the kernel source on my system because the rpm name changed from kernel-source to kernel-sourcecode. I still had some major crashing issues after I got it to work so I switched to Debian, but maybe this will help you out.-KevinSteve Totaro wrote: I am trying the same thing. Now I get this message in /var/log/messages after trying modprobe zaptel. kernel: zaptel: version magic '2.6.5-1.358custom 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.5-1.358 686 REGPARM 4KSTACKS gcc-3.3' This is fedora 2 core. Any ideas? Thanks, Steve - Original Message - From: "Kevin Walsh" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 5:10 AM Subject: RE: [Asterisk-Users] linux kernel 2.6.6 yaboo [[EMAIL PROTECTED]] wrote: trying to compile asterisk under linux kernel 2.6.6. Currently under zaptel get the following error make linux26 Link /usr/src/linux-2.6 to your kernel sources first! make: *** [linux26] Error 1 Type this: # cd /usr/src # ln -s linux linux-2.6 That'll "link linux-2.6 to your kernel sources". Error messages are your friend. is 2.6 not compatiable with asterisk and should I go back to 2.4.26. I'm using "2.6.7-gentoo-r6" and it works very well. I assume you're using the latest Zaptel and Asterisk from CVS. -- _/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/ _/_/_/_/_/ _/ K e v i n W a l s h _/ _/_/ _/ _/ _/_/ _/_/[EMAIL PROTECTED] _/ _/ _/_/_/_/ _/_/_/_/ _/_/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] linux kernel 2.6.6
Hi All trying to compile asterisk under linux kernel 2.6.6. Currently under zaptel get the following error make linux26 Link /usr/src/linux-2.6 to your kernel sources first! make: *** [linux26] Error 1 as going from the readme. is 2.6 not compatiable with asterisk and should I go back to 2.4.26. Also has anyone got the sipura 3000 working with asterisk, both fxo and the fxs ports on the unit. regards Joseph ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
On Tue, 2004-06-29 at 17:43 +1000, yaboo wrote: Hi All trying to compile asterisk under linux kernel 2.6.6. Currently under zaptel get the following error make linux26 Link /usr/src/linux-2.6 to your kernel sources first! make: *** [linux26] Error 1 as going from the readme. So ln -s /usr/src/your source directory /usr/src/linux-2.6 is 2.6 not compatiable with asterisk No (2 negatives = positive) Yes * and 2.6 do work perfectly and should I go back to 2.4.26. Only if you can't follow the above. :) -- Dave Cotton [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] linux kernel 2.6.6
yaboo [EMAIL PROTECTED] wrote: trying to compile asterisk under linux kernel 2.6.6. Currently under zaptel get the following error make linux26 Link /usr/src/linux-2.6 to your kernel sources first! make: *** [linux26] Error 1 Type this: # cd /usr/src # ln -s linux linux-2.6 That'll link linux-2.6 to your kernel sources. Error messages are your friend. is 2.6 not compatiable with asterisk and should I go back to 2.4.26. I'm using 2.6.7-gentoo-r6 and it works very well. I assume you're using the latest Zaptel and Asterisk from CVS. -- _/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/ _/_/_/_/_/ _/ K e v i n W a l s h _/ _/_/ _/ _/ _/_/ _/_/[EMAIL PROTECTED] _/ _/ _/_/_/_/ _/_/_/_/ _/_/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] linux kernel 2.6.6
On Tue, 2004-06-29 at 05:10, Kevin Walsh wrote: I'm using 2.6.7-gentoo-r6 and it works very well. I assume you're using the latest Zaptel and Asterisk from CVS. Do you have CVS ebuilds? That would make it a lot easier for us Gentoo folks. Thanks! -- Robert Withrow, [EMAIL PROTECTED], +1 978 288 8256, ESN 248 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] linux kernel 2.6.6
Robert Withrow [EMAIL PROTECTED] wrote: On Tue, 2004-06-29 at 05:10, Kevin Walsh wrote: I'm using 2.6.7-gentoo-r6 and it works very well. I assume you're using the latest Zaptel and Asterisk from CVS. Do you have CVS ebuilds? That would make it a lot easier for us Gentoo folks. There'd have to be a release before that happens. :-) Just get the latest source from CVS and type make and make install. It's almost as easy as an emerge and doesn't take any more or less time. An emerge would probably splatter files all over the filesystem, just like the default Asterisk install, whereas I prefer to have it all neatly under /opt/asterisk. That's easily done when you're controlling the make, but emerge probably wouldn't provide a tidy install option. -- _/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/ _/_/_/_/_/ _/ K e v i n W a l s h _/ _/_/ _/ _/ _/_/ _/_/[EMAIL PROTECTED] _/ _/ _/_/_/_/ _/_/_/_/ _/_/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] linux kernel 2.6.6
On Tue, 2004-06-29 at 14:52, Kevin Walsh wrote: Robert Withrow [EMAIL PROTECTED] wrote: Do you have CVS ebuilds? That would make it a lot easier for us Gentoo folks. There'd have to be a release before that happens. :-) No, there are cvs ebuilds that fetch the latest from CVS and then do the right thing with it. I just thought you might have created them already. There is a Gentoo bug already asking for these. Just get the latest source from CVS and type make and make install. It's almost as easy as an emerge and doesn't take any more or less time. Yes, but you don't get the Gentoo integration. An emerge would probably splatter files all over the filesystem, just like the default Asterisk install, whereas I prefer to have it all neatly under /opt/asterisk. That's easily done when you're controlling the make, but emerge probably wouldn't provide a tidy install option. Opinions vary no doubt, but I don't see any benefit to that. The emerge toolset (qpkg, etc.) is explicit where things go, and the result is integrated with everything else in the system, including management (/etc/init.d) and the consistent use of /var and /etc. I don't want multiple layouts on my system. Anyway, this is going off-topic so it should probably stop here... ;-) -- Robert Withrow, [EMAIL PROTECTED], +1 978 288 8256, ESN 248 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
Robert Withrow [EMAIL PROTECTED] wrote: Rob Dont suppose you know any under-utilized dsp engineer types at Nortel that might want eye ball the echo can code in * would ya :) ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
On Tue, 2004-06-29 at 17:38, TC wrote: Dont suppose you know any under-utilized dsp engineer types at Nortel that might want eye ball the echo can code in * would ya :) We might get to that yet. Of course, we would also have to get the folks at Grandstream to fix the echos in their phones (on speakerphone). ;-) -- Robert Withrow, [EMAIL PROTECTED], +1 978 288 8256, ESN 248 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] linux kernel 2.6.6
I am trying the same thing. Now I get this message in /var/log/messages after trying modprobe zaptel. kernel: zaptel: version magic '2.6.5-1.358custom 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.5-1.358 686 REGPARM 4KSTACKS gcc-3.3' This is fedora 2 core. Any ideas? Thanks, Steve - Original Message - From: Kevin Walsh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 5:10 AM Subject: RE: [Asterisk-Users] linux kernel 2.6.6 yaboo [EMAIL PROTECTED] wrote: trying to compile asterisk under linux kernel 2.6.6. Currently under zaptel get the following error make linux26 Link /usr/src/linux-2.6 to your kernel sources first! make: *** [linux26] Error 1 Type this: # cd /usr/src # ln -s linux linux-2.6 That'll link linux-2.6 to your kernel sources. Error messages are your friend. is 2.6 not compatiable with asterisk and should I go back to 2.4.26. I'm using 2.6.7-gentoo-r6 and it works very well. I assume you're using the latest Zaptel and Asterisk from CVS. -- _/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/ _/_/_/_/_/ _/ K e v i n W a l s h _/ _/_/ _/ _/ _/_/ _/_/[EMAIL PROTECTED] _/ _/ _/_/_/_/ _/_/_/_/ _/_/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users