Koozali.org: home of the SME Server

Howto install a TDM410P ?

Offline fpausp

  • *
  • 728
  • +0/-0
Howto install a TDM410P ?
« on: April 12, 2008, 03:39:09 PM »
Hi all,

I try to install a TDM410P on a Primergy TX150 S4. I am running Asterisk 1.4.18.1 and Sail 606.
I get "No Telephony Boards found" when i probe the card.

lspci output is:

Code: [Select]

00:00.0 Host bridge: Intel Corporation E7230/3000/3010 Memory Controller Hub (rev 81)
00:01.0 PCI bridge: Intel Corporation E7230/3000/3010 PCI Express Root Port (rev 81)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 RAID bus controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA RAID Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 PCI bridge: Intel Corporation 6702PXH PCI Express-to-PCI Bridge A (rev 09)
0a:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 21)
0e:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
0e:07.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
0e:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)


uname -r
2.6.9-67.0.4.ELsmp


zaptel-kmdl-2.6.9-67.0.4.ELsmp-1.4.9.2-48.el4.i686.rpm is installed !


What else can i do ?


regards
fpausp
« Last Edit: April 12, 2008, 03:41:30 PM by fpausp »
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #1 on: April 12, 2008, 06:12:51 PM »
WE haven't set the footprint record into the database fro the T410FP yet.

If you send us the signature of your card we'll include it.

follow the instructions here

http://www.selintra.com/docs/cgi-bin/view/Main/DocChapter258

Send us the vendorid, cardid and subsystem ids.  We'll send you a fix for the card.


Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #2 on: April 12, 2008, 07:00:43 PM »
Hi,

lspci -vv

0e:07.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
   Subsystem: Digium, Inc.: Unknown device 8005
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B+
   Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
   Latency: 64 (16000ns min, 32000ns max), Cache Line Size 08
   Interrupt: pin A routed to IRQ 201
   Region 0: I/O ports at 4400 [size=256]
   Region 1: Memory at fc261000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [c0] Power Management version 2
      Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=100mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
      Status: D0 PME-Enable- DSel=0 DScale=0 PME-


lspci -vn

0e:07.0 Class 0200: d161:8005 (rev 11)
   Subsystem: d161:8005
   Flags: bus master, fast Back2Back, medium devsel, latency 64, IRQ 201
   I/O ports at 4400 [size=256]
   Memory at fc261000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [c0] Power Management version 2


regards
fpausp
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #3 on: April 12, 2008, 08:08:22 PM »
Copy this command and issue it at the linux console...

Code: [Select]
db selintra-work set pci:d161:8005:d161:8005 sysdev probe wctdm zzeor EOR
Issue a commit from SAIL globals panel.

Now attempt your probe again.

Best

S

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #4 on: April 12, 2008, 09:29:38 PM »
Hi,

When i probe i get this as result:



Found following card...

0e:07.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
   Subsystem: Digium, Inc.: Unknown device 8005
   Flags: bus master, fast Back2Back, medium devsel, latency 64, IRQ 201
   I/O ports at 4400 [size=256]
   Memory at fc261000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [c0] Power Management version 2

Requesting Load of wctdm ...

Loaded wctdm...

No Telephony Boards found - check admin-error log for probe failures...

Signalling asterisk daemon to load ZTDUMMY for timing purposes



After a signal-event post ..... i got:


Found following card...

0e:07.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
   Subsystem: Digium, Inc.: Unknown device 8005
   Flags: bus master, fast Back2Back, medium devsel, latency 64, IRQ 201
   I/O ports at 4400 [size=256]
   Memory at fc261000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [c0] Power Management version 2

Requesting Load of wctdm ...

Loaded wctdm...

Zaptel view of card in /proc/zaptel/1
 Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: Linux26) 1" (MASTER)



but when i commit:

There are currently no PCI Telephony cards registered on the system.




Kind

fpausp

Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #5 on: April 12, 2008, 09:50:43 PM »
Yes indeed,

Apologies,  Digium have changed over to the voicebus technology on this card (like the 800 and 2400) so it no longer uses the TDM driver.  This means we'll have to change some code.

I am guessing that this will take a day or two.  Once again, apologies.

If your machine is accesible from the web and you can open it up to us then we'll happily work directly on your box.   I don't have a 410 here but we can get one on Tuesday.

For the moment SAIL won't recognise this card.

Could you also show us the output from dmesg please?

Send it to admin@selintra.com
Also if you want us to work on your system directly then send login details to admin@selintra.com

Thankyou


Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #6 on: April 12, 2008, 11:20:48 PM »
Hello Selintra,

Thanks for your great help, i am sorry i cant give you access to this machine because it is not mine.

I will send you an output from dmesg.


Kind
fpausp
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #7 on: April 12, 2008, 11:21:37 PM »
no problem

