Koozali.org: home of the SME Server

Howto install a TDM410P ?

Offline fpausp

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


modprobe wctdm24xxp:

FATAL: Module wctdm24xxp not found.


Best
fpausp
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #16 on: April 23, 2008, 04:52:32 AM »
OK,  well that kind of clears up why the PCI card sniffer is not working....

so..  Back to first principles which rpms are you running for asterisk ?  What does "uname -r" show?  what does "rpm -qa  | grep zaptel" show?

Best

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #17 on: April 23, 2008, 11:07:55 PM »
Hi,

In the meantime i got problems with my own server, maybe we can fix that first ?

Today i have done the 19-April update, i got many problems with installed contribs ... . I have done a fresh install and update.

After the update i installed fetchmail (smeserver-fetchmail-utf8-1.3.5-02.noarch.rpm) and sail with that script:

Code: [Select]

/sbin/e-smith/db yum_repositories set atrpms repository \
Name 'atrpms - EL4' \
BaseURL 'http://dl.atrpms.net/el4-$basearch/atrpms/stable' \
EnableGroups no \
GPGCheck yes \
GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms \
Visible no \
Exclude clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,\
perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,\
libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,\
librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,\
libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,\
gd,perl-TimeDate,librpm4.4 \
status disabled

expand-template /etc/yum.conf

yum -y install zaptel --enablerepo=atrpms
yum -y install libpri  --enablerepo=atrpms
yum -y install asterisk --enablerepo=atrpms
yum -y install zaptel-kmdl-`uname -r` --enablerepo=atrpms
yum -y install asterisk-addons  --enablerepo=atrpms

yum -y install sail-2.2.1-618.noarch.rpm --enablerepo=base
yum -y install sme-ast-de-de-gpl-sounds-1.0.0-1.noarch.rpm

signal-event console-save

signal-event post-upgrade

signal-event reboot



I probed my TDM-Card and got:


Code: [Select]

Found following card...

00:06.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Unknown device b1d9:0003
Flags: bus master, medium devsel, latency 32, IRQ 177
I/O ports at d800 [size=256]
Memory at dfffe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

Requesting Load of wctdm ...

Loaded wctdm...

Zaptel view of card in /proc/zaptel/1
 Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
 
     1 WCTDM/0/0
     2 WCTDM/0/1
     3 WCTDM/0/2
     4 WCTDM/0/3




There are no entries in the PCI Telephony Card Definition.

I am a bit confused now, i think i can remember that sail in earlier versions was automatically given me a trunkline ?



Code: [Select]

lspci -v:

00:06.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
        Subsystem: Unknown device b1d9:0003
        Flags: bus master, medium devsel, latency 32, IRQ 177
        I/O ports at d800 [size=256]
        Memory at dfffe000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 2

lspci -vn:

00:06.0 Class 0780: e159:0001
        Subsystem: b1d9:0003
        Flags: bus master, medium devsel, latency 32, IRQ 177
        I/O ports at d800 [size=256]
        Memory at dfffe000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 2


uname -r:
2.6.9-67.0.7.EL

