[Asterisk-bsd] TDM410P support to FreeBSD

Irmãos Bocchi & CIA Ltda challado at ibocchi.com.br
Thu May 15 08:52:37 CDT 2008


Hi all!

I have a test server with FreeBSD 7.0 and Debian GNU/Linux 4.0 (etch).

My problem is that this card works well in etch and doesn't work in 
FreeBSD. I have 3 gateways with FreeBSD and I already have asterisk 
installed with sip phones working. Now I need to integrate the actual 
PBX structure to my asterisk box.

I already tryed to compile the subversion code  (obtained via svn co 
--username svn --password svn  
https://svn.pbxpress.com:1443/repos/zaptel-bsd) and the 
/usr/ports/misc/zaptel code. With these two codes my digium interface 
doesn't work.

Unfortunately, now I have a big problem. I already have installed an 
asterisk server in two BSD's servers and now this servers talk one with 
other using the Openfire plugin for asterisk, Spark sipphone plugin and 
asterisk with IAX. Now, I need to integrate the existent PBX structure 
with my asterisk. To do these, I buy a TDM410P card (that works well in 
linux), but doesn't work with FreeBSD. As you see above, when the module 
load, the digium pci isn't recognized. I try to download the trunk 
version driver, but the same message appears in dmesg. When I take other 
card TDM400P (loan from friend), all works very fine!

Now, I send my answers:
1) The TDM410p is supported by current freebsd zaptel driver?
2) If TDM410p isn't supported, you have plans to port the linux driver 
soon or not?
3) If you doesn't have time to port this driver, or doesn't plan to make 
this port at this time (you need to pay your accounts, and I believe 
that you have so much work to dedicate your time to peoples that me :), 
my unique solution is change my BSD's gateways to linux gateways, or 
change this devices to supported devices. How are these supported devices?

Sorry my very poor english (I'm a young boy, and I start my english 
course now).

Thanks for your time, help and your patience. Sorry by your spended time 
with my ignorance...

Now, I send any important information to your appreciation/considerations:
* Operating system information
FreeBSD asterisk.irmaosbocchi.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 
Sun Feb 24 19:59:52 UTC 2008     
root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

* Current driver package
Current ports version - zaptel-fbsd-1.4.6

* pciconf -l -cv
none1 at pci0:0:15:0:      class=0x020000 card=0x8005d161 chip=0x8005d161 
rev=0x11 hdr=0x00
   vendor     = 'Digium, Inc'
   class      = network
   subclass   = ethernet
   cap 01[c0] = powerspec 2  supports D0 D1 D2 D3  current D0

* lspci -v (installed from ports)
00:0f.0 Ethernet controller: Digium, Inc. Unknown device 8005 (rev 11)
       Subsystem: Digium, Inc. Unknown device 8005
       Flags: bus master, medium devsel, latency 32, IRQ 18
       I/O ports at 8000
       Memory at e5000000 (32-bit, non-prefetchable)
       Capabilities: [c0] Power Management version 2

* dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
       The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
   root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.40GHz (2394.01-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> 

 Features2=0x441d<SSE3,RSVD2,MON,DS_CPL,CNXT-ID,xTPR>
real memory  = 234864640 (223 MB)
avail memory = 215818240 (205 MB)
ACPI APIC Table: <ASUS   P4SPMXSE>
ioapic0 <Version 8.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
acpi0: <ASUS P4SPMXSE> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, df00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 651 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xd800-0xd87f mem 
0xf0000000-0xf7ffffff,0xe7800000-0xe781ffff irq 16 at device 0.0 on pci1
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 962 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xa400-0xa40f irq 16 at device 2.5 
on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <multimedia, audio> at device 2.7 (no driver attached)
ohci0: <SiS 5571 USB controller> mem 0xe7000000-0xe7000fff irq 20 at 
device 3.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xe6800000-0xe6800fff irq 21 at 
device 3.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 3 ports with 3 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xe6000000-0xe6000fff irq 
23 at device 3.3 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 6 ports with 6 removable, self powered
sis0: <SiS 900 10/100BaseTX> port 0x8800-0x88ff mem 
0xe5800000-0xe5800fff irq 19 at device 4.0 on pci0
miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:11:d8:96:3c:43
sis0: [ITHREAD]
ed0: <RealTek 8029> port 0x8400-0x841f irq 17 at device 14.0 on pci0
ed0: [ITHREAD]
ed0: using obsoleted if_watchdog interface
ed0: Ethernet address: 00:c0:df:f4:58:fc
pci0: <network, ethernet> at device 15.0 (no driver attached)
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio0: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
fdc0: No FDOUT register!
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2394013806 Hz quality 800
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ad0: 39205MB <Maxtor 6E040L0 NAR61HA0> at ata0-master UDMA133
ad2: 19092MB <Seagate ST320410A 3.34> at ata1-master UDMA100
Trying to mount root from ufs:/dev/ad2s1a
WARNING: / was not properly dismounted
sis0: link state changed to UP
Zapata Telephony Interface Registered on major 196
Echo Canceller: MG2


-- 
+------------------------------------------
| Att                                      
| Lucas Willian Bocchi
| Departamento de Tecnologia da Informação
| Setor de Redes, Suporte e Desenvolvimento
| Irmãos Bocchi & CIA Ltda
+-------------------------------------------



------------------------------------------------
Os e-mails enviados por este domínio são verificados
por sistemas antivírus e antispam, visando a proteção
dos usuários e dos equipamentos de nossa empresa, bem como
para proteger o conteúdo e o trabalho de outros que
por ventura venham receber e-mails deste domínio.

O Grupo Bocchi se reserva no direito de, a qualquer
momento, bloquear ou inutilizar conteúdo de e-mails
que venham a ser prejudiciais para o ambiente de trabalho.

Caso este e-mail não possua conteúdo que seja relevante
à sua atividade profissional, ou a do usuário que a enviou,
por favor, delete-o imediatamente.

O Grupo Bocchi não se responsabiliza por qualquer dano 
ou prejuízo que a utilização indevida deste e-mail
possa causar a você ou sua empresa.

Em caso de dúvidas, favor entrar em contato.
---------------------------------------------


Grupo Irmãos Bocchi & Cia Ltda

http://www.ibocchi.com.br




More information about the Asterisk-BSD mailing list