Re: [asterisk-users] Zaptel Install Error

2008-05-14 Thread Jason Parker
Steve Totaro wrote:
 This looks like it may be your problem.  
 http://bugs.digium.com/view.php?id=9592
 
 (0070069)
 qwell - administrator
 09-06-07 17:05
 
   Closing.
 
 The simple solution here is to just comment out the #define USE_RTC in
 ztdummy.c. The ztxen module does not appear to be needed.
 
 Thanks,
 Steve Totaro
 

Just to clarify for those that don't want to read through the bug notes..  That
bug was a feature enhancement that added support for xen, through a new module
named ztxen.  The only difference in this new module vs ztdummy, was that it
removed the RTC code.  In order to mimic this, and get a proper ztdummy on
xen, all somebody needs to do is comment out the single #define USE_RTC line in
ztdummy.c

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Zaptel Install Error

2008-05-13 Thread Steve Totaro
On Tue, May 13, 2008 at 7:51 PM, Joseph L. Casale
[EMAIL PROTECTED] wrote:
 I was just following the wiki and installing Zaptel under my CentOS 5.1 Xen 
 DomU
  and after starting the service, the vm crashed. Now when restarting it, I 
 get the following.
  Any ideas?

  Thanks!
  jlc


  Kernel BUG at kernel/timer.c:331
  invalid opcode:  [1] SMP
  last sysfs file: /class/zaptel/zapctl/dev
  CPU 0
  Modules linked in: ztdummy(U) xpp_usb(U) xpp(U) wcusb(U) wctdm(U) wcfxo(U) 
 wctdm24xxp(U) wcte11xp(U) wct1xxp(U) wcte12xp(U) wct4xxp(U) tor2(U) zaptel(U) 
 crc_ccitt dm_multipath parport_pc lp parport pcspkr dm_snapshot dm_zero 
 dm_mirror dm_mod xenblk ext3 jbd ehci_hcd ohci_hcd uhci_hcd
  Pid: 853, comm: modprobe Not tainted 2.6.18-53.1.19.el5xen #1
  RIP: e030:[8021c055]  [8021c055] __mod_timer+0x19/0xbe
  RSP: e02b:88000dbadd18  EFLAGS: 00010046
  RAX:  RBX: 806992a0 RCX: fffef0d7
  RDX: 00fa RSI: fffef0dc RDI: 806992a0
  RBP: 88000de5c000 R08:  R09: 0020
  R10:  R11:  R12: 88000d3ed000
  R13: fffef0dc R14: 882a5580 R15: c2077940
  FS:  2aabe240() GS:80599000() knlGS:
  CS:  e033 DS:  ES: 
  Process modprobe (pid: 853, threadinfo 88000dbac000, task 
 88000f8d4100)
  Stack:  88000d3ed000  88000d3ed470    
 88000de5c000
   88000d3ed000  88000d3ed470  882a5580  803847a7
   88000dbaddef  0400
  Call Trace:
   [803847a7] rtc_do_ioctl+0x1c5/0x701
   [88121aab] :zaptel:zt_register+0x156/0x25b
   [80282ca0] __cond_resched+0x1c/0x44
   [8026187d] _spin_lock_irq+0x9/0x14
   [8025ff21] wait_for_completion+0xa1/0xaa
   [882a4301] :ztdummy:init_module+0x1c4/0x24b
   [8028e9a9] blocking_notifier_call_chain+0x2d/0x36
   [8029b716] sys_init_module+0x16a6/0x1857
   [8025d102] system_call+0x86/0x8b
   [8025d07c] system_call+0x0/0x8b


  Code: 0f 0b 68 5d 21 47 80 c2 4b 01 48 8d 74 24 08 48 89 df 45 31
  RIP  [8021c055] __mod_timer+0x19/0xbe
   RSP 88000dbadd18
   0Kernel panic - not syncing: Fatal exception


