I have a new server using Zaptel 1.2.16 Issuing a ztcfg gives the following error: ZT_CHANCONFIG failed on channel 1: No such device or address (6) Issuing the command lsmod | grep -i wct results in: wcte11xp 26016 0 wct4xxp 221120 0 zaptel 184996 3 ztdummy,wcte11xp,wct4xxp In my zaptel Makefile I have: MODULES:=zaptel wcte11xp Please help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070401/4433630c/attachment.htm
I forgot to mention that my /etc/zaptel.conf file contains: loadzone=au defaultzone=au span=1,1,0,ccs,hdb3,crc4 bchan=1-10 unused=11-15,17-31 dchan=16 I have a new server using Zaptel 1.2.16 Issuing a ztcfg gives the following error: ZT_CHANCONFIG failed on channel 1: No such device or address (6) Issuing the command lsmod | grep -i wct results in: wcte11xp 26016 0 wct4xxp 221120 0 zaptel 184996 3 ztdummy,wcte11xp,wct4xxp In my zaptel Makefile I have: MODULES:=zaptel wcte11xp Please help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070401/91d6a12d/attachment.htm
Looks like a UDEV problem On 4/1/07, Klaverstyn, David C <David.Klaverstyn@intergraph.com> wrote:> I have a new server using Zaptel 1.2.16 > > > > Issuing a ztcfg gives the following error: > > ZT_CHANCONFIG failed on channel 1: No such device or address (6) > > > > Issuing the command > > lsmod | grep -i wct > > > > results in: > > wcte11xp 26016 0 > > wct4xxp 221120 0 > > zaptel 184996 3 ztdummy,wcte11xp,wct4xxp > > > > > > In my zaptel Makefile I have: > > MODULES:=zaptel wcte11xp > > > > Please help. > > > >
On Sun, Apr 01, 2007 at 11:34:20PM -0400, C F wrote:> > On 4/1/07, Klaverstyn, David C <David.Klaverstyn@intergraph.com> wrote: > >I have a new server using Zaptel 1.2.16 > > > > > > > >Issuing a ztcfg gives the following error: > > > >ZT_CHANCONFIG failed on channel 1: No such device or address (6) > > Looks like a UDEV problemNo, it is not. If it were a uudev problem (that is: missing device file) you would get the error "no such file or directory" from ztcfg. -- 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
On Mon, Apr 02, 2007 at 12:50:18PM +1000, Klaverstyn, David C wrote:> I have a new server using Zaptel 1.2.16 > > Issuing a ztcfg gives the following error: > > ZT_CHANCONFIG failed on channel 1: No such device or address (6) > > > loadzone=au > > defaultzone=au > > span=1,1,0,ccs,hdb3,crc4 > > bchan=1-10 > > unused=11-15,17-31 > > dchan=16 >Now what do you actually have loaded? cat /proc/zaptel/* -- 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
Type in cat /proc/zaptel/* displays Span 1: ZTDUMMY/1 "ZTDUMMY/1 1" But if I type in lsmod | grep -i wct I get wcte11xp 26016 0 wct4xxp 221120 0 zaptel 184996 3 ztdummy,wcte11xp,wct4xxp -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tzafrir Cohen Sent: Monday, 2 April 2007 2:22 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Problems with TE110P On Mon, Apr 02, 2007 at 12:50:18PM +1000, Klaverstyn, David C wrote:> I have a new server using Zaptel 1.2.16 > > Issuing a ztcfg gives the following error: > > ZT_CHANCONFIG failed on channel 1: No such device or address (6) > > > loadzone=au > > defaultzone=au > > span=1,1,0,ccs,hdb3,crc4 > > bchan=1-10 > > unused=11-15,17-31 > > dchan=16 >Now what do you actually have loaded? cat /proc/zaptel/* -- 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 _______________________________________________ --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
Give this a try it fixes a problem we have had with a couple of Via boxes. modprobe wcte11xp modprobe wcte11xp ztfcg -vvvvvv zttool We found that probing the card twice before running ztcfg helped alot. Cheers, Joel. Joel Hill Support Engineer Asterisk IT 03 8320 8100 On Mon, 2007-04-02 at 14:56 +1000, Klaverstyn, David C wrote:> Type in cat /proc/zaptel/* displays > > Span 1: ZTDUMMY/1 "ZTDUMMY/1 1" > > > But if I type in > lsmod | grep -i wct > > I get > wcte11xp 26016 0 > wct4xxp 221120 0 > zaptel 184996 3 ztdummy,wcte11xp,wct4xxp > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tzafrir > Cohen > Sent: Monday, 2 April 2007 2:22 PM > To: asterisk-users@lists.digium.com > Subject: Re: [asterisk-users] Problems with TE110P > > On Mon, Apr 02, 2007 at 12:50:18PM +1000, Klaverstyn, David C wrote: > > I have a new server using Zaptel 1.2.16 > > > > Issuing a ztcfg gives the following error: > > > > ZT_CHANCONFIG failed on channel 1: No such device or address (6) > > > > > > loadzone=au > > > > defaultzone=au > > > > span=1,1,0,ccs,hdb3,crc4 > > > > bchan=1-10 > > > > unused=11-15,17-31 > > > > dchan=16 > > > > Now what do you actually have loaded? > > cat /proc/zaptel/* >
On Mon, Apr 02, 2007 at 02:56:30PM +1000, Klaverstyn, David C wrote:> Type in cat /proc/zaptel/* displays > > Span 1: ZTDUMMY/1 "ZTDUMMY/1 1"The driver has not picked up your card.> > > But if I type in > lsmod | grep -i wct > > I get > wcte11xp 26016 0 > wct4xxp 221120 0 > zaptel 184996 3 ztdummy,wcte11xp,wct4xxpTwo things to do: 1. What is the output of: lspci 2. What really happens when the module loads? rmmod wcte11xp modprobe wcte11xp dmesg | tail What linux distribution is it? -- 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
On Mon, Apr 02, 2007 at 03:38:18PM +1000, Joel Hill wrote:> Give this a try it fixes a problem we have had with a couple of Via > boxes. > > modprobe wcte11xp > modprobe wcte11xp > ztfcg -vvvvvv > zttool > > We found that probing the card twice before running ztcfg helped alot.Are you sure that this is not an issue of timing? Specifically, I would expect an error message of "no such file or directory" in such a case, because udev files are not yet there. What the current debian init.d script does is "wait_for_zapctl" before running ztcfg. wait_for_zapctl is a loop that checks if /dev/zap/ctl is there, and if not, waits a second. It seems that once you have /dev/zap/ctl all the others are there as well. -- 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
Lspci does show: 03:02.0 Ethernet controller: Digium, Inc.: Unknown device 0120 (rev 11) dmesg | tail ip_tables: (C) 2000-2002 Netfilter core team ip_tables: (C) 2000-2002 Netfilter core team tg3: eth0: Link is up at 100 Mbps, full duplex. tg3: eth0: Flow control is on for TX and on for RX. lp: driver loaded but no devices found NET: Registered protocol family 10 Disabled Privacy Extensions on device c0344160(lo) IPv6 over IPv4 tunneling driver divert: not allocating divert_blk for non-ethernet device sit0 eth0: no IPv6 routers present Using CentOS 4.4 -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tzafrir Cohen Sent: Monday, 2 April 2007 3:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Problems with TE110P On Mon, Apr 02, 2007 at 02:56:30PM +1000, Klaverstyn, David C wrote:> Type in cat /proc/zaptel/* displays > > Span 1: ZTDUMMY/1 "ZTDUMMY/1 1"The driver has not picked up your card.> > > But if I type in > lsmod | grep -i wct > > I get > wcte11xp 26016 0 > wct4xxp 221120 0 > zaptel 184996 3 ztdummy,wcte11xp,wct4xxpTwo things to do: 1. What is the output of: lspci 2. What really happens when the module loads? rmmod wcte11xp modprobe wcte11xp dmesg | tail What linux distribution is it? -- 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 _______________________________________________ --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
On Mon, Apr 02, 2007 at 04:21:45PM +1000, Klaverstyn, David C wrote:> Lspci does show: > 03:02.0 Ethernet controller: Digium, Inc.: Unknown device 0120 (rev 11) > > dmesg | tail > ip_tables: (C) 2000-2002 Netfilter core team > ip_tables: (C) 2000-2002 Netfilter core team > tg3: eth0: Link is up at 100 Mbps, full duplex. > tg3: eth0: Flow control is on for TX and on for RX. > lp: driver loaded but no devices found > NET: Registered protocol family 10 > Disabled Privacy Extensions on device c0344160(lo) > IPv6 over IPv4 tunneling driver > divert: not allocating divert_blk for non-ethernet device sit0 > eth0: no IPv6 routers present >But please run it immedietly after running: rmmod wcte11xp; modprobe wcte11xp as it shows the last messages fromt he kernel.> Using CentOS 4.4Alternatively, look in /var/log/messages . -- 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
Klaverstyn, David C wrote:> Lspci does show: > 03:02.0 Ethernet controller: Digium, Inc.: Unknown device 0120 (rev 11)You have a TE120P, not a TE110P, so you are loading the wrong driver module.
What is the driver for the TE120P -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kevin P. Fleming Sent: Monday, 2 April 2007 10:59 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Problems with TE110P Klaverstyn, David C wrote:> Lspci does show: > 03:02.0 Ethernet controller: Digium, Inc.: Unknown device 0120 (rev11) You have a TE120P, not a TE110P, so you are loading the wrong driver module. _______________________________________________ --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
wcte12xp ----- "David C Klaverstyn" <David.Klaverstyn@intergraph.com> wrote:> What is the driver for the TE120P > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kevin > P. > Fleming > Sent: Monday, 2 April 2007 10:59 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Problems with TE110P > > Klaverstyn, David C wrote: > > Lspci does show: > > 03:02.0 Ethernet controller: Digium, Inc.: Unknown device 0120 (rev > 11) > > You have a TE120P, not a TE110P, so you are loading the wrong driver > module. > _______________________________________________ > --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-- Jason Parker Digium
That information is listed in the README file that comes with the Zaptel source code. Klaverstyn, David C wrote:> What is the driver for the TE120P > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kevin P. > Fleming > Sent: Monday, 2 April 2007 10:59 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Problems with TE110P > > Klaverstyn, David C wrote: >> Lspci does show: >> 03:02.0 Ethernet controller: Digium, Inc.: Unknown device 0120 (rev > 11) > > You have a TE120P, not a TE110P, so you are loading the wrong driver > module.
>From what I can tell the Zaptel 1.2.16 does not have a driver for theTE120P. Is this correct and if so how do I get it? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Eric "ManxPower" Wieling Sent: Tuesday, 3 April 2007 9:11 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Problems with TE110P That information is listed in the README file that comes with the Zaptel source code. Klaverstyn, David C wrote:> What is the driver for the TE120P > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kevin P. > Fleming > Sent: Monday, 2 April 2007 10:59 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Problems with TE110P > > Klaverstyn, David C wrote: >> Lspci does show: >> 03:02.0 Ethernet controller: Digium, Inc.: Unknown device 0120 (rev > 11) > > You have a TE120P, not a TE110P, so you are loading the wrong driver > module._______________________________________________ --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