[Asterisk-Users] Problem with tor2 driver and Zapata Tormenta 2 Quad T1/PRI Card

Derek derek at allinternetadvertising.com
Tue May 30 15:26:07 MST 2006


Hi All,

I'm having a bit of a time getting my Tormenta 2 card to actually be 
seen by the system. Whenever I modprobe, the kernel spits out the 
following (in addition to the "insmod tor2 failed" messages):
Invalid Xilinx 8 bit Base resource
Registered Tormenta2 PCI

Of course, the module says that its registered a Tormenta2 card, but it 
unloads the driver and frees related resources when it can't get a valid 
"Xilinx 8 bit Base resource". Heres the pertinent information:

lspci -vvv
0000:05:03.0 Bridge: PLX Technology, Inc. PCI <-> IOBus Bridge Hot Swap 
(rev 0a)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 104
        Region 0: Memory at f8500000 (32-bit, non-prefetchable) [size=128]
        Region 1: I/O ports at 4000 [size=128]
        Region 2: Memory at f8400000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [40] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [48] #06 [0000]
        Capabilities: [4c] Vital Product Data

When I modprobe zaptel (kernel messages):
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.5 Echo Canceller: KB1

uname -a
Linux et 2.4.27-3-686-smp #1 SMP Wed Feb 8 12:27:28 UTC 2006 i686 GNU/Linux

cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:     389436          0          0          0    IO-APIC-edge  timer
  1:          2          0          0          0    IO-APIC-edge  keyboard
  2:          0          0          0          0          XT-PIC  cascade
  8:          4          0          0          0    IO-APIC-edge  rtc
 15:         11          0          0          0    IO-APIC-edge  ide1
 16:          0          0          0          0   IO-APIC-level  usb-uhci
 18:          0          0          0          0   IO-APIC-level  usb-uhci
 19:          0          0          0          0   IO-APIC-level  usb-uhci
 28:      21327          0          0          0   IO-APIC-level  eth0
 29:      12272          0          0          0   IO-APIC-level  eth1
 72:      16516          0          0          0   IO-APIC-level  dpti0
NMI:          0          0          0          0
LOC:     389255     389254     389180     389254
ERR:          0
MIS:          0

cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
0376-0376 : ide1
03c0-03df : vga+
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
1100-111f : Intel Corp. 82801CA/CAM SMBus Controller
2000-201f : Intel Corp. 82801CA/CAM USB (Hub #1)
  2000-201f : usb-uhci
2020-203f : Intel Corp. 82801CA/CAM USB (Hub #2)
  2020-203f : usb-uhci
2040-205f : Intel Corp. 82801CA/CAM USB (Hub #3)
  2040-205f : usb-uhci
2060-206f : Intel Corp. 82801CA Ultra ATA Storage Controller
  2060-2067 : ide0
  2068-206f : ide1
3000-3fff : PCI Bus #01
  3000-3fff : PCI Bus #03
    3000-303f : Intel Corp. 82546EB Gigabit Ethernet Controller (Copper)
      3000-303f : e1000
    3040-307f : Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) 
(#2)
      3040-307f : e1000
4000-4fff : PCI Bus #04
  4000-4fff : PCI Bus #05
    4000-407f : PLX Technology, Inc. PCI <-> IOBus Bridge Hot Swap
5000-50ff : ATI Technologies Inc Rage XL

lsmod
Module                  Size  Used by    Not tainted
zaptel                222880   0  (unused)
usb-uhci               24336   0  (unused)
usbcore                65804   1  [usb-uhci]
ide-scsi               10192   0
piix                    9128   1
e1000                  68908   2
cfi_cmdset_0001        30344   1  (autoclean)
jedec_probe            10528   0  (autoclean)
gen_probe               1936   0  (autoclean) [jedec_probe]
ich2rom                 2108   0  (unused)
mtdcore                 2692   1  [ich2rom]
chipreg                  908   0  [jedec_probe ich2rom]
dm-mod                 47780   0  (unused)
ide-disk               17088   0
ide-detect               288   0  (unused)
ide-cd                 31392   0
ide-core              112312   0  [ide-scsi piix ide-disk ide-detect ide-cd]
cdrom                  30080   0  [ide-cd]
rtc                     7112   0  (autoclean)
ext3                   84748   1  (autoclean)
jbd                    46200   1  (autoclean) [ext3]
sd_mod                 11788   4  (autoclean)
dpt_i2o                26816   2  (autoclean)
scsi_mod               97860   3  (autoclean) [ide-scsi sd_mod dpt_i2o]
unix                   16816  80  (autoclean)


Troubleshooting steps I've tried:

Tried compiling the zaptel/tor2 driver under two 2.6 kernels and this 
2.4 kernel, no different behavior.
Tried turning ACPI off for the machine in the BIOS and on the kernel 
boot options line, nothing different.
Tried swapping the card around multiple PCI slots, nothing different.
Tried also compiling the 1.2.5 release against aformentioned kernel 
versions, as well as the 1.0 and 1.2 branches, and trunk, nothing different.


Does anyone have any other troubleshooting tricks for me to try? Any 
help would be greatly appreciated.

Thanks in advance,
Derek




More information about the asterisk-users mailing list