[asterisk-users] Dahdi configuraion / error

Joao Gomes Pereira gomespereira at startel.pt
Tue Sep 1 08:16:57 CDT 2009


Hello
I just updated the kernel, dahdi-linux and dahdi-tools
Im also using now asterisk 1.4.26.1

And im still with a red light (not RED/YELLOW anymore):

[root at catumbela ~]# /etc/rc.d/init.d/dahdi status
### Span  1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/ RED
   1 PRI        CAS          RED
   2 PRI        CAS          RED
   3 PRI        CAS          RED
   4 PRI        CAS          RED
   5 PRI        CAS          RED
   6 PRI        CAS          RED
   7 PRI        CAS          RED
   8 PRI        CAS          RED
   9 PRI        CAS          RED
  10 PRI        CAS          RED
  11 PRI        CAS          RED
  12 PRI        CAS          RED
  13 PRI        CAS          RED
  14 PRI        CAS          RED
  15 PRI        CAS          RED
  16 PRI        HDLCFCS      RED
  17 PRI        CAS          RED
  18 PRI        CAS          RED
  19 PRI        CAS          RED
  20 PRI        CAS          RED
  21 PRI        CAS          RED
  22 PRI        CAS          RED
  23 PRI        CAS          RED
  24 PRI        CAS          RED
  25 PRI        CAS          RED
  26 PRI        CAS          RED
  27 PRI        CAS          RED
  28 PRI        CAS          RED
  29 PRI        CAS          RED
  30 PRI        CAS          RED
  31 PRI        CAS          RED


Here is my config:
/etc/dahdi/system.conf ------------------------------

loadzone = us
defaultzone=us

span=1,1,0,cas,hdb3
cas=1-15:1101
dchan=16
cas=17-31:1101



tail -f /var/log/messages

Sep  1 13:56:08 catumbela kernel: dahdi: Telephony Interface Registered 
on major 196
Sep  1 13:56:08 catumbela kernel: dahdi: Version: 2.2.0.2
Sep  1 13:56:08 catumbela kernel: Found TE4XXP at base address fdcff000, 
remapped to f88a8000
Sep  1 13:56:08 catumbela kernel: TE4XXP version c01a0164, burst OFF
Sep  1 13:56:08 catumbela kernel: FALC version: 00000005, Board ID: 00
Sep  1 13:56:08 catumbela kernel: Reg 0: 0x35dbc400
Sep  1 13:56:08 catumbela kernel: Reg 1: 0x35dbc000
Sep  1 13:56:08 catumbela kernel: Reg 2: 0xffffffff
Sep  1 13:56:08 catumbela kernel: Reg 3: 0x00000000
Sep  1 13:56:08 catumbela kernel: Reg 4: 0x00000000
Sep  1 13:56:08 catumbela kernel: Reg 5: 0x00000000
Sep  1 13:56:08 catumbela kernel: Reg 6: 0xc01a0164
Sep  1 13:56:08 catumbela kernel: Reg 7: 0x00001f00
Sep  1 13:56:08 catumbela kernel: Reg 8: 0x010200ff
Sep  1 13:56:08 catumbela kernel: Reg 9: 0x00fd0000
Sep  1 13:56:08 catumbela kernel: Reg 10: 0x0000004a
Sep  1 13:56:08 catumbela kernel: Found a Wildcard: Wildcard TE405P (2nd 
Gen)
Sep  1 13:56:08 catumbela kernel: TE4XXP: Launching card: 0
Sep  1 13:56:08 catumbela kernel: TE4XXP: Setting up global serial 
parameters
Sep  1 13:56:08 catumbela dahdi:   wct4xxp:  succeeded
Sep  1 13:56:14 catumbela kernel: About to enter spanconfig!
Sep  1 13:56:14 catumbela kernel: Done with spanconfig!
Sep  1 13:56:14 catumbela kernel: dahdi: Registered tone zone 0 (United 
States / North America)
Sep  1 13:56:14 catumbela kernel: About to enter startup!
Sep  1 13:56:14 catumbela kernel: TE4XXP: Span 1 configured for CAS/HDB3
Sep  1 13:56:14 catumbela kernel: wct4xxp: Setting yellow alarm on span 1
Sep  1 13:56:14 catumbela kernel: timing source auto card 0!
Sep  1 13:56:14 catumbela kernel: SPAN 1: Primary Sync Source
Sep  1 13:56:14 catumbela kernel: VPM400: Not Present
Sep  1 13:56:14 catumbela kernel: VPM450: Not Present
Sep  1 13:56:14 catumbela kernel: Completed startup!
Sep  1 13:56:14 catumbela dahdi: Running dahdi_cfg:  succeeded