cat /proc/zaptel/*:

Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)

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


db selintra show wctdm:

wctdm=loadmod
    status=YES
    zzeor=EOR








please help me to get that working before my family is killing me  :lol:

regards
fpausp
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #18 on: April 25, 2008, 08:42:40 PM »
I can't help if you don't supply the information I request.

It's almost certain you have a module mis-match somewhere.  This is why I need to know which asterisk rpms you are running as well as the kernel release.  We are running our tdm410P here without problems. So...

Quote
Back to first principles which rpms are you running for asterisk ?  What does "uname -r" show?  what does "rpm -qa  | grep zaptel" show?

Thankyou

S


Offline fpausp

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

Sorry, it is working now. The first problem on my friends server was a bad installation and on my own server i had to change the
impedances for my country. After the change in /etc/init.d/sark the inbound via TDM is working  :lol:.

Thank you for your help, when i finish the work on my first asterisk-costumer i like to donate to you.


Best

fpausp

Viribus unitis

Offline fpausp

  • *
  • 728
  • +0/-0
Howto install a TDM410P ?
« Reply #20 on: April 26, 2008, 02:53:45 PM »
Ignore this post
« Last Edit: April 26, 2008, 04:48:34 PM by fpausp »
Viribus unitis

Offline besterl

  • ***
  • 78
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #21 on: June 29, 2008, 01:18:10 PM »
Hi Guys - especially Selintra

Sorry to wake up an old thread

I believe the TDM800P is very similar to the TDM400P

I've tried all the instrucations here but no go.....

uname -r
2.6.9-67.0.20.EL

Asterisk version
sail-2.2.1-617

I have confused myself seriously now

Does the TDM800P (Populated with 2 FXO 4 port modules) use the wctdm or the wctdm24xxp driver?

I can get the card visible in the PCI Probe under both, but no trunk lines are created..

I am a bit of a noob here (have set up a test trixbox), but would like to get this running on the SARK

Urgent help/advice will be greatly appreciated.

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #22 on: June 29, 2008, 05:15:53 PM »
The TDM800 was not supported until -626

U[grade SAIL and you should be good to go.

Suggest you go up to -640

As an aside, the tdm800 is quite different to the tdm400 and uses different drivers (as you'd guessed). The TDM410 is it's 4 port equivalent.

Best

Offline besterl

  • ***
  • 78
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #23 on: June 29, 2008, 06:20:29 PM »
What I have found out so far.

The tdm800p uses the wctdm24xxp driver

I can get the server to see the card in PCI Probe.

The problem however is that, that is where it stops.

Trying to narrow down the problem - it seems that modprobe is not loading the driver at startup

If I run modprobe wctdm24xxp - it see the card

If I do not run this - the card is not recognised.

The problem is that when you commit your changes - the wctdm24xxp is unloaded.

As such the is no info in the card info screen

I have run the latest yum updates and sail is still only on 617.

How would I go about taking it to 640 like you suggest.

Much appreciated


Offline besterl

  • ***
  • 78
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #24 on: June 29, 2008, 06:38:03 PM »
OK - I found the RPM - busy installing now

Will let you know

L

Offline besterl

  • ***
  • 78
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #25 on: June 29, 2008, 06:47:22 PM »
Here is the situation currently

update to Sail to 2.2.1-640

PCI Probe results

Found following card...

00:0a.0 Ethernet controller: Digium, Inc. Wildcard TDM800P 8-port analog card (rev 11)
   Subsystem: Digium, Inc. Wildcard TDM800P 8-port analog card
   Flags: bus master, medium devsel, latency 64, IRQ 185
   I/O ports at e800 [size=256]
   Memory at fcfffc00 (32-bit, non-prefetchable) [size=1K]
   Expansion ROM at fcfc0000 [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



modprobe wctdm24xxp result

FATAL: Module wctdm24xxp not found.

dmesg result
IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
microcode: CPU0 already at revision 0x32 (current=0x32)
microcode: No new microdata for cpu 0
IA-32 Microcode Update Driver v1.14 unregistered
divert: freeing divert_blk for bond0
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (3573 buckets, 28584 max) - 356 bytes per conntrack
Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)
bonding: MII link monitoring set to 200 ms
divert: allocating divert_blk for bond0
via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 201
divert: allocating divert_blk for eth0
eth0: VIA Rhine II at 0xfcfff800, 00:1d:92:6f:85:39, IRQ 201.
eth0: MII PHY found at address 1, status 0x786d advertising 01e1 Link 41e1.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1


Alas - no Digium in dmesg






Offline besterl

  • ***
  • 78
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #26 on: June 29, 2008, 07:31:55 PM »
Excellent

Installed the latest Zaptel rpms and voila - all is working

Thanks a mil for the help


Offline NetDreamer

  • 11
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #27 on: September 15, 2008, 10:08:11 AM »
I also have just bought a TDM410 and have similar problems- server on 617 card not recognised - see info below.
could you help by explaining how to download later version / from where?

Found following card...

00:0a.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
   Subsystem: Digium, Inc.: Unknown device 8005
   Flags: bus master, medium devsel, latency 64, IRQ 177
   I/O ports at c400 [size=256]
   Memory at e7104000 (32-bit, non-prefetchable) [size=1K]
   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


[root@bwfserver ~]# uname -r
2.6.9-78.0.1.EL

[root@bwfserver ~]# rpm -qa | grep zaptel
warning: only V3 signatures can be verified, skipping V4 signature (note x3)
zaptel-1.4.9.2-48.el4
warning: only V3 signatures can be verified, skipping V4 signature (note x 2)
zaptel-kmdl-2.6.9-67.0.1.ELsmp-1.4.9.2-48.el4
warning: only V3 signatures can be verified, skipping V4 signature (note x 1)
zaptel-kmdl-2.6.9-67.0.1.EL-1.4.9.2-48.el4

Version: sail-2.2.1-617

any assistance would be appreciated

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Howto install a TDM410P ?
« Reply #28 on: September 15, 2008, 12:43:37 PM »
SAIL is recognising your card just fine.  The problem you have is that you have installed kernel drivers for 2.6.9-67.0.1 but you have yum upgraded your kernel to 2.6.9-78.0.1

Look here...

Quote
root@bwfserver ~]# uname -r
2.6.9-78.0.1.EL

[root@bwfserver ~]# rpm -qa | grep zaptel
warning: only V3 signatures can be verified, skipping V4 signature (note x3)
zaptel-1.4.9.2-48.el4
warning: only V3 signatures can be verified, skipping V4 signature (note x 2)
zaptel-kmdl-2.6.9-67.0.1.ELsmp-1.4.9.2-48.el4
warning: only V3 signatures can be verified, skipping V4 signature (note x 1)
zaptel-kmdl-2.6.9-67.0.1.EL-1.4.9.2-48.el4


uname -r is showing 2.6.9-78.0.1 while you have kmdl rpms for 2.6.9-67.0.1

SAIL is asking for the correct driver to be loaded into the kernel but you do not have a driver installed for 72.0.1

so - you must install the 78.0.1 driver rpms...

Code: [Select]
yum install zaptel-kmdl-`uname -r` --enablerepo=atrpms
Then you must remove ztdummy

Code: [Select]
rmmod ztdummy
db selintra-work setprop ztdummy status NO
db selintra setprop ztdummy status NO


Then you can run your probe again.



Kind Regards

Offline NetDreamer

  • 11
  • +0/-0
Re: Howto install a TDM410P ?
« Reply #29 on: September 16, 2008, 02:06:09 AM »
I have tried the Yum and it comes up with

Error: Missing Dependency: zaptel = 1:1.4.9.2-48.el4 is needed by package zaptel-kmdl-2.6.9-67.0.1.EL

I know for those who are good at linux would be able to solve this in minutes, but I have seached for a solution for several hours and come up blank. Also I have tried a few things that I have read on the web and it hasn't helped.

I may have dug myself a deeper hole.

If this is a simple issue I would appreciate some guidance otherwise I will backup my data files and do a new sark install. The irony here is that the fresh install may even be the quicker option.

Kind Regards
Brian