Re: [Asterisk-Users] Help compiling zaptel in Debian
On Sun, May 15, 2005 at 08:15:10PM -0600, Andres Paglayan wrote: > follow this link > ignore the German and see the commands > http://www.vonloesch.de/node/17 > > for the last part be sure that you modprobe the right driver for your > particular device. I don't read german, but those instructions are slightly out-of-date. Specifaically, the current kernel varion in Sarge is 2.4.27-*2* and not *1* . The debian packages also try to provide you nicer to build zaptel packages. (And did I ever mention I have them pre-built at http://tzafrir.org.il/rapid/ ?) > > one little thing is that in Debian you shouldn't use /usr/local/bin, but > /usr/bin, if you are using the source from digium you might to search > and replace within Makefiles Actually, if you build binaries on your own and not from packages, they should generally go to under /usr/local per the Debian policy. That way it is guaranteed to never colide with any later package, for instance. The same holds for most other distros. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
follow this link ignore the German and see the commands http://www.vonloesch.de/node/17 for the last part be sure that you modprobe the right driver for your particular device. one little thing is that in Debian you shouldn't use /usr/local/bin, but /usr/bin, if you are using the source from digium you might to search and replace within Makefiles ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
Manuel, Here are a couple suggestions: 1) I see that your modules directory is "/lib/modules/2.4.20-686", while mine is "/lib/modules/2.4.19". Maybe your kernel source directory also has a "-686" appended to it. Verify the location of your kernel source and adjust the ln statements accordingly. Keep in mind that "ln -s" will create a symbolic link to a target that does not exist without printing any messages. 2) Verify that gcc's output looks normal when it is compiling "ztd-eth.c". 3) From "http://voip-info.org/tiki-index.php?page=Asterisk%20Zaptel%20Installation"; If you get problems with 'depmod -a' announcing unresolved symbols, then * try running 'depmod -ae' to see the names of the symbols it can't resolve. Maybe the names can give a hint where to look next. * make sure you're using the latest versions of the various development tools (gcc etc) * make sure you've got the kernel source, kernel headers, and kernel image all at a matching version. What version of gcc are you using? Type "gcc -v" at the command line to find out. I'm at 3.3.5 and I had to do some tinkering with apt to access testing sources in order to upgrade to it. Let me know if you'd like documentation on the steps I took. Matthew Roth http://voip-info.org/tiki-index.php?page=Running%20Asterisk%20on%20Debian Manuel Casal wrote: ...snip... depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ `id -u` = 0 ] && /sbin/depmod -a || : depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf I have previously made the make oldconfig and the make dep ... I'm using debian with 2.4.20 kernel... any ideas..? thanks ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
Thanks Tzafir, Tzafrir Cohen escribió: What version of zaptel? zaptel-1.0.6 st-install tor2 /sbin/ztcfg post-install wcusb /sbin/ztcfg post-install wcfxo /sbin/ztcfg post-install ztdynamic /sbin/ztcfg post-install ztd-eth /sbin/ztcfg post-install wct1xxp /sbin/ztcfg post-install wct4xxp /sbin/ztcfg post-install wcte11xp /sbin/ztcfg if [ -d /etc/modutils ]; then \ /sbin/update-modules ; \ fi depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ `id -u` = 0 ] && /sbin/depmod -a || : depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o What are those symbols? depmod -a -e depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o depmod: dev_queue_xmit_Rf545a223 depmod: skb_over_panic_R962bc4c0 depmod: dev_remove_pack_Rb60986ee depmod: skb_under_panic_Rf83da1af depmod: alloc_skb_Rb03e7172 depmod: dev_get_by_name_R6494aac0 depmod: __kfree_skb_Rf897b235 depmod: dev_add_pack_R20da3cfe Only a problem with ztd-eth?Any change that you didn't build it this time? Look at the dates of files in /lib/modules/2.4.20-686/ Yes. asterix:~# ls -l /lib/modules/2.4.20-686/ total 336 drwxr-xr-x2 root root 4096 Apr 11 16:19 boot drwxr-xr-x7 root root 4096 Apr 11 16:19 kernel drwxr-xr-x2 root root 4096 Apr 18 22:58 misc -rw-r--r--1 root root 104821 Apr 19 13:28 modules.dep -rw-r--r--1 root root 31 Apr 19 13:28 modules.generic_string -rw-r--r--1 root root 147 Apr 19 13:28 modules.ieee1394map -rw-r--r--1 root root 7965 Apr 19 13:28 modules.isapnpmap -rw-r--r--1 root root 29 Apr 19 13:28 modules.parportmap -rw-r--r--1 root root75167 Apr 19 13:28 modules.pcimap -rw-r--r--1 root root 24 Apr 19 13:28 modules.pnpbiosmap -rw-r--r--1 root root 107913 Apr 19 13:28 modules.usbmap [ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf I have previously made the make oldconfig and the make dep ... I'm using debian with 2.4.20 kernel... Debian stable , that is, right? Yes, again..;) /me wonders what would it take to freshen the backport of asterisk. Any volunteers? Thanks ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
I have compile Asterisk many times on Woody without any problems. I am not sure about the error your are receiving but some things that you might want to watch for. * You need to recompile the kernel with the source for Woody I think this is currently 2.4.18 I noticed you have 2.4.20. * Use the kernel definition distributed with Woody, don't make this up as you go, or things will get ugly fast every time I think I know better I end up recompiling after it doesn't work. * Get the tar ball distribution of Asterisk, Zaptel and libpri, don't use the CVS. I don't know CVS that well and I have always had trouble getting the right version of the code. The tar balls are a nice package and they are stable releases. * For the time being avoid the Debian packages, recently they got the libpri out of sync and we had to compile things manually to bring our system back up after everything came tumbling down. * Don't do anything fancy, Woody is stable, asterisk and the support software will compile if you do everything just right ;) * All else fails you can use Sarge but the process is the same as are the pit falls. While all of our development systems are running Sarge now, Sarge still has a large number of updates that you need to keep up with and this can be frustrating. Finally, if you are still having trouble, we build and compile these systems regularly for customers and we can help you if you need the assistance. Good luck Scott Henderson Finite Technologies Incorporated 3763 Image Drive, Anchorage, Alaska 99504 Phone: 907.339.8085 ext 6101, Fax: 907.333.4482 http://www.finite-tech.com http://www.chillywall.com http://www.virtuale.cc http://www.mphage.com Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK Tzafrir Cohen wrote: On Mon, Apr 18, 2005 at 04:28:26PM +0200, Manuel Casal wrote: During the zaptel configuration at the end of it there is this error: What version of zaptel? post-install tor2 /sbin/ztcfg post-install wcusb /sbin/ztcfg post-install wcfxo /sbin/ztcfg post-install ztdynamic /sbin/ztcfg post-install ztd-eth /sbin/ztcfg post-install wct1xxp /sbin/ztcfg post-install wct4xxp /sbin/ztcfg post-install wcte11xp /sbin/ztcfg if [ -d /etc/modutils ]; then \ /sbin/update-modules ; \ fi depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ `id -u` = 0 ] && /sbin/depmod -a || : depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o What are those symbols? depmod -a -e Only a problem with ztd-eth? Any change that you didn't build it this time? Look at the dates of files in /lib/modules/2.4.20-686/ [ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf I have previously made the make oldconfig and the make dep ... I'm using debian with 2.4.20 kernel... Debian stable , that is, right? /me wonders what would it take to freshen the backport of asterisk. Any volunteers? ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
On Mon, Apr 18, 2005 at 08:41:14PM +0200, Manuel Casal wrote: > Hi Matt, > I have used your wiki page as my principal and best source of > documentation. > I have followed all the steps in it carefully: download and install the > asterisk requeriments(with apt-get), download the kernel source, make > mrproper, make oldconfig (with the .config file from the kernell > package), make dep, and finaly try to compile zaptel. > The problem is the depmod issue, that only fails in the ztd-eth.o module > the rest of the modules (wcfxo,etc..) loads succesfuly. > > I also try the make menuconfig, make dep alternative with the same result. > Any kind of help will be welcome. I have not tried it with stable, but with testing I have very good luck with kernel-package to package modules packages. Nowadays the zaptel package in Sid/Sarge has moved to use modules-assistant, so I don't need those direct commands, but I still have them saved. The result is a nice little package of zaptel modules for your specific kernel (or for a specific kernel. The kernel-headers package is most useful). It may take minimal massaging of the source tarball, and the current debian package could serve as a reference. And you won't have to go around guessing dates. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
On Mon, Apr 18, 2005 at 04:28:26PM +0200, Manuel Casal wrote: > During the zaptel configuration at the end of it there is this error: What version of zaptel? > > post-install tor2 /sbin/ztcfg > post-install wcusb /sbin/ztcfg > post-install wcfxo /sbin/ztcfg > post-install ztdynamic /sbin/ztcfg > post-install ztd-eth /sbin/ztcfg > post-install wct1xxp /sbin/ztcfg > post-install wct4xxp /sbin/ztcfg > post-install wcte11xp /sbin/ztcfg > if [ -d /etc/modutils ]; then \ >/sbin/update-modules ; \ > fi > depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o > [ `id -u` = 0 ] && /sbin/depmod -a || : > depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o What are those symbols? depmod -a -e Only a problem with ztd-eth? Any change that you didn't build it this time? Look at the dates of files in /lib/modules/2.4.20-686/ > [ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample > /etc/zaptel.conf > > > I have previously made the make oldconfig and the make dep ... > > I'm using debian with 2.4.20 kernel... Debian stable , that is, right? /me wonders what would it take to freshen the backport of asterisk. Any volunteers? -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
Hi Matt, I have used your wiki page as my principal and best source of documentation. I have followed all the steps in it carefully: download and install the asterisk requeriments(with apt-get), download the kernel source, make mrproper, make oldconfig (with the .config file from the kernell package), make dep, and finaly try to compile zaptel. The problem is the depmod issue, that only fails in the ztd-eth.o module the rest of the modules (wcfxo,etc..) loads succesfuly. I also try the make menuconfig, make dep alternative with the same result. Any kind of help will be welcome. Thanks Manuel, This is from my Wiki page on running Asterisk on Debian/GNU Linux. Build and Install Zaptel Zaptel provides support for Digium hardware. The following steps can be followed to build and install Zaptel. 1. Create symbolic links to the new kernel's source files by issuing the following commands at a console window's command line: cd /usr/src ln -s /usr/src/kernel-source-2.4.20 linux ln -s /usr/src/kernel-source-2.4.20 linux-2.4 2. Build and install Zaptel by issuing the following commands at a console window's command line: cd /usr/src/zaptel make clean; make install I'm pretty sure that will solve your problem. My Wiki page has been stagnant for a while, because I've been dealing with the rather steep Asterisk learning curve, but I've got a ton of notes on paper that I'll be adding to the page once I hit my next documentation stage. Matthew Roth http://www.voip-info.org/tiki-index.php?page=Running%20Asterisk%20on%20Debian Manuel Casal wrote: ...snip... depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ `id -u` = 0 ] && /sbin/depmod -a || : depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf I have previously made the make oldconfig and the make dep ... I'm using debian with 2.4.20 kernel... any ideas..? thanks ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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 Asterisk-Users@lists.digium.com 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 Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
Manuel, This is from my Wiki page on running Asterisk on Debian/GNU Linux. Build and Install Zaptel Zaptel provides support for Digium hardware. The following steps can be followed to build and install Zaptel. 1. Create symbolic links to the new kernel's source files by issuing the following commands at a console window's command line: cd /usr/src ln -s /usr/src/kernel-source-2.4.20 linux ln -s /usr/src/kernel-source-2.4.20 linux-2.4 2. Build and install Zaptel by issuing the following commands at a console window's command line: cd /usr/src/zaptel make clean; make install I'm pretty sure that will solve your problem. My Wiki page has been stagnant for a while, because I've been dealing with the rather steep Asterisk learning curve, but I've got a ton of notes on paper that I'll be adding to the page once I hit my next documentation stage. Matthew Roth http://www.voip-info.org/tiki-index.php?page=Running%20Asterisk%20on%20Debian Manuel Casal wrote: ...snip... depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ `id -u` = 0 ] && /sbin/depmod -a || : depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf I have previously made the make oldconfig and the make dep ... I'm using debian with 2.4.20 kernel... any ideas..? thanks ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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 Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
With auto-apt the problem is not solved... Thanks Andres Paglayan escribió: try auto-apt for getting dependencies satisfied on the fly while compiling. Manuel Casal wrote: During the zaptel configuration at the end of it there is this error: ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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 Asterisk-Users@lists.digium.com 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] Help compiling zaptel in Debian
try auto-apt for getting dependencies satisfied on the fly while compiling. Manuel Casal wrote: During the zaptel configuration at the end of it there is this error: ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Help compiling zaptel in Debian
During the zaptel configuration at the end of it there is this error: post-install tor2 /sbin/ztcfg post-install wcusb /sbin/ztcfg post-install wcfxo /sbin/ztcfg post-install ztdynamic /sbin/ztcfg post-install ztd-eth /sbin/ztcfg post-install wct1xxp /sbin/ztcfg post-install wct4xxp /sbin/ztcfg post-install wcte11xp /sbin/ztcfg if [ -d /etc/modutils ]; then \ /sbin/update-modules ; \ fi depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ `id -u` = 0 ] && /sbin/depmod -a || : depmod: *** Unresolved symbols in /lib/modules/2.4.20-686/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf I have previously made the make oldconfig and the make dep ... I'm using debian with 2.4.20 kernel... any ideas..? thanks ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users