This looks like it may be your problem.  http://bugs.digium.com/view.php?id=9592

(0070069)
qwell - administrator
09-06-07 17:05

Closing.

The simple solution here is to just comment out the #define USE_RTC in
ztdummy.c. The ztxen module does not appear to be needed.

Thanks,
Steve Totaro

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Zaptel install...

2007-02-12 Thread Juan Carlos Gomez

cOMO REALIZAS LA INSTALCION,

DEBES CONSEGUIR LOS TAR.GZ DE ZAPTEL y luego compilar asi:


#yum install kernel kernel-devel gcc
Con esto actualizas el kernel con sus fuentes y el gcc

#vi /etc/grub.conf
seleccionas el nuevo kernel como por default

# reboot
reinicias para que se ejecute el nuevo kernel


luego de eso instalas lo necesario y cuando te toque el zaptel

descomprimes la version de zaptel que tengas zaptel.x.y.z.tar.gz en /usr/src
y luego ejecutas


#make linux26
#make install


y listo


2007/2/12, Butch Evans [EMAIL PROTECTED]:


I am having trouble getting Asterisk to compile the zaptel stuff.
Here are the specifics:
Linux Kernel 2.5.9-42.0.8.EL
Asterisk 1.4.0

I compiled libpri, zaptel, asterisk and asterisk-addons (in that
order).  This is a fresh install of CentOS.  Following the CentOS
install, I did yum -y update until there were no updates left.

Here is my src directory:
drwxr-xr-x  24 root root  4096 Feb  9 23:25 asterisk
drwxr-xr-x   9 root root  4096 Feb  9 23:28 asterisk-addons
drwxr-xr-x   3 1000 1000  4096 Dec  6  2005 asterisk-sounds
drwxr-xr-x   6 root root  4096 Feb  6 17:56 kernels
drwxr-xr-x   2 root root  4096 Feb  9 23:19 libpri
lrwxrwxrwx   1 root root38 Feb  9 23:22 linux-2.6 -
/usr/src/kernels/2.6.9-42.0.8.EL-i686/
drwxr-xr-x   7 root root  4096 Feb  6 10:43 redhat
drwxr-xr-x  10 root root 12288 Feb  9 23:25 zaptel


[EMAIL PROTECTED] src]# cd /usr/lib/asterisk/modules/
[EMAIL PROTECTED] modules]# ls -l *zap*
-rwxr-xr-x  1 root root 119069 Feb  9 23:26 app_zapateller.so

That's the only thing there (with zap, that is).  The zaptel
compiled and installed ok, as I can run the zttool or ztcfg to see
the cards being recognized and configured.  What am I missing?

--
Butch Evans
Network Engineering and Security Consulting
573-276-2879
http://www.butchevans.com/
My calendar: http://tinyurl.com/y24ad6
Training Partners: http://tinyurl.com/smfkf
Mikrotik Certified Consultant
http://www.mikrotik.com/consultants.html
___
--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





--
Juan Carlos Gómez R.
Quito, Ecuador
Home:  (593)-2-2591218
Mobil: (593)-9-2060171
___
--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


Re: [asterisk-users] Zaptel install...

