Re: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-29 Thread Mark Spencer
You can upgrade to revision E/F for free (other than shipping cost).  Just
contact Digium sales and tell them you need to swap your TDM cards.

Mark

On Sun, 28 Dec 2003, Victor Rini wrote:

 Tilghman,

 I have a feeling we're getting somewhere.

 I ordered three cards the very day they went on sale through the digium
 website.

 Yes, it's revision C. I guess I'll talk to digium about this.

 Thanks,
 Victor

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-29 Thread John Breeden
I'll just throw this out. I've had some MB's in the past with flaky support
for APIC. It resulted in weird interrupt problems. Disabling APIC and a
kernel recompile solved it.

John Breeden
Hawaii

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Victor Rini
 Sent: Sunday, December 28, 2003 7:37 PM
 To: '[EMAIL PROTECTED]'
 Subject: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery


 Sean,

 Yes, that IRQ assignment seemed strange to me too.

 I don't understand why the kernel wanted to assign IRQS this way.

 I guess it's something to do with this APIC technology.

 Can anyone fill me in here?

 By the way, thanks to everyone who has contributed to this thread.
 It's really helped a lot.

 Victor

CPU0
   0: 102777IO-APIC-edge  timer
   1:471IO-APIC-edge  keyboard
   2:  0  XT-PIC  cascade
   8:  4IO-APIC-edge  rtc
  14:   9159IO-APIC-edge  ide0
  15:  6IO-APIC-edge  ide1
  17:1995769   IO-APIC-level  wcfxo, wcfxo
  18: 341396   IO-APIC-level  wcfxs
  19:  0   IO-APIC-level  EMU10K1
  20:   3390   IO-APIC-level  eth1
  21:   8652   IO-APIC-level  eth0
  22:788   IO-APIC-level  eth2
 NMI:  0
 LOC: 102728
 ERR:  0
 MIS:  0

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-29 Thread Richard Scobie


Adam Goryachev wrote:
I might add that I has similar problems on a very frequant basis,
finally I 'accidentally' found a version of asterisk + zaptel modules
that was stable for more than 6 weeks. Eventually I asked for (and got)
a replacement card from digium with the internal power connector. This
worked fine with the same software versions, although it crashed once
after about 3 weeks.
I've just updated to current CVS of everything, and will see how it
goes.
I'm not doing anything major out of the ordinary, I have a single X101P,
a single TDM400P and a 2 channel (single BRI) i4l ISDN card. I use IAX
to connect to a *very* lightly used extension (ie, iax to second
asterisk to sip ata186).
Regards,
Adam
Since updating my 2 TDM400P's, with 4 channels each, to REV E/F, I have 
seen very intermittant loss of dialtone on some channels, one hard 
lookup that required a power reset and a Power alarm on module 1, 
resetting!, which oddly occurred in the small hours of the morning, 
when the phone was not being used, over a +_ 2 month period, where the 
first card has had regular daily office use and the second card 
virtually none.

The machine is a 2.4GHz P4 on an ASUS Intel chipset MB, running a 
stripped down Redhat 7.3 with a custom kernel compiled completely with 
asterisk requirements only. Everything not required for asterisk (USB, 
serial, parallel, mouse) has been disabled in the BIOS and there is no X 
or framebuffer installed. Two X101Ps are also in use.

/proc/interrupts

   CPU0
  0:  456297846  XT-PIC  timer
  1:  2  XT-PIC  keyboard
  2:  0  XT-PIC  cascade
  5:  267137019  XT-PIC  wcfxo
  7:   16745155  XT-PIC  eth0
  8:  1  XT-PIC  rtc
  9:  267049399  XT-PIC  wcfxo
 11:  267335750  XT-PIC  wcfxs
 12: 3313776049  XT-PIC  wcfxs
 14:1912794  XT-PIC  ide0
NMI:  0
LOC:  456293550
ERR:  0
MIS:  0
I would be interested in hearing from anyone else running 2 x X101 and 2 
x TDM400 4 channels, who is having no problems at all.

Regards,

Richard



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Victor Rini
Hello again,

Thanks for the timely responses.

Andrew:

Asterisk doesn't dump any messages except when a call comes in and asterisk
tries to ring an extension - it leaves a device busy type of message.

I checked /proc/interrupts. The fxs card is still there after it dies, but
the interrupts counter does not change over time. When the fxs card is
working it is usually constantly firing interrupts.

I'll check load and report back.

Thanks for the suggestion about the sound card. I really don't need it in
the server. I'll take it out.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Sean Cheesman
I think what Steve was getting at was interrupt sharing.  Is the fxs card on
the same interrupt as anything else?

Sean

