keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

G400e not detected on dahdi restart

10 years 5 months ago #9233 by cbsys
Hi,

We are using a centos 6 system, kernel 2.6.32-358.23.2.el6.x86_64
Dahdi 2.6.1 and Asterisk 1.8.24 compiled from source
Chan_extra 2.0.7

when we restart the box, the card is detected and shows up on /proc/interrupts
however, if we stop the dahdi service and restart it, the card no longer shows up on /proc/interrupts and and dahdi cant see the card!
now I expect that opvxg4xx should unload when I stop dahdi, but it should re-load when I restart dahdi!
opvxg4xx doesnt seem to reload when the dahdi service is restarted!


For example:

[root@pbx ~]# dahdi_cfg -vvv
DAHDI Tools Version - 2.6.1

DAHDI Version: 2.6.1
Echo Canceller(s): HWEC, MG2
Configuration
======================

SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 04)

4 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to none
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to none


[root@pbx ~]# cat /proc/interrupts
CPU0 CPU1
0: 125 1 IO-APIC-edge timer
1: 1 1 IO-APIC-edge i8042
8: 1 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 1 3 IO-APIC-edge i8042
14: 4041 4082 IO-APIC-edge ata_piix
15: 3811 3731 IO-APIC-edge ata_piix
16: 2 1 IO-APIC-fasteoi uhci_hcd:usb4, nouveau
18: 274204 274246 IO-APIC-fasteoi uhci_hcd:usb3, opvxg4xx
19: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
23: 0 0 IO-APIC-fasteoi uhci_hcd:usb1
28: 915 911 PCI-MSI-edge eth0-rx-0
29: 173 173 PCI-MSI-edge eth0-tx-0
30: 0 2 PCI-MSI-edge eth0
NMI: 12 12 Non-maskable interrupts
LOC: 32428 26391 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 12 12 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RES: 800 701 Rescheduling interrupts
CAL: 98 99 Function call interrupts
TLB: 1786 1224 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 1 1 Machine check polls
ERR: 0
MIS: 0
[root@pbx ~]# service dahdi stop
Unloading DAHDI hardware modules: done
[root@pbx ~]# cat /proc/interrupts
CPU0 CPU1
0: 125 1 IO-APIC-edge timer
1: 1 1 IO-APIC-edge i8042
8: 1 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 1 3 IO-APIC-edge i8042
14: 4052 4096 IO-APIC-edge ata_piix
15: 3825 3739 IO-APIC-edge ata_piix
16: 2 1 IO-APIC-fasteoi uhci_hcd:usb4, nouveau
18: 279157 279204 IO-APIC-fasteoi uhci_hcd:usb3
19: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
23: 0 0 IO-APIC-fasteoi uhci_hcd:usb1
28: 958 953 PCI-MSI-edge eth0-rx-0
29: 189 187 PCI-MSI-edge eth0-tx-0
30: 0 2 PCI-MSI-edge eth0
NMI: 13 12 Non-maskable interrupts
LOC: 34353 26692 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 13 12 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RES: 811 708 Rescheduling interrupts
CAL: 98 99 Function call interrupts
TLB: 1792 1236 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 1 1 Machine check polls
ERR: 0
MIS: 0
[root@pbx ~]# service dahdi start
Loading DAHDI hardware modules:
wctdm: [ OK ]
wcb4xxp: [ OK ]

Running dahdi_cfg: DAHDI_SPANCONFIG failed on span 1: No such device or address (6)
[FAILED]
10 years 5 months ago #9235 by tim.june
You should add opvxg4xx to /etc/dahdi/modules, then the driver module for G400E will be loaded when restart dahdi service.

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
10 years 5 months ago #9237 by cbsys
Ok, well that needs to be documented somewhere!

The installation script did not add it in, and it isnt mentioned anywhere in the manual or the wiki!
10 years 3 months ago #9323 by Shamanchik

Original posted by cbsys at 2013-11-20 00:02


Ok, well that needs to be documented somewhere!

The installation script did not add it in, and it isnt mentioned anywhere in the manual or the wiki!

edit this file /etc/dahdi/modules
example on my config:
# Autogenerated by /usr/sbin/dahdi_genconf (Dahdi::Config::Gen::Modules) on Tue Dec 24 13:53:21 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
opvxa1200
opvxg4xx



Time to create page: 0.063 seconds
Powered by Kunena Forum