here is dmesg:


DMESG ---------------------------------------------


[root at catumbela ~]# dmesg
Linux version 2.6.9-89.0.9.ELsmp (mockbuild at builder10.centos.org) (gcc 
version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Mon Aug 24 07:56:18 
EDT 2009
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009c000 (usable)
  BIOS-e820: 000000000009c000 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 000000007bf00000 (usable)
  BIOS-e820: 000000007c000000 - 0000000080000000 (reserved)
  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
  BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
1087MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f3ab0
NX (Execute Disable) protection: active
On node 0 totalpages: 507648
   DMA zone: 4096 pages, LIFO batch:1
   Normal zone: 225280 pages, LIFO batch:16
   HighMem zone: 278272 pages, LIFO batch:16
DMI 2.2 present.
Using APIC driver default
ACPI: Unable to locate RSDP
Nvidia board detected. Ignoring ACPI timer override.
Intel MultiProcessor Specification v1.4
     Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 15:3 APIC version 17
Processor #1 15:3 APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 2
Allocating PCI resources starting at 88000000 (gap: 80000000:60000000)
Built 1 zonelists
Kernel command line: ro root=/dev/VolGroup00/LogVol00
mapped APIC to ffffd000 (fee00000)
Initializing CPU#0
CPU 0 irqstacks, hard=c03fc000 soft=c03dc000
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 2009.638 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2006916k/2030592k available (1914k kernel code, 22648k reserved, 
770k data, 192k init, 1113088k highmem)
Calibrating delay using timer specific routine.. 4022.86 BogoMIPS 
(lpj=2011434)
Security Scaffold v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 178bfbff e3d3fbff 00000000 00000000
CPU: After vendor identify, caps:  178bfbff e3d3fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(2) -> Core 0
CPU: After all inits, caps:        178bfbff e3d3fbff 00000000 00000410
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02
per-CPU timeslice cutoff: 1461.97 usecs.
task migration cache decay timeout: 1 msecs.
Booting processor 1/1 eip 3000
CPU 1 irqstacks, hard=c03fd000 soft=c03dd000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4017.78 BogoMIPS 
(lpj=2008892)
CPU: After generic identify, caps: 178bfbff e3d3fbff 00000000 00000000
CPU: After vendor identify, caps:  178bfbff e3d3fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 1(2) -> Core 1
CPU: After all inits, caps:        178bfbff e3d3fbff 00000000 00000410
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02
Total of 2 processors activated (8040.65 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=0
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...
..... (found pin 0) ...works.
checking TSC synchronization across 2 CPUs:
CPU#0 had 1604992 usecs TSC skew, fixed it up.
CPU#1 had 0 usecs TSC skew, fixed it up.
Brought up 2 CPUs
zapping low mappings.
checking if image is initramfs... it is
Freeing initrd memory: 1133k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 3.00 entry at 0xfa7c0, last bus=3
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:10.0
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/02f1] at 0000:00:00.0
PCI->APIC IRQ transform: (B0,I5,P0) -> 121
PCI->APIC IRQ transform: (B0,I10,P0) -> 81
PCI->APIC IRQ transform: (B0,I11,P0) -> 121
PCI->APIC IRQ transform: (B0,I11,P1) -> 129
PCI->APIC IRQ transform: (B0,I14,P0) -> 129
PCI->APIC IRQ transform: (B0,I20,P0) -> 81
PCI->APIC IRQ transform: (B3,I6,P0) -> 97
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: disabled - APM is not SMP safe.
audit: initializing netlink socket (disabled)
audit(1251813063.607:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key BA1E73D38F482480
- User ID: CentOS (Kernel Module GPG key)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 68 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-MCP51: IDE controller at PCI slot 0000:00:0d.0
NFORCE-MCP51: chipset revision 161
NFORCE-MCP51: not 100% native mode: will probe irqs later
NFORCE-MCP51: 0000:00:0d.0 (rev a1) UDMA133 controller
     ide0: BM-DMA at 0xf400-0xf407, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xf408-0xf40f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
hdd: HL-DT-STDVD-ROM GDR8164B, ATAPI CD/DVD-ROM drive
Using cfq io scheduler
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hdd: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 262144 (order: 9, 3145728 bytes)
TCP: Hash tables configured (established 262144 bind 262144)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 192k freed
SCSI subsystem initialized
libata version 2.00 loaded.
sata_nv 0000:00:0e.0: version 3.2
PCI: Setting latency timer of device 0000:00:0e.0 to 64
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xE000 irq 129
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xE008 irq 129
scsi0 : sata_nv
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7, max UDMA7, 156301488 sectors: LBA48 NCQ (depth 0/32)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : sata_nv
ata2: SATA link down (SStatus 0 SControl 300)
   Vendor: ATA       Model: SAMSUNG HD080HJ   Rev: WT10
   Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
  sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
device-mapper: 4.5.5-ioctl (2006-12-01) initialised: dm-devel at redhat.com
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
inserting floppy driver for 2.6.9-89.0.9.ELsmp
floppy0: no floppy controllers found
forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
PCI: Setting latency timer of device 0000:00:14.0 to 64
divert: allocating divert_blk for eth0
forcedeth 0000:00:14.0: ifname eth0, PHY OUI 0x732 @ 1, addr 
00:e0:4d:19:f1:84
forcedeth 0000:00:14.0: highdma pwrctl timirq lnktim desc-v3
MC: drivers/edac/edac_mc.c version MC $Revision: 1.3 $
MC0: Giving out device to k8_edac Athlon64/Opteron: PCI 0000:00:18.2 
(0000:00:18.2)
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.2.0.2
Found TE4XXP at base address fdcff000, remapped to f88a8000
TE4XXP version c01a0164, burst OFF
FALC version: 00000005, Board ID: 00
Reg 0: 0x37289400
Reg 1: 0x37289000
Reg 2: 0xffffffff
Reg 3: 0x00000000
Reg 4: 0x00000001
Reg 5: 0x00000000
Reg 6: 0xc01a0164
Reg 7: 0x00001f00
Reg 8: 0x00000000
Reg 9: 0x00ff0000
Reg 10: 0x0000004a
Found a Wildcard: Wildcard TE405P (2nd Gen)
TE4XXP: Launching card: 0
TE4XXP: Setting up global serial parameters
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: BIOS handoff failed (160, 1010001)
ehci_hcd 0000:00:0b.1: continuing after BIOS bug...
PCI: Setting latency timer of device 0000:00:0b.1 to 64
ehci_hcd 0000:00:0b.1: irq 129, pci mem f88aa000
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 0000:00:0b.1
ehci_hcd 0000:00:0b.1: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0b.0: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:0b.0 to 64
ohci_hcd 0000:00:0b.0: irq 121, pci mem f88c0000
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2031608k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1
ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team
eth0: no link during initialization.
eth0: link up.
About to enter spanconfig!
Done with spanconfig!
dahdi: Registered tone zone 0 (United States / North America)
About to enter startup!
TE4XXP: Span 1 configured for CAS/HDB3
timing source auto card 0!
wct4xxp: Setting yellow alarm on span 1
SPAN 1: Primary Sync Source
timing source auto card 0!
VPM400: Not Present
VPM450: Not Present
Completed startup!
lp: driver loaded but no devices found
NET: Registered protocol family 10
Disabled Privacy Extensions on device c034f620(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
eth0: no IPv6 routers present

Stopped TE4XXP, Turned off DMA
TE4XXP: Disabling interrupts since there are no active spans
dahdi: Telephony Interface Unloaded
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.2.0.2
Found TE4XXP at base address fdcff000, remapped to f88a8000
TE4XXP version c01a0164, burst OFF
FALC version: 00000005, Board ID: 00
Reg 0: 0x37248400
Reg 1: 0x37248000
Reg 2: 0xffffffff
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0x00000000
Reg 6: 0xc01a0164
Reg 7: 0x00001f00
Reg 8: 0x010200ff
Reg 9: 0x00fd0000
Reg 10: 0x0000004a
Found a Wildcard: Wildcard TE405P (2nd Gen)
TE4XXP: Launching card: 0
TE4XXP: Setting up global serial parameters
About to enter spanconfig!
Done with spanconfig!
dahdi: Registered tone zone 0 (United States / North America)
About to enter startup!
TE4XXP: Span 1 configured for CAS/HDB3
wct4xxp: Setting yellow alarm on span 1
timing source auto card 0!
SPAN 1: Primary Sync Source
VPM400: Not Present
VPM450: Not Present
Completed startup!

Stopped TE4XXP, Turned off DMA
TE4XXP: Disabling interrupts since there are no active spans
dahdi: Telephony Interface Unloaded
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.2.0.2
Found TE4XXP at base address fdcff000, remapped to f88a8000
TE4XXP version c01a0164, burst OFF
FALC version: 00000005, Board ID: 00
Reg 0: 0x36d84400
Reg 1: 0x36d84000
Reg 2: 0xffffffff
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0x00000000
Reg 6: 0xc01a0164
Reg 7: 0x00001f00
Reg 8: 0x010200ff
Reg 9: 0x00fd0000
Reg 10: 0x0000004a
Found a Wildcard: Wildcard TE405P (2nd Gen)
TE4XXP: Launching card: 0
TE4XXP: Setting up global serial parameters
About to enter spanconfig!
Done with spanconfig!
dahdi: Registered tone zone 0 (United States / North America)
About to enter startup!
TE4XXP: Span 1 configured for CAS/HDB3
timing source auto card 0!
wct4xxp: Setting yellow alarm on span 1
timing source auto card 0!
SPAN 1: Primary Sync Source
VPM400: Not Present
VPM450: Not Present
Completed startup!

Stopped TE4XXP, Turned off DMA
TE4XXP: Disabling interrupts since there are no active spans
dahdi: Telephony Interface Unloaded
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.2.0.2
Found TE4XXP at base address fdcff000, remapped to f88a8000
TE4XXP version c01a0164, burst OFF
FALC version: 00000005, Board ID: 00
Reg 0: 0x35dbc400
Reg 1: 0x35dbc000
Reg 2: 0xffffffff
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0x00000000
Reg 6: 0xc01a0164
Reg 7: 0x00001f00
Reg 8: 0x010200ff
Reg 9: 0x00fd0000
Reg 10: 0x0000004a
Found a Wildcard: Wildcard TE405P (2nd Gen)
TE4XXP: Launching card: 0
TE4XXP: Setting up global serial parameters
About to enter spanconfig!
Done with spanconfig!
dahdi: Registered tone zone 0 (United States / North America)
About to enter startup!
TE4XXP: Span 1 configured for CAS/HDB3
wct4xxp: Setting yellow alarm on span 1
timing source auto card 0!
SPAN 1: Primary Sync Source
VPM400: Not Present
VPM450: Not Present
Completed startup!
DMESG --------------------------------------------------------


Could this be a configuration issue or a hardware problem?
Thanks
regards
Joao Pereira


-- 
StarTel - A Rede Livre
Joao Gomes Pereira
www.startel.pt
+351 304500650
sip: gomespereira at startel.pt



More information about the asterisk-users mailing list