-Original Message-
From: Victor Rini [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 28, 2003 10:21 PM
To: '[EMAIL PROTECTED]'
Subject: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery


Hello again,

Thanks for the timely responses.

Andrew:

Asterisk doesn't dump any messages except when a call comes in and asterisk
tries to ring an extension - it leaves a device busy type of message.

I checked /proc/interrupts. The fxs card is still there after it dies, but
the interrupts counter does not change over time. When the fxs card is
working it is usually constantly firing interrupts.

I'll check load and report back.

Thanks for the suggestion about the sound card. I really don't need it in
the server. I'll take it out.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Victor Rini
Steve,

I have the tdm card on it's own IRQ. That's one of the first things I tried.
Both of my fxo cards are on the same IRQ and they seem to hold together. 

It's interesting that you bring up the timing issue. Why would the tdm card
be so sensitive? I can understand a drop in voice quality but dying?

Another thought. Downloads are usually big tcp packets? Maybe 1500 bytes a
packet? Processing them probably takes more time. I've run 300kbit streaming
video through the server which I believe are smaller packets and the tdm
card seems to hold up.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Andrew Thompson
- Original Message -
From: Victor Rini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 28, 2003 10:20 PM
Subject: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery


 Hello again,

 Thanks for the timely responses.

 Andrew:

 Asterisk doesn't dump any messages except when a call comes in and
asterisk
 tries to ring an extension - it leaves a device busy type of message.

I don't have internal fx devices, so I'm scrambling to find a command to
help see what * thinks is up/down. Can you restart asterisk with
asterisk -vvvc, convince the card to crash, and see if it generates anything
then? (If you've done this already, just say so.)


 I checked /proc/interrupts. The fxs card is still there after it dies, but
 the interrupts counter does not change over time. When the fxs card is
 working it is usually constantly firing interrupts.

Sorry, I should have asked explicitly for what I wanted to see. Can you
paste the contents of /proc/interrupts in your reply?


 I'll check load and report back.

 Thanks for the suggestion about the sound card. I really don't need it in
 the server. I'll take it out.

The notable thing here is, your interrupts may move around when you take
this card out. Your other * problems may get better or worse when this
happens. There ought to be a better way to manage interrupts, but apart from
taking boards out and trying them in varying orders, I don't know what it
is.

If you do take the sound card out, can you(just for fun) post the
/proc/interrupts before and after?


Andrew Thompson http://aktzero.com/

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Victor Rini
Tilghman,

I have a feeling we're getting somewhere.

I ordered three cards the very day they went on sale through the digium
website.

Yes, it's revision C. I guess I'll talk to digium about this.

Thanks,
Victor

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Tilghman Lesher
On Sunday 28 December 2003 21:53, Victor Rini wrote:
 I have a feeling we're getting somewhere.

 I ordered three cards the very day they went on sale through the
 digium website.

 Yes, it's revision C. I guess I'll talk to digium about this.

In case you're wondering, the problem is the amount of power the TDM
cards pull off the PCI bus.  When you have another device sucking power,
it can momentarily drop the power enough on the TDM card to reset it.
The molex connector allows the card to pull power directly from the
power supply instead of through the PCI bus, which of course solves that
problem.

I'm told the TDM Rev. C card is within the PCI spec for power drain, but
the stresses it puts on the PCI bus will show how many motherboards are
in fact close, but a little deficient  The sole reason the TDM card
requires so much power is to generate ring voltage for connected
telephones.

-Tilghman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Victor Rini
Andrew:

I tried the asterisk -vvvc suggestion and I didn't get any messages when the
card died.

Here's /proc/interrupts before I take out the sound card:

   CPU0
  0: 102777IO-APIC-edge  timer
  1:471IO-APIC-edge  keyboard
  2:  0  XT-PIC  cascade
  8:  4IO-APIC-edge  rtc
 14:   9159IO-APIC-edge  ide0
 15:  6IO-APIC-edge  ide1
 17:1995769   IO-APIC-level  wcfxo, wcfxo
 18: 341396   IO-APIC-level  wcfxs
 19:  0   IO-APIC-level  EMU10K1
 20:   3390   IO-APIC-level  eth1
 21:   8652   IO-APIC-level  eth0
 22:788   IO-APIC-level  eth2
NMI:  0
LOC: 102728
ERR:  0
MIS:  0

and after:

   CPU0
  0:  14903IO-APIC-edge  timer
  1:  2IO-APIC-edge  keyboard
  2:  0  XT-PIC  cascade
  8:  4IO-APIC-edge  rtc
 14:   7469IO-APIC-edge  ide0
 15:  6IO-APIC-edge  ide1
 17: 111534   IO-APIC-level  wcfxo
 18: 111626   IO-APIC-level  wcfxo
 19: 104013   IO-APIC-level  wcfxs
 20:680   IO-APIC-level  eth1
 21:509   IO-APIC-level  eth0
 22: 41   IO-APIC-level  eth2
NMI:  0
LOC:  14855
ERR:  0
MIS:  0

About load: almost impossible to tell. I was sshed into the server and
running top - top was showing the system 100%
idle. Then I hit a download link and bang, the card died.

This is all pretty academic at this point - I think Tilghman found the
problem for me.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Sean Cheesman
now we're getting somewhere!  anything above interrupt 15 will be interrupt
sharing.  bad!  If you can get the cards assigned to 10 or 11, you should be
in better shape.

Sean

-Original Message-
From: Victor Rini [mailto:[EMAIL PROTECTED]
Sent: Monday, December 29, 2003 12:12 AM
To: '[EMAIL PROTECTED]'
Subject: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery


Andrew:

I tried the asterisk -vvvc suggestion and I didn't get any messages when the
card died.

Here's /proc/interrupts before I take out the sound card:

   CPU0
  0: 102777IO-APIC-edge  timer
  1:471IO-APIC-edge  keyboard
  2:  0  XT-PIC  cascade
  8:  4IO-APIC-edge  rtc
 14:   9159IO-APIC-edge  ide0
 15:  6IO-APIC-edge  ide1
 17:1995769   IO-APIC-level  wcfxo, wcfxo
 18: 341396   IO-APIC-level  wcfxs
 19:  0   IO-APIC-level  EMU10K1
 20:   3390   IO-APIC-level  eth1
 21:   8652   IO-APIC-level  eth0
 22:788   IO-APIC-level  eth2
NMI:  0
LOC: 102728
ERR:  0
MIS:  0

and after:

   CPU0
  0:  14903IO-APIC-edge  timer
  1:  2IO-APIC-edge  keyboard
  2:  0  XT-PIC  cascade
  8:  4IO-APIC-edge  rtc
 14:   7469IO-APIC-edge  ide0
 15:  6IO-APIC-edge  ide1
 17: 111534   IO-APIC-level  wcfxo
 18: 111626   IO-APIC-level  wcfxo
 19: 104013   IO-APIC-level  wcfxs
 20:680   IO-APIC-level  eth1
 21:509   IO-APIC-level  eth0
 22: 41   IO-APIC-level  eth2
NMI:  0
LOC:  14855
ERR:  0
MIS:  0

About load: almost impossible to tell. I was sshed into the server and
running top - top was showing the system 100%
idle. Then I hit a download link and bang, the card died.

This is all pretty academic at this point - I think Tilghman found the
problem for me.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Victor Rini
Sean,

Yes, that IRQ assignment seemed strange to me too.

I don't understand why the kernel wanted to assign IRQS this way.

I guess it's something to do with this APIC technology.

Can anyone fill me in here?

By the way, thanks to everyone who has contributed to this thread.
It's really helped a lot.

Victor

   CPU0
  0: 102777IO-APIC-edge  timer
  1:471IO-APIC-edge  keyboard
  2:  0  XT-PIC  cascade
  8:  4IO-APIC-edge  rtc
 14:   9159IO-APIC-edge  ide0
 15:  6IO-APIC-edge  ide1
 17:1995769   IO-APIC-level  wcfxo, wcfxo
 18: 341396   IO-APIC-level  wcfxs
 19:  0   IO-APIC-level  EMU10K1
 20:   3390   IO-APIC-level  eth1
 21:   8652   IO-APIC-level  eth0
 22:788   IO-APIC-level  eth2
NMI:  0
LOC: 102728
ERR:  0
MIS:  0

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery

2003-12-28 Thread Adam Goryachev
I might add that I has similar problems on a very frequant basis,
finally I 'accidentally' found a version of asterisk + zaptel modules
that was stable for more than 6 weeks. Eventually I asked for (and got)
a replacement card from digium with the internal power connector. This
worked fine with the same software versions, although it crashed once
after about 3 weeks.

I've just updated to current CVS of everything, and will see how it
goes.

I'm not doing anything major out of the ordinary, I have a single X101P,
a single TDM400P and a 2 channel (single BRI) i4l ISDN card. I use IAX
to connect to a *very* lightly used extension (ie, iax to second
asterisk to sip ata186).

Regards,
Adam

[EMAIL PROTECTED]  wrote:
 now we're getting somewhere!  anything above interrupt 15
 will be interrupt
 sharing.  bad!  If you can get the cards assigned to 10 or 11, you
should
 be in better shape.
 
 Sean
 
 -Original Message-
 From: Victor Rini [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 29, 2003 12:12 AM
 To: '[EMAIL PROTECTED]'
 Subject: [Asterisk-Users] RE: TDM Card loses Dialtone and Battery
 
 
 Andrew:
 
 I tried the asterisk -vvvc suggestion and I didn't get any
 messages when the
 card died.
 
 Here's /proc/interrupts before I take out the sound card:
 
CPU0
   0: 102777IO-APIC-edge  timer
   1:471IO-APIC-edge  keyboard
   2:  0  XT-PIC  cascade
   8:  4IO-APIC-edge  rtc
  14:   9159IO-APIC-edge  ide0
  15:  6IO-APIC-edge  ide1
  17:1995769   IO-APIC-level  wcfxo, wcfxo
  18: 341396   IO-APIC-level  wcfxs
  19:  0   IO-APIC-level  EMU10K1
  20:   3390   IO-APIC-level  eth1
  21:   8652   IO-APIC-level  eth0
  22:788   IO-APIC-level  eth2
 NMI:  0
 LOC: 102728
 ERR:  0
 MIS:  0


 --
Adam Goryachev
Website Managers
Ph:  +61 2 9345 4395[EMAIL PROTECTED]
Fax: +61 2 9345 4396www.websitemanagers.com.au

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users