thx

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #8 on: April 16, 2008, 05:53:07 PM »
Hi Selintra,

I installed Sail 617 and i have done a console-save, commit ...

When i probe the card i get:

Found following card...

0e:07.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
   Subsystem: Digium, Inc.: Unknown device 8005
   Flags: bus master, fast Back2Back, medium devsel, latency 64, IRQ 201
   I/O ports at 4400 [size=256]
   Memory at fc261000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [c0] Power Management version 2

Requesting Load of wctdm ...

Loaded wctdm...

No Telephony Boards found on second pass ...

Signalling asterisk daemon to load ZTDUMMY for timing purposes


Can you help me please ?


Kind
fpausp
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #9 on: April 16, 2008, 08:55:53 PM »
This almost certainly bcause of the fingerprint record we gave you last week.

It needs to change (it does change in the update but it won't update the one you had changed - if that makes sense).

Do...

Code: [Select]
db selintra-work setprop pci:d161:8005:d161:8005 probe wctdm24xxp
Kind Regards

S


Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #10 on: April 17, 2008, 04:16:25 PM »
Thanks, that looks ok. I will test it next week ...

best
fpausp
Viribus unitis

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #11 on: April 20, 2008, 07:45:55 AM »
Hello,

Today i tried to install this type of card on a 2nd Server, Asterisk 1.4.19 and sail-2.2.1-617 is running.

Code: [Select]

lspci -v

07:02.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
        Subsystem: Digium, Inc.: Unknown device 8005
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B+
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (16000ns min, 32000ns max), Cache Line Size 10
        Interrupt: pin A routed to IRQ 201
        Region 0: I/O ports at 1000 [size=256]
        Region 1: Memory at 92200000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at fffe0000 [disabled] [size=128K]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=100mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

lspci -vn

07:02.0 Class 0200: d161:8005 (rev 11)
        Subsystem: d161:8005
        Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 201
        I/O ports at 1000 [size=256]
        Memory at 92200000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at fffe0000 [disabled] [size=128K]
        Capabilities: [c0] Power Management version 2


When i probe the card i get:

Code: [Select]

Found following card...

07:02.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
Subsystem: Digium, Inc.: Unknown device 8005
Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 201
I/O ports at 1000 [size=256]
Memory at 92200000 (32-bit, non-prefetchable) [size=1K]
Expansion ROM at fffe0000 [disabled] [size=128K]
Capabilities: [c0] Power Management version 2

Requesting Load of wctdm24xxp ...

Loaded wctdm24xxp...

No Telephony Boards found on second pass ...

Signalling asterisk daemon to load ZTDUMMY for timing purposes




How can i solve this ?


regards
fpausp
« Last Edit: April 26, 2008, 02:50:28 PM by fpausp »
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #12 on: April 21, 2008, 08:25:53 PM »
what does the following give...?

Code: [Select]
db selintra show wctdm24xxp
Code: [Select]
cat /proc/zaptel/*


thx

S

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #13 on: April 21, 2008, 09:26:19 PM »
Hi,

db selintra show wctdm24xxp:

wctdm24xxp=loadmod
    status=YES
    zzeor=EOR

cat /proc/zaptel/*:

cat: /proc/zaptel/*: Datei oder Verzeichnis nicht gefunden

(Datei oder Verzeichnis nicht gefunden = file or folder not found)


regards
fpausp
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #14 on: April 21, 2008, 10:26:35 PM »
OK, this tells me that the modporbe does not appear to be working correctly.

Here is what happens in the PCI module....

First it will look in lspci for cards it recognises.  Then it will issue a modprobe for those cards based upon what it has in its database.  Then it waits for a little while for UDEV to build the device tree.  Now it begins its second phase by reading the files in /proc/zaptel.  From these it begins to construct the necessary data structures to generate zaptel and zapata files.   

so...

You need to follow this through manually to see why it is failing...

Our tdm410PF test board here works fine so there is something not quite right with your system (probably our fault :) ).

shutdown asterisk

Code: [Select]
/etc/init.d/sark stop   

check that all of the zaptel modules have been unloaded by using lsmod...

Code: [Select]
lsmod
If any zaptel modules ae still present, unload them manually with

Code: [Select]
rmmod {modulename}
Ok...  lets begin.

Code: [Select]
modprobe wctdm24xxp
this should load wctdm24xxp, and zaptel. Check with lsmod that they have loaded OK.

If you get any error messages tell us.

If you get no error messages then do..

Code: [Select]
cat /proc/zaptel/*
If all has gone OK, you should see something like this...

Code: [Select]
[root@test73 ~]# cat /proc/zaptel/*
Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)

           1 WCTDM/0/0
           2 WCTDM/0/1
           3 WCTDM/0/2
           4 WCTDM/0/3

Kind Regards