I'm afraid that I am at a loss here. I am new to Asterisk, and have
successfully set up SIP. But I cannot get my FXS card working, and I'm not
sure what else I can try.
# modprobe wcfxo
/lib/modules/2.4.21-37.0.1.ELsmp/misc/wcfxo.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.21-37.0.1.ELsmp/misc/wcfxo.o: insmod
/lib/modules/2.4.21-37.0.1.ELsmp/misc/wcfxo.o failed
/lib/modules/2.4.21-37.0.1.ELsmp/misc/wcfxo.o: insmod wcfxo failed
I have a Digium quad card (Freshmaker Rev J) with and FXO daughter card
(S110M Rev A) in port 3 and an FXS card (X100M Rev C) in port 4. Are
these old cards? Could that be a problem?
I've tried this with Fedora Core 3 and Core 4. I've tried switching
ports,
daughter cards, and even the entire PCI card. I cannot switch slots, since
there is only one PCI slot in this mini PC.
Below is everything I can think of that may be of use in diagnosing the
problem. (I apologize for how long this message is as a result!) Asterisk
was checked out using
cvs checkout -rv1-2 asterisk zaptel libpri
I notice that lsmod shows _lots_ of modules -- only few of which are really
necessary. But I don't see how that would be causing this problem.
Thanks for any hints you may be able to provide.
===== zaptel.conf =======unused=1,2
fxsks=3
fxoks=4
loadzone = us
defaultzone=us
========= ztcfg -vv ========Channel map:
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
2 channels configured.
========== lspci =======00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM
Controller/Host-Hub
Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated
Graphics Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE
Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller
(rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller
(rev 02)
01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
01:07.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
01:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
========== /proc/interrupts ============ CPU0 CPU1
0: 77976 71071 IO-APIC-edge timer
1: 17 1 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
5: 719593 701620 IO-APIC-level wctdm
8: 1 0 IO-APIC-edge rtc
11: 1115 0 IO-APIC-level libata, eth0
12: 20 0 IO-APIC-edge PS/2 Mouse
14: 4939 1286 IO-APIC-edge ide0
15: 64 0 IO-APIC-edge ide1
NMI: 0 0
LOC: 148957 148956
ERR: 0
MIS: 0
========== lsmod ============Module Size Used by Not
tainted
usbserial 23868 0 (autoclean) (unused)
parport_pc 18884 1 (autoclean)
lp 9156 0 (autoclean)
parport 38848 1 (autoclean) [parport_pc lp]
autofs4 16888 0 (autoclean) (unused)
audit 90872 3
8139too 17704 1
mii 4088 0 [8139too]
crc32 3764 0 [8139too]
wcusb 19584 0 (unused)
wctdm 42400 0 (unused)
zaptel 183712 0 [wcusb wctdm]
floppy 57552 0 (autoclean)
sg 37388 0 (autoclean)
sr_mod 17880 0 (autoclean)
microcode 6912 0 (autoclean)
ide-scsi 12528 0
ide-cd 34016 0
cdrom 32896 0 [sr_mod ide-cd]
keybdev 2976 0 (unused)
mousedev 5688 0 (unused)
hid 22532 0 (unused)
input 6176 0 [keybdev mousedev hid]
usbcore 81152 1 [usbserial wcusb hid]
ext3 90088 2
jbd 55380 2 [ext3]
ata_piix 5384 0 (unused)
scsi_dump_register 2368 0 [ata_piix]
libata 47324 0 [ata_piix]
sd_mod 14160 0 (unused)
================ dmesg =================Linux version 2.4.21-37.0.1.ELsmp
(centos@sillage.bis.pasteur.fr) (gcc
version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)) #1 SMP Thu Jan 19 14:12:32
EST 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable)
BIOS-e820: 000000001f7f0000 - 000000001f7f3000 (ACPI NVS)
BIOS-e820: 000000001f7f3000 - 000000001f800000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
503MB LOWMEM available.
found SMP MP-table at 000f4f80
hm, page 000f4000 reserved twice.
hm, page 000f5000 reserved twice.
hm, page 000f0000 reserved twice.
hm, page 000f1000 reserved twice.
NX protection not present; using segment protection
On node 0 totalpages: 129008
zone(0): 4096 pages.
zone(1): 124912 pages.
zone(2): 0 pages.
ACPI: Searched entire block, no RSDP was found.
ACPI: RSDP located at physical address c00f9020
RSD PTR v0 [XPC ]
__va_range(0x1f7f3040, 0x28): idx=33 mapped at fffdd000
ACPI table found: RSDT v1 [XPC AWRDACPI 16944.11825]
__va_range(0x1f7f30c0, 0x24): idx=33 mapped at fffdd000
__va_range(0x1f7f30c0, 0x74): idx=33 mapped at fffdd000
ACPI table found: FACP v1 [XPC AWRDACPI 16944.11825]
__va_range(0x1f7f6c80, 0x24): idx=33 mapped at fffdd000
__va_range(0x1f7f6c80, 0x68): idx=33 mapped at fffdd000
ACPI table found: APIC v1 [XPC AWRDACPI 16944.11825]
__va_range(0x1f7f6c80, 0x68): idx=33 mapped at fffdd000
LAPIC (acpi_id[0x0000] id[0x0] enabled[1])
CPU 0 (0x0000) enabledProcessor #0 Unknown CPU [15:4] APIC version 20
LAPIC (acpi_id[0x0001] id[0x1] enabled[1])
CPU 1 (0x0100) enabledProcessor #1 Unknown CPU [15:4] APIC version 20
IOAPIC (id[0x2] address[0xfec00000] global_irq_base[0x0])
INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0] trigger[0x0])
INT_SRC_OVR (bus[0] irq[0x9] global_irq[0x9] polarity[0x1] trigger[0x3])
LAPIC_NMI (acpi_id[0x0000] polarity[0x1] trigger[0x1] lint[0x1])
LAPIC_NMI (acpi_id[0x0001] polarity[0x1] trigger[0x1] lint[0x1])
2 CPUs total
Local APIC address fee00000
Enabling the CPU's according to the ACPI table
Intel MultiProcessor Specification v1.1
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 2
xAPIC support is present
Enabling APIC mode: Flat. Using 1 I/O APICs
Kernel command line: ro root=LABEL=/ hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 3407.863 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 6789.52 BogoMIPS
Page-cache hash table entries: 131072 (order: 7, 512 KB)
Page-pin hash table entries: 32768 (order: 5, 128 KB)
Dentry cache hash table entries: 65536 (order: 7, 512 KB)
Inode cache hash table entries: 32768 (order: 6, 256 KB)
Buffer cache hash table entries: 32768 (order: 5, 128 KB)
Memory: 499600k/516032k available (1719k kernel code, 13868k reserved,
1303k data, 232k init, 0k highmem)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Trace cache: 12K uops<6>CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: Trace cache: 12K uops<6>CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU0: Intel(R) Pentium(R) 4 CPU 3.40GHz stepping 01
per-CPU timeslice cutoff: 2925.58 usecs.
task migration cache decay timeout: 10 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 6789.52 BogoMIPS
CPU: Trace cache: 12K uops<6>CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
Intel machine check reporting enabled on CPU#1.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU1: Intel(R) Pentium(R) 4 CPU 3.40GHz stepping 01
Total of 2 processors activated (13579.05 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-3, 2-5, 2-9, 2-10, 2-11, 2-21, 2-22 not
connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 17.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00178020
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0020
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 000 00 1 0 0 0 0 0 0 00
04 003 03 0 0 0 0 0 1 1 41
05 000 00 1 0 0 0 0 0 0 00
06 003 03 0 0 0 0 0 1 1 49
07 003 03 0 0 0 0 0 1 1 51
08 003 03 0 0 0 0 0 1 1 59
09 000 00 1 0 0 0 0 0 0 00
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 003 03 0 0 0 0 0 1 1 61
0d 003 03 0 0 0 0 0 1 1 69
0e 003 03 0 0 0 0 0 1 1 71
0f 003 03 0 0 0 0 0 1 1 79
10 003 03 1 1 0 1 0 1 1 81
11 003 03 1 1 0 1 0 1 1 89
12 003 03 1 1 0 1 0 1 1 89
13 003 03 1 1 0 1 0 1 1 91
14 003 03 1 1 0 1 0 1 1 99
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 003 03 1 1 0 1 0 1 1 A1
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:20
IRQ4 -> 0:4
IRQ5 -> 0:19
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:23
IRQ10 -> 0:16
IRQ11 -> 0:17-> 0:18
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 3407.9464 MHz.
..... host bus clock speed is 200.4673 MHz.
cpu: 0, clocks: 2004673, slice: 668224
CPU0<T0:2004672,T1:1336448,D:0,S:668224,C:2004673>
cpu: 1, clocks: 2004673, slice: 668224
CPU1<T0:2004672,T1:668224,D:0,S:668224,C:2004673>
cpu_sibling_map[0] = 1
cpu_sibling_map[1] = 0
mapping CPU#0's runqueue to CPU#1's runqueue.
zapping low mappings.
Process timing init...done.
Starting migration thread for cpu 0
Starting migration thread for cpu 1
PCI: PCI BIOS revision 2.10 entry at 0xfb010, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Using IRQ router PIIX [8086/24d0] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
apm: disabled - APM is not SMP safe.
Total HugeTLB memory allocated, 0
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
aio_setup: num_physpages = 32252
aio_setup: sizeof(struct page) = 60
Hugetlbfs mounted.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 256 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 00:1f.1
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: ST3802110A, ATA DISK drive
blk: queue c050f1c0, I/O limit 4095Mb (mask 0xffffffff)
hdc: GIGABYTE GO-B5232A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
Initializing IPsec netlink socket
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 260k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
libata version 1.11 loaded.
ata_piix version 1.03
PCI: Setting latency timer of device 00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xE500 ctl 0xE602 bmdma 0xE900 irq 11
ata2: SATA max UDMA/133 cmd 0xE700 ctl 0xE802 bmdma 0xE908 irq 11
ata1: SATA port has no device.
ata2: SATA port has no device.
scsi0 : ata_piix
scsi1 : ata_piix
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 232k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 14:21:19 Jan 19 2006
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Adding Swap: 1044216k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
hdc: attached ide-scsi driver.
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: GIGABYTE Model: GO-B5232A Rev: NKY1
Type: CD-ROM ANSI SCSI revision: 02
IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com>
microcode: CPU0 already at revision 0x9 (current=0x9)
microcode: CPU1 already at revision 0x9 (current=0x9)
microcode: No suitable data for cpu 0
microcode: No suitable data for cpu 1
usb-uhci.c: $Revision: 1.275 $ time 14:21:19 Jan 19 2006
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 0x/52x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
inserting floppy driver for 2.4.21-37.0.1.ELsmp
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.26
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xe0156000, 00:30:1b:b9:44:30, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
divert: freeing divert_blk for eth0
Zapata Telephony Interface Registered on major 196
No ISA tormenta card found at d0000
Registered Tormenta2 PCI
Freshmaker version: 73
Freshmaker passed register test
Module 0: Not installed
Module 1: Not installed
Module 2: Installed -- AUTO FXO (FCC mode)
ProSLIC on module 3 failed to powerup within 510 ms (0 mV only)
-- DID YOU REMEMBER TO PLUG IN THE HD POWER CABLE TO THE TDM400P??
Unable to do INITIAL ProSLIC powerup on module 3
Unable to do INITIAL ProSLIC powerup on module 3
Module 3: FAILED FXS (FCC)
Found a Wildcard TDM: Wildcard TDM400P REV I (1 modules)
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)
usb.c: registered new driver wcusb
Wildcard USB FXS Interface driver registered
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)
ip_tables: (C) 2000-2002 Netfilter core team
8139too Fast Ethernet driver 0.9.26
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xe0196000, 00:30:1b:b9:44:30, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
ip_tables: (C) 2000-2002 Netfilter core team
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
audit subsystem ver 0.1 initialized
Audit daemon registered (process 796)
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: console ready
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
Registered tone zone 0 (United States / North America)