2007-02-12 Thread Carlos Chavez
On Mon, 2007-02-12 at 11:59 -0600, Butch Evans wrote:
 I am having trouble getting Asterisk to compile the zaptel stuff. 
 Here are the specifics:
 Linux Kernel 2.5.9-42.0.8.EL
 Asterisk 1.4.0
 
 I compiled libpri, zaptel, asterisk and asterisk-addons (in that 
 order).  This is a fresh install of CentOS.  Following the CentOS 
 install, I did yum -y update until there were no updates left.
 
 Here is my src directory:
 drwxr-xr-x  24 root root  4096 Feb  9 23:25 asterisk
 drwxr-xr-x   9 root root  4096 Feb  9 23:28 asterisk-addons
 drwxr-xr-x   3 1000 1000  4096 Dec  6  2005 asterisk-sounds
 drwxr-xr-x   6 root root  4096 Feb  6 17:56 kernels
 drwxr-xr-x   2 root root  4096 Feb  9 23:19 libpri
 lrwxrwxrwx   1 root root38 Feb  9 23:22 linux-2.6 - 
 /usr/src/kernels/2.6.9-42.0.8.EL-i686/
 drwxr-xr-x   7 root root  4096 Feb  6 10:43 redhat
 drwxr-xr-x  10 root root 12288 Feb  9 23:25 zaptel
 
 
 [EMAIL PROTECTED] src]# cd /usr/lib/asterisk/modules/
 [EMAIL PROTECTED] modules]# ls -l *zap*
 -rwxr-xr-x  1 root root 119069 Feb  9 23:26 app_zapateller.so
 

The zaptel modules are installed into the kernel modules directory and
not where you are looking.  For your kernel look into:

/lib/modules/2.6.9-42.0.8.EL/misc

Also remember to do a make config in the zaptel source to install the
init files so zaptel will load automatically when you boot.


-- 
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
___
--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


Re: [asterisk-users] Zaptel install...

2007-02-12 Thread Tzafrir Cohen
On Mon, Feb 12, 2007 at 11:59:55AM -0600, Butch Evans wrote:
 I am having trouble getting Asterisk to compile the zaptel stuff. 
 Here are the specifics:
 Linux Kernel 2.5.9-42.0.8.EL
 Asterisk 1.4.0
 
 I compiled libpri, zaptel, asterisk and asterisk-addons (in that 
 order).  This is a fresh install of CentOS.  Following the CentOS 
 install, I did yum -y update until there were no updates left.
 
 Here is my src directory:
 drwxr-xr-x  24 root root  4096 Feb  9 23:25 asterisk
 drwxr-xr-x   9 root root  4096 Feb  9 23:28 asterisk-addons
 drwxr-xr-x   3 1000 1000  4096 Dec  6  2005 asterisk-sounds
 drwxr-xr-x   6 root root  4096 Feb  6 17:56 kernels
 drwxr-xr-x   2 root root  4096 Feb  9 23:19 libpri
 lrwxrwxrwx   1 root root38 Feb  9 23:22 linux-2.6 - 
 /usr/src/kernels/2.6.9-42.0.8.EL-i686/
 drwxr-xr-x   7 root root  4096 Feb  6 10:43 redhat
 drwxr-xr-x  10 root root 12288 Feb  9 23:25 zaptel
 
 
 [EMAIL PROTECTED] src]# cd /usr/lib/asterisk/modules/
 [EMAIL PROTECTED] modules]# ls -l *zap*
 -rwxr-xr-x  1 root root 119069 Feb  9 23:26 app_zapateller.so
 
 That's the only thing there (with zap, that is).  The zaptel 
 compiled and installed ok, as I can run the zttool or ztcfg to see 
 the cards being recognized and configured.  What am I missing?

Zaptel is installed. The problem is with the configuration of Asterisk.

What version of zaptel have you installed?

To check if the configure script detected zaptel:

  grep ZAPTEL= build_tools/menuselect-deps

To check if it is actively disables by the menuselect:

  grep -w chan_zap menuselect.makeopts

In the latter: if you see 'chan_zap' in the line MENUSELECT_CHANNEL, it
is disabled (which is a bit counter-intiutive).

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--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


Re: [asterisk-users] Zaptel install...

2007-02-12 Thread Butch Evans

On Tue, 13 Feb 2007, Tzafrir Cohen wrote:

Zaptel is installed. The problem is with the configuration of 
Asterisk.


I found the problem...Thanks.  I have a T1 card and a 4 port analog. 
The T1 is not (yet) turned on, and the config was not working since 
I tried to configure the T1 card anyway.


Thanks for the input...

