Loading wcte12xp module hangs, then fails

I’ve had this problem with two very different computers, both running 2.6.18 from Debian etch. I build zaptel 1.4.9.2 no problem, install the modules, make config, etc, reboot, and every zaptel module except for wcte12xp loads fine. It hangs after the completion of t1_hardware_init. The jumper on the card is set off, which ought to be a T1. Yet the module is “detecting” it as E1.

If I wait instead of killing modprobe it “never” goes anywhere. (Clearly I can’t wait forever, but I’ve given it at least 10 to 20 minutes, which would still be inappropriate even if that were actually enough.)

[code]Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.9.2
Zaptel Echo Canceller: MG2
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 3
PCI: setting IRQ 3 as level-triggered
ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNKC] -> GSI 3 (level, low) -> IRQ\ 3
wcte12x[p] (t1_hardware_init): PCI Config reg is 02900117
wcte12x[p] (t1_hardware_init): ctlreg 0x0000 now=fe590000!
wcte12x[p] (t1_hardware_init): Detected SDI REG0: 00000100
wcte12x[p] (t1_hardware_init): Detected SDI REG1: 00007849
wcte12x[p] (t1_hardware_init): Detected SDI REG2: 0000001d
wcte12x[p] (t1_hardware_init): (pre) Reg fc is 50000027
wcte12x[p] (t1_hardware_init): (post) ctlreg 0xfc=50000024
wcte12x[p] (t1_hardware_init): Detected SDI REG2: 0000ffff
wcte12x[p] (t1_hardware_init): ctlreg 0x0088=a04c0004

[… kill -9 the modprobe process inserting wcte12xp …]

wcte12x[p] (t1_hardware_post_init): spantype: E1
wcte12x[p] (t1_hardware_post_init): FALC version: fffffe00
wcte12x[p]: Wrote ‘0’ but read 'fffffe00’
wcte12x[p]: Wrote ‘1’ but read 'fffffe00’
wcte12x[p]: Wrote ‘2’ but read ‘fffffe00’
.
.
.
.
.
wcte12x[p]: Wrote ‘ff’ but read 'fffffe00’
wcte12x[p] (t1_vpm150m_init): Setting VPMADT032 DSP ID to 0
wcte12x[p] (t1_vpm150m_init): Looking for VPMADT032 by testing page access: wct\e12x[p] (t1_vpm150m_init): Either no VPMADT032 module present or the module fai\led VPM page access test (0 != 81)
wcte12x[p] (t1_software_init): software init for card 0
wcte12x[p]: Setting up global serial parameters for E1
Registered Span 1 (‘WCT1/0’) with 31 channels
Span (‘WCT1/0’) is new master
wcte12x[p]: Found a Wildcard TE122

[… unload the module …]

Unregistering Span ‘WCT1/0’ with 31 channels
zt_unregister: Span (‘no master’) is new master
Freed a Wildcard TE12xP

[… insert the module again …]

wcte12x[p] (t1_hardware_init): PCI Config reg is 02900117
wcte12x[p] (t1_hardware_init): ctlreg 0x0000 now=fe590000!
wcte12x[p] (t1_hardware_init): Detected SDI REG0: 00000100
wcte12x[p] (t1_hardware_init): Detected SDI REG1: 00007849
wcte12x[p] (t1_hardware_init): Detected SDI REG2: 0000001d
wcte12x[p] (t1_hardware_init): (pre) Reg fc is 50000027
wcte12x[p] (t1_hardware_init): (post) ctlreg 0xfc=50000024
wcte12x[p] (t1_hardware_init): Detected SDI REG2: 0000ffff
wcte12x[p] (t1_hardware_init): ctlreg 0x0088=a04c0004

[… kill -9 the modprobe …]

wcte12x[p] (t1_hardware_post_init): spantype: E1
wcte12x[p] (t1_hardware_post_init): FALC version: fffffe00
wcte12x[p]: Wrote ‘0’ but read 'fffffe00’
wcte12x[p]: Wrote ‘1’ but read 'fffffe00’
wcte12x[p]: Wrote ‘2’ but read ‘fffffe00’
.
.
.
.
wcte12x[p]: Wrote ‘ff’ but read 'fffffe00’
wcte12x[p] (t1_vpm150m_init): Setting VPMADT032 DSP ID to 0
wcte12x[p] (t1_vpm150m_init): Looking for VPMADT032 by testing page access: wct\e12x[p] (t1_vpm150m_init): Either no VPMADT032 module present or the module fai\led VPM page access test (0 != 3a)
wcte12x[p] (t1_software_init): software init for card 0
wcte12x[p]: Setting up global serial parameters for E1
Registered Span 1 (‘WCT1/0’) with 31 channels
Span (‘WCT1/0’) is new master
wcte12x[p]: Found a Wildcard TE122[/code]

ztcfg’s ioctl to ZT_SPANCONFIG fails when I try to configure the span as ESF B8ZS. If I try to ztcfg it as an E1, it prints the configuration, and then hangs on an ioctl.

Any help or pointers are appreciated.

Please contact Digium support:

support@digium.com
256-428-6161
877-DIGIUM1