Hello all, I've posted on this problem before. Well here goes again. I have an intel mobo with a p4 2.4ghz proc, 1GB Ram. It has built-in ethernet and vga and 6 pci slots. I dreamed of making this my household communications server: internet router, firewall, vpn and asterisk. Everything works except the TDM fxs card. Well it works for a little while and it dies: no dialtone, no ring tone. All 6 slots are filled: two more Ethernet cards, two digium fxo cards, an sb live card and the tdm card. Everything that I don't use on the motherboard is turned off: serial and parallel ports, serial ata and motherboard sound. I've got all this stuff packed in a case with a 430 watt power supply. Interesting observation #1: When the tdm card dies, the fxo cards and asterisk still carry on. People can call and can leave messages, etc. I just can't hear the phone ring and I can't use the phone either. Interesting observation #2: I think I know how to make the tdm card die. I have a pc behind one of the Ethernet cards on the server. When I do a download off the net, the tdm card dies. Keep in mind when I'm doing a download two Ethernet interfaces are working, the one to which the pc is connected and the one connected to my cable modem. I've just tried another download - I'm almost 100 percent sure I can make the card die this way. Anyone been down this path before? I'd hate to buy a linksys box just to make the tdm card happy. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031228/85896eea/attachment.htm
Andrew Thompson
2003-Dec-28 19:53 UTC
[Asterisk-Users] TDM Card loses Dialtone and Battery
----- Original Message ----- From: "Victor Rini" <victor@paceint.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, December 28, 2003 8:48 PM Subject: [Asterisk-Users] TDM Card loses Dialtone and Battery <snip>> I dreamed of making this my household communications server: internet > router, firewall, vpn and asterisk. Everything works except the TDM fxs > card. Well it works for a little while and it dies: no dialtone, no ring > tone.Does asterisk start dumping grotesque error messages when the card dies? Checked /proc/interrupts? What about load, while you're downloading? (I realize the error is "permanent", even though the load isn't.)> All 6 slots are filled: two more Ethernet cards, two digium fxo cards, ansb> live card and the tdm card. Everything that I don't use on the motherboardSide note, and probably not related, but what's the SB live card for? You don't actually use this computer, do you? It's a server, let it be one... ---- Andrew Thompson http://aktzero.com/
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20031228/1d6e0261/attachment.pgp
Victor Rini
2003-Dec-28 20:20 UTC
[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.
Tilghman Lesher
2003-Dec-28 20:36 UTC
[Asterisk-Users] TDM Card loses Dialtone and Battery
On Sunday 28 December 2003 19:48, Victor Rini wrote:> I've posted on this problem before. Well here goes again. > > I have an intel mobo with a p4 2.4ghz proc, 1GB Ram. It has built-in > ethernet and vga and 6 pci slots. > > I dreamed of making this my household communications server: internet > router, firewall, vpn and asterisk. Everything works except the TDM > fxs card. Well it works for a little while and it dies: no dialtone, > no ring tone. > > All 6 slots are filled: two more Ethernet cards, two digium fxo > cards, an sb live card and the tdm card. Everything that I don't use > on the motherboard is turned off: serial and parallel ports, serial > ata and motherboard sound. I've got all this stuff packed in a case > with a 430 watt power supply. > > Interesting observation #1: When the tdm card dies, the fxo cards and > asterisk still carry on. People can call and can leave messages, etc. > I just can't hear the phone ring and I can't use the phone either. > > Interesting observation #2: I think I know how to make the tdm card > die. I have a pc behind one of the Ethernet cards on the server. > When I do a download off the net, the tdm card dies. Keep in mind > when I'm doing a download two Ethernet interfaces are working, the > one to which the pc is connected and the one connected to my cable > modem. I've just tried another download - I'm almost 100 percent sure > I can make the card die this way. > > Anyone been down this path before? I'd hate to buy a linksys box just > to make the tdm card happy.Which revision of the card is this? Is it the Revision C or before (with no molex connection) or the Revision E or later (with a molex connection)? I've had this problem before with the Revision C, but the Revision E/F cleared up the problem. -Tilghman
Sean Cheesman
2003-Dec-28 20:38 UTC
[Asterisk-Users] RE: TDM Card loses Dialtone and Battery
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:victor@paceint.com] Sent: Sunday, December 28, 2003 10:21 PM To: 'asterisk-users@lists.digium.com' 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 Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Victor Rini
2003-Dec-28 20:40 UTC
[Asterisk-Users] RE: TDM Card loses Dialtone and Battery
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.
Victor Rini
2003-Dec-28 20:53 UTC
[Asterisk-Users] RE: TDM Card loses Dialtone and Battery
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
Victor Rini
2003-Dec-28 22:11 UTC
[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: 102777 IO-APIC-edge timer 1: 471 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 4 IO-APIC-edge rtc 14: 9159 IO-APIC-edge ide0 15: 6 IO-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: 14903 IO-APIC-edge timer 1: 2 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 4 IO-APIC-edge rtc 14: 7469 IO-APIC-edge ide0 15: 6 IO-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.
Sean Cheesman
2003-Dec-28 22:23 UTC
[Asterisk-Users] RE: TDM Card loses Dialtone and Battery
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:victor@paceint.com] Sent: Monday, December 29, 2003 12:12 AM To: 'asterisk-users@lists.digium.com' 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: 102777 IO-APIC-edge timer 1: 471 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 4 IO-APIC-edge rtc 14: 9159 IO-APIC-edge ide0 15: 6 IO-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: 14903 IO-APIC-edge timer 1: 2 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 4 IO-APIC-edge rtc 14: 7469 IO-APIC-edge ide0 15: 6 IO-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 Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Victor Rini
2003-Dec-28 22:36 UTC
[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: 102777 IO-APIC-edge timer 1: 471 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 4 IO-APIC-edge rtc 14: 9159 IO-APIC-edge ide0 15: 6 IO-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
Sean Cheesman
2003-Dec-28 22:59 UTC
[Asterisk-Users] RE: TDM Card loses Dialtone and Battery
The interrupts are assigned by the BIOS at startup. In your BIOS setup, do you have the ability to assign IRQ's to particular PCI slots? Each system board is different, but most allow you to override somehow. You might have to set the Plug and Play Aware OS (or whatever yours is) to no to enable those options. Some IRQ's that are usually available are 5, 10, and 11. Others can be available depending on your system configuration and what all is enabled. As a typical rule, here's the breakdown: 0: system timer 1: keyboard 2: cascade to 9 3: COM2/TTYS1 4: COM1/TTYS0 5: available 6: Floppy Disk controller 7: LPT1 8: Real Time Clock 9: PCI Steering (bridge to IRQ2) 10: Available 11: PCI Steering (usually available) 12: Mouse 13: Math Coprocessor 14: IDE0 (Primary IDE) 15: IDE1 (Secondary IDE) Obviously if you have something disabled, you can use it's IRQ without problems. Any IRQ's over 15 are virtual IRQ's that are being assigned either through the BIOS or possibly through the OS, although I am unsure whether Linux does this? Sean -----Original Message----- From: Victor Rini [mailto:victor@paceint.com] Sent: Monday, December 29, 2003 12:37 AM To: 'asterisk-users@lists.digium.com' 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: 102777 IO-APIC-edge timer 1: 471 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 4 IO-APIC-edge rtc 14: 9159 IO-APIC-edge ide0 15: 6 IO-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 Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users