Anon
2004-Apr-11 16:52 UTC
[Asterisk-Users] Booting error - Unable to specify channel 2: No such device
Hello All, I am getting a set of errors when I boot Asterisk that I have not been able to solve. What is causing these error(s)? Asterisk boot output: =============Asterisk CVS-04/10/04-21:44:51, Copyright (C) 1999-2001 Linux Support Services, Inc. Written by Mark Spencer <markster@linux-support.net> ========================================================================[ Booting..................Apr 11 17:42:50 WARNING[16384]: chan_zap.c:684 zt_open: Unable to specify channel 2: No such device Apr 11 17:42:50 ERROR[16384]: chan_zap.c:5357 mkintf: Unable to open channel 2: No such device here = 0, tmp->channel = 2, channel = 2 Apr 11 17:42:50 ERROR[16384]: chan_zap.c:7482 setup_zap: Unable to register channel '2' Apr 11 17:42:50 WARNING[16384]: loader.c:313 ast_load_resource: chan_zap.so: load_module failed, returning -1 -- Unregistered channel 1 -- Unregistered channel 2 Apr 11 17:42:50 WARNING[16384]: loader.c:408 load_modules: Loading module chan_zap.so failed! My zaptel.conf: =========loadzone=us defaultzone=us # Load FXO device (a X100P PSTN card) as Channel 1 fxsls=1 # # Load FXS device (a TDM400P) as Channel 2 fxols=2 My zapata.conf: =========[channels] language=en context=pstn signalling=fxs_ls usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=+0 txgain=+0 channel => 1 ;Channel 1 will be the X100P PSTN card language=en context=CustomerSide signalling=fxo_ls usecallerid=yes echocancel=yes echocancelwhenbridged=yes channel => 2 ;Channel 2 will be the TDM400P card Thanks in advance for any help, Anon
Todd Lieberman
2004-Apr-11 16:55 UTC
[Asterisk-Users] Booting error - Unable to specify channel 2: No such device
modprobe your zaptel hardare... TL -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Anon Sent: Sunday, April 11, 2004 7:52 PM To: Asterisk-Users@lists.digium.com Subject: [Asterisk-Users] Booting error - Unable to specify channel 2: No such device Hello All, I am getting a set of errors when I boot Asterisk that I have not been able to solve. What is causing these error(s)? Asterisk boot output: =============Asterisk CVS-04/10/04-21:44:51, Copyright (C) 1999-2001 Linux Support Services, Inc. Written by Mark Spencer <markster@linux-support.net> ========================================================================[ Booting..................Apr 11 17:42:50 WARNING[16384]: chan_zap.c:684 zt_open: Unable to specify channel 2: No such device Apr 11 17:42:50 ERROR[16384]: chan_zap.c:5357 mkintf: Unable to open channel 2: No such device here = 0, tmp->channel = 2, channel = 2 Apr 11 17:42:50 ERROR[16384]: chan_zap.c:7482 setup_zap: Unable to register channel '2' Apr 11 17:42:50 WARNING[16384]: loader.c:313 ast_load_resource: chan_zap.so: load_module failed, returning -1 -- Unregistered channel 1 -- Unregistered channel 2 Apr 11 17:42:50 WARNING[16384]: loader.c:408 load_modules: Loading module chan_zap.so failed! My zaptel.conf: =========loadzone=us defaultzone=us # Load FXO device (a X100P PSTN card) as Channel 1 fxsls=1 # # Load FXS device (a TDM400P) as Channel 2 fxols=2 My zapata.conf: =========[channels] language=en context=pstn signalling=fxs_ls usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=+0 txgain=+0 channel => 1 ;Channel 1 will be the X100P PSTN card language=en context=CustomerSide signalling=fxo_ls usecallerid=yes echocancel=yes echocancelwhenbridged=yes channel => 2 ;Channel 2 will be the TDM400P card Thanks in advance for any help, Anon _______________________________________________ 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
willy@yponeinc.com
2004-Apr-12 03:24 UTC
[Asterisk-Users] Booting error - Unable to specify channel 2: No such device
Hi .. This may seem odd, but this problem is reminescent of the troubel I had when first starting [*] on my test setup. Two suggestions. (a) on loading the modules make sure you explicitely load in the following order (forget modprobe) insmod zaptel; insmod wcfxo; insmod wcfxs; Do a ztcfg -vvv to confirm & start [*]. (b) in my zapata.conf, I foumd it useful to put group=1 on top for the FXO channel and group=2 for FXS, i.e. see below: ; ; Zapata telephony interface ; Configuration file [channels] context=inbound-calls language=en musiconhold=default group=1 signalling=fxs_ks echocancel = 64 echocancelwhenbridged = no echotraining=yes rxgain => 20% txgain => -5% channel => 1 group=2 echocancel = no signalling=fxo_ks mailbox = 2100 channel => 2 ------------------------------ Now it works every time. Hope this helps Willy ----- Original Message Follows -----> On Mon, 2004-04-12 at 03:39, Anon wrote: > > On Sunday 11 April 2004 07:18 pm, Todd Lieberman wrote: > > > do a cat /proc/interupts > > > > > > your should see your hardware showup. > > OK... > > cat /proc/interrupts > > CPU0 > > 0: 494600 XT-PIC timer > > 1: 5588 XT-PIC keyboard > > 2: 0 XT-PIC cascade > > 8: 1 XT-PIC rtc > > 9: 266296 XT-PIC ehci_hcd, es1371 > > 10: 4892925 XT-PIC usb-uhci, wctdm > > 11: 4936093 XT-PIC ide1, usb-uhci, > > usb-uhci, wcfxo, eth0 12: 108609 XT-PIC > > PS/2 Mouse 14: 22056 XT-PIC ide2 > > 15: 83 XT-PIC ide3 > > NMI: 0 > > LOC: 494575 > > ERR: 1278 > > MIS: 0 > > > > I don't see wcfxs. I did "modprobe wcfxs" and "cat > > /proc/interrupts" still shows the same output. What do > > you think is causing to not show on the list above? > > It is there it's hiding under the name of wctdm, but at > the moment I'd say that's the least of your problems. > Interrupts 10 and 11 both have other things sharing the > interrupts with Digium cards, most people will tell you > that that's not good. Interrupt 11 looks horrible. Having > been through this hell recently I can only suggest > repositioning cards in different slots. Interestingly > where is ide0 and do you really need ide2/3? > > -- > Dave Cotton > Directeur > Linux Autrement > 193 rue Marcel Cerdan > 84270 Vedene > 04 90 23 30 81 > <http://www.linuxautrement.com> > IAX 17004902330 FWD 42651 > > _______________________________________________ > 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-usersWilly Wouters ypOne Publishing