--
Butch Evans
Network Engineering and Security Consulting
573-276-2879
http://www.butchevans.com/
My calendar: http://tinyurl.com/y24ad6
Training Partners: http://tinyurl.com/smfkf
Mikrotik Certified Consultant
http://www.mikrotik.com/consultants.html
___
--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


Re: [asterisk-users] Zaptel install - Fedora Core 5

2006-08-21 Thread simon elliston ball
I managed to get zaptel to compile reasonably easily on  
2.6.17-1.2157_FC5smp. However, the yum repo sites do not provide  
devel packages for 2.6.17-2174 for some reason last time I checked,  
hence couldn't get it to build on that kernel. You could probably  
create the devel package without too much trouble from the srpm, but  
it's a lot easier to stick to 2157.


If anyone else have managed to get FC5 to install the correct devel  
packages for the latest kernel, please let me know!


Simon

On 21 Aug 2006, at 11:52, Tomislav Parčina wrote:

I'm trying to install Zaptel 1.2.7 on Fedora Core 5 with  
2.6.17-1.2174_FC5 kernel from source code. When I untar Zaptel and  
execute this is error that I get.


cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE- 
DSTANDALONE_ZAPATA -DZAPTE

L_CONFIG=\/etc/zaptel.conf\zttest.c   -o zttest
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE- 
DSTANDALONE_ZAPATA -DZAPTE

L_CONFIG=\/etc/zaptel.conf\   -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
/lib/modules/2.6.17-1.2174_FC5/build
You do not appear to have the sources for the 2.6.17-1.2174_FC5  
kernel installed

.
make: *** [linux26] Error 1

What could be the problem? How to solve it?


--
Tomislav Parčina
Lama Computers Split
Stinice 12, 21000 Split
Tel.: +385(21)495148
Mob.: +385(91)1212148
SIP: [EMAIL PROTECTED]
e-mail: tparcina#lama.hr
http://www.lama.hr
___
--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


___
--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


RE: [asterisk-users] Zaptel install - Fedora Core 5

2006-08-21 Thread Dennis P. Clark
I couldn't find 2.6.17-1 for download but this is what I used to install the 
kernel source
http://download.fedora.redhat.com/pub/fedora/linux/core/5/source/SRPMS/GFS-kernel-2.6.15.1-5.FC5.17.src.rpm

Dennis Clark
DENPRO
WRK 207.618.1998
CEL 443.415.0527
FAX 1.888.811.8809
[EMAIL PROTECTED]
 
 
 
 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of simon elliston 
ball
Sent: Monday, August 21, 2006 7:02 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zaptel install - Fedora Core 5

I managed to get zaptel to compile reasonably easily on 2.6.17-1.2157_FC5smp. 
However, the yum repo sites do not provide devel packages for 2.6.17-2174 for 
some reason last time I checked, hence couldn't get it to build on that kernel. 
You could probably create the devel package without too much trouble from the 
srpm, but it's a lot easier to stick to 2157.

If anyone else have managed to get FC5 to install the correct devel packages 
for the latest kernel, please let me know!

Simon

On 21 Aug 2006, at 11:52, Tomislav Parčina wrote:

 I'm trying to install Zaptel 1.2.7 on Fedora Core 5 with
 2.6.17-1.2174_FC5 kernel from source code. When I untar Zaptel and 
 execute this is error that I get.

 cc -o ztmonitor ztmonitor.o
 cc -o ztspeed.o -c ztspeed.c
 cc -o ztspeed ztspeed.o
 cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE- 
 DSTANDALONE_ZAPATA -DZAPTE
 L_CONFIG=\/etc/zaptel.conf\zttest.c   -o zttest
 cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE- 
 DSTANDALONE_ZAPATA -DZAPTE
 L_CONFIG=\/etc/zaptel.conf\   -c -o fxotune.o fxotune.c
 cc -o fxotune fxotune.o -lm
 /lib/modules/2.6.17-1.2174_FC5/build
 You do not appear to have the sources for the 2.6.17-1.2174_FC5 kernel 
 installed .
 make: *** [linux26] Error 1

 What could be the problem? How to solve it?


 --
 Tomislav Parčina
 Lama Computers Split
 Stinice 12, 21000 Split
 Tel.: +385(21)495148
 Mob.: +385(91)1212148
 SIP: [EMAIL PROTECTED]
 e-mail: tparcina#lama.hr
 http://www.lama.hr
 ___
 --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

