[Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4

Chris St Denis chris at aebc.com
Fri Oct 7 12:01:33 CDT 2005


gateway2# pciconf -lv
hostb0 at pci0:0:0:        class=0x060000 card=0x00000000 chip=0x00171166
rev=0x32 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CMIC-SL'
    class    = bridge
    subclass = HOST-PCI
hostb1 at pci0:0:1:        class=0x060000 card=0x00000000 chip=0x00171166
rev=0x00 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CMIC-SL'
    class    = bridge
    subclass = HOST-PCI
wct4xxp0 at pci0:5:0:      class=0x078000 card=0x00000000 chip=0x031410ee
rev=0x01 hdr=0x00
    vendor   = 'Xilinx Corporation'
    device   = 'Spartan XC2S50E Communications Controller'
    class    = simple comms
em0 at pci0:8:0:   class=0x020000 card=0x004e8086 chip=0x100e8086 rev=0x02
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82540EM Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
em1 at pci0:9:0:   class=0x020000 card=0x004e8086 chip=0x100e8086 rev=0x02
hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82540EM Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
none0 at pci0:11:0:        class=0x030000 card=0x00081002 chip=0x47521002
rev=0x27 hdr=0x00
    vendor   = 'ATI Technologies Inc.'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA
hostb2 at pci0:15:0:       class=0x060000 card=0x415515d9 chip=0x02031166
rev=0xa0 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB6 PCI to ISA Bridge'
    class    = bridge
    subclass = HOST-PCI
atapci0 at pci0:15:1:      class=0x01018a card=0x021211d9 chip=0x02131166
rev=0xa0 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'OSB6/CSB6 PCI EIDE Controller'
    class    = mass storage
    subclass = ATA
ohci0 at pci0:15:2:        class=0x0c0310 card=0x415515d9 chip=0x02211166
rev=0x05 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'OSB6 OHCI Compliant USB Controller'
    class    = serial bus
    subclass = USB
isab0 at pci0:15:3:        class=0x060100 card=0x415515d9 chip=0x02271166
rev=0x00 hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB6 PCI Bridge'
    class    = bridge
    subclass = PCI-ISA

-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Konstantin
Prokazoff
Sent: Friday, October 07, 2005 11:36 AM
To: Asterisk on BSD discussion
Subject: Re: [Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4

Guys,

    can you provide pciconf -lv ?

Best regards,
        Konstantin Prokazoff
Center Of Excellence, S_V_R Ltd., Kyiv HQs, Ukraine
Official business-partner & DevConnect member of Avaya Inc.
Regional development & support center of Digium Inc.
Tel. +38 044 244 1181, ext. 1038
Fax. +38 044 234 0455

----- Original Message ----- 
From: "Chris St Denis" <chris at aebc.com>
To: "'Asterisk on BSD discussion'" <asterisk-bsd at lists.digium.com>
Sent: Thursday, October 06, 2005 1:41 PM
Subject: RE: [Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4


> You could play with the sysctl variables and turn on debug. This gave me
> lots of info. It was far too obscure and low level for me to make any use
of
> but your mileage may vary.
>
> gateway2# sysctl -a | grep zap
> zaptel.debug: 1
> zaptel.deftaps: 64
> zaptel.pulse.make: 60
> zaptel.pulse.break: 40
> zaptel.pulse.pause: 800
> zaptel.wcfxo.debug: 1
> zaptel.wcfxo.monitor: 0
> zaptel.wcfxo.batterycheck: 1
> zaptel.wcfxs.debug: 1
> zaptel.wct4xxp.debug: 1
> zaptel.wct4xxp.t1e1: -1
>
> -----Original Message-----
> From: asterisk-bsd-bounces at lists.digium.com
> [mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Mark Ackroyd
> Sent: Thursday, October 06, 2005 12:03 PM
> To: asterisk-bsd at lists.digium.com
> Subject: RE: [Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4
>
> > Some suggestions on your problem to help debug it.
>
> Thanks :-)
>
> > * Run zttool and see if there are any alarms on your spans. And make
sure
> > whichever one you use is marked as "OK" not "Unconfigured"
>
> This doesn't actually show anything, nice blue screen no info, just a
select
> and quit button.
>
> > * Did you make a /usr/local/etc/zaptel.conf?
>
> Yes, it was missing from the port. I Had card working on a Linux machine,
I
> just used the same file.
>
> > * did you run ztcfg? Run it with -vvvvvv and see if you get any info.
>
> loads of info about my config. , then the line
>
> ZT_SPANCONFIG failed on span 1: Device not configured (6)
>
> > * will asterisk load with zaptel module in?
>
> As you would expect, asterisk doesn't even see that there is any zap
> channels there.
>
> Interesting enough, there is a /dev/zap entry. But after looking round , I
> noticed other people have a /dev/wct4xxp entry. I don't though :-(
>
> kldstat tells me this, that the driver is loaded, but is simply not seeing
> the card. It's as if it was not plugged in !.
>
> root at hathor:/dev>kldstat
> Id Refs Address    Size     Name
>  1   15 0xc0400000 5dde04   kernel
>  2   14 0xc09de000 56270    acpi.ko
>  3    1 0xc288c000 17000    linux.ko
>  4    7 0xc2928000 2f000    zaptel.ko
>  5    1 0xc2958000 7000     qozap.ko
>  6    1 0xc2967000 5000     wcfxo.ko
>  7    1 0xc296d000 a000     wcfxs.ko
>  8    1 0xc297a000 6000     wct1xxp.ko
>  9    1 0xc2981000 b000     wct4xxp.ko
> 10    1 0xc298d000 9000     wcte11xp.ko
> root at hathor:/dev>
>
> Mark
>
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



More information about the Asterisk-BSD mailing list