Re: [Asterisk-Users] Booting error - Unable to specify channel 2: No such device

2004-04-15 Thread Anon
On Monday 12 April 2004 04:24 am, [EMAIL PROTECTED] wrote:
Thanks.  :)  When my *NEW* TDM400P card gets here, I will use
the setup you described and see what happens.

I find your suggestion a bit curious, because the CVS version
I am running (Asterisk CVS-04/10/04-21:44:51) automatically
loads all the modules.  The automatic loading suprised me a
bit, as the Asterisk version I was used to (8 moths old now)
did not automatically load the modules.  Does your version
of Asterisk automatically load the modules?  What version
are you using?

Anon

> 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
> > 
> > IAX 17004902330 FWD 42651
> >
> > ___
> > 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
>
> Willy Wouters
> ypOne Publishing
>
> ___
> 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] Booting error - Unable to specify channel 2: No such device

2004-04-15 Thread Anon
On Monday 12 April 2004 01:34 am, Dave Cotton wrote:
> 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?

I thought about all those problems you mentioned, and it turns out I have an
older version of the TDM400P that had some kind of defect, and needed to
be sent back to Digium.

While on the topic of Digium support, I would like to say that I am extremely
impressed with the unusually high quality service at Digium.  To my
suprise and amazement, Digium shipped out a card before I sent mine back.
Truely _first class_ service.

BTW - I do use IDE 2/3.  I do not know why the BIOS loads up the IRQ's the
way it does.  Yer, there does not seem to be any IRQ-related problems.

Thanks for the help and ideas.  :)

Anon

___
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] Booting error - Unable to specify channel 2: No such device

2004-04-12 Thread willy
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
> 
> IAX 17004902330 FWD 42651
> 
> ___
> 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

Willy Wouters
ypOne Publishing

___
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] Booting error - Unable to specify channel 2: No such device

2004-04-12 Thread Dave Cotton
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

IAX 17004902330 FWD 42651

___
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] Booting error - Unable to specify channel 2: No such device

2004-04-11 Thread Anon
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?

Thanks,
Anon

___
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] Booting error - Unable to specify channel 2: No such device

2004-04-11 Thread Todd Lieberman
do a cat /proc/interupts

your should see your hardware showup.

TL

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anon
Sent: Sunday, April 11, 2004 8:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Booting error - Unable to specify channel
2: No such device


On Sunday 11 April 2004 05:55 pm, Todd Lieberman wrote:
> modprobe your zaptel hardare...
The modules are automatically loaded at boot time.  To make sure I had the 
modules loaded, I did "lsmod", and the Asterisk related modules are listed 
as:
wcusb  17600   0  (unused)
wcfxs  54944   0  (unused)
wcfxo   8992   0  (unused)
zaptel182752   0  [wcusb wcfxs wcfxo]

Also, one of the channels on the TDM400P is lit.

I don't understand why wcusb is getting loaded because I do not have an 
Asterisk USB device.  Could that be part of the problem?

BTW - I forgot to include in my original message the output of ztcgf:
Zaptel Configuration
==


Channel map:

Channel 01: FXS Loopstart (Default) (Slaves: 01)
Channel 02: FXO Loopstart (Default) (Slaves: 02)

2 channels configured.


Any other ideas?

Thanks,
Anon

___
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] Booting error - Unable to specify channel 2: No such device

2004-04-11 Thread Anon
On Sunday 11 April 2004 05:55 pm, Todd Lieberman wrote:
> modprobe your zaptel hardare...
The modules are automatically loaded at boot time.  To make sure I had the 
modules loaded, I did "lsmod", and the Asterisk related modules are listed 
as:
wcusb  17600   0  (unused)
wcfxs  54944   0  (unused)
wcfxo   8992   0  (unused)
zaptel182752   0  [wcusb wcfxs wcfxo]

Also, one of the channels on the TDM400P is lit.

I don't understand why wcusb is getting loaded because I do not have an 
Asterisk USB device.  Could that be part of the problem?

BTW - I forgot to include in my original message the output of ztcgf:
Zaptel Configuration
==


Channel map:

Channel 01: FXS Loopstart (Default) (Slaves: 01)
Channel 02: FXO Loopstart (Default) (Slaves: 02)

2 channels configured.


Any other ideas?

Thanks,
Anon

___
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] Booting error - Unable to specify channel 2: No such device

2004-04-11 Thread Todd Lieberman
modprobe your zaptel hardare...

TL

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anon
Sent: Sunday, April 11, 2004 7:52 PM
To: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
=
[ 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
[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