___
--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
___
--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


Re: [asterisk-users] Zaptel install - Fedora Core 5

2006-08-21 Thread anto
Hi Simon,

I did yum update last week and here is my current kernel:

# uname -vr
2.6.17-1.2174_FC5smp #1 SMP Tue Aug 8 16:00:39 EDT 2006
#
# ls -l /usr/src/kernels
total 12
drwxr-xr-x 18 root root 4096 Jul  8 19:43 2.6.17-1.2145_FC5-smp-i686
lrwxrwxrwx  1 root root   26 Jul  8 19:43 2.6.17-1.2145_FC5smp-i686 -
2.6.17-1.2145_FC5-smp-i686
drwxr-xr-x 18 root root 4096 Jul 20 07:27 2.6.17-1.2157_FC5-smp-i686
lrwxrwxrwx  1 root root   26 Jul 20 07:27 2.6.17-1.2157_FC5smp-i686 -
2.6.17-1.2157_FC5-smp-i686
drwxr-xr-x 18 root root 4096 Aug 14 05:29 2.6.17-1.2174_FC5-smp-i686
lrwxrwxrwx  1 root root   26 Aug 14 05:29 2.6.17-1.2174_FC5smp-i686 -
2.6.17-1.2174_FC5-smp-i686
#

I had no problem at all with zaptel. I am only using TDM400P though, in
case that matters.

Cheers,

Anto

- Original Message - 
From: simon elliston ball [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Monday, August 21, 2006 1:02 PM
Subject: Re: [asterisk-users] Zaptel install - Fedora Core 5


I managed to get zaptel to compile reasonably easily on
2.6.17-1.2157_FC5smp. However, the yum repo sites do not provide
devel packages for 2.6.17-2174 for some reason last time I checked,
hence couldn't get it to build on that kernel. You could probably
create the devel package without too much trouble from the srpm, but
it's a lot easier to stick to 2157.

If anyone else have managed to get FC5 to install the correct devel
packages for the latest kernel, please let me know!

Simon

On 21 Aug 2006, at 11:52, Tomislav Parcina wrote:

 I'm trying to install Zaptel 1.2.7 on Fedora Core 5 with
 2.6.17-1.2174_FC5 kernel from source code. When I untar Zaptel and
 execute this is error that I get.

 cc -o ztmonitor ztmonitor.o
 cc -o ztspeed.o -c ztspeed.c
 cc -o ztspeed ztspeed.o
 cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE-
 DSTANDALONE_ZAPATA -DZAPTE
 L_CONFIG=\/etc/zaptel.conf\zttest.c   -o zttest
 cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE-
 DSTANDALONE_ZAPATA -DZAPTE
 L_CONFIG=\/etc/zaptel.conf\   -c -o fxotune.o fxotune.c
 cc -o fxotune fxotune.o -lm
 /lib/modules/2.6.17-1.2174_FC5/build
 You do not appear to have the sources for the 2.6.17-1.2174_FC5
 kernel installed
 .
 make: *** [linux26] Error 1

 What could be the problem? How to solve it?


 --
 Tomislav Parcina
 Lama Computers Split
 Stinice 12, 21000 Split
 Tel.: +385(21)495148
 Mob.: +385(91)1212148
 SIP: [EMAIL PROTECTED]
 e-mail: tparcina#lama.hr
 http://www.lama.hr
 ___
 --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

___
--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



___
--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