[Asterisk-Users] Re: Configuring a TDM400P with one FXS port

M.Hockings veeshooter at hockings.net
Sun May 21 19:09:14 MST 2006


mohamed kerbachi wrote:
> Hi,
> I have a TDM400P and it works,
> Send us the output of your "dmesg" command.
> 
> Regards.
> --- "M.Hockings" <veeshooter at hockings.net> a écrit :
> 
>> In my attempt to setup a single FXS line I have been
>> following the 
>> instructions for "Telephony Card Drivers" on the
>> asteriskdocs.org site.
>> I have managed to checkout, make and install the
>> zaptel code and can 
>> load the zaptel module but when I attempt to load
>> the wcfxs module it 
>> tells me:
>>
>> ZT_CHANCONFIG failed on  channel 1: No such device
>> or address (6)
>> FATAL: Error running install command for wctdm
>>
>> On the card the single FXS module is in the position
>> at the back of the 
>> TDM400P (i.e., closest to the connectors)
>>
>> In the /etc/zaptel.conf file I have put the
>> following at the bottom of 
>> the file:
>>
>> fxoks=1
>> loadzone=us
>> defaultzone=us
>>
>> I have also tried fxoks=4 with the same results
>> other than that the 
>> channel number changes in the message.
>>
>> Any idea what I am configuring incorrectly ?
>>
>> Mike

Hi Mohamed, if you can help guide me in the right direction I would be 
most appreciative.

The output of dmesg is below.

In the machine is a TDM400P with one FXS, a X101P FXO, an ethernet card 
and an old ISA modem.

Mike


Linux version 2.6.9-34.EL (buildcentos at build-i386) (gcc version 3.4.5 
20051201 (Red Hat 3.4.5-2)) #1 Wed Mar 8 00:07:35 CST 2006
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 0000000017ffa000 (usable)
  BIOS-e820: 0000000017ffa000 - 0000000017ffe000 (ACPI data)
  BIOS-e820: 0000000017ffe000 - 0000000018000000 (ACPI NVS)
0MB HIGHMEM available.
383MB LOWMEM available.
Using x86 segment limits to approximate NX protection
zapping low mappings.
On node 0 totalpages: 98298
   DMA zone: 4096 pages, LIFO batch:1
   Normal zone: 94202 pages, LIFO batch:16
   HighMem zone: 0 pages, LIFO batch:1
DMI 2.0 present.
ACPI: RSDP (v000 IBM                                   ) @ 0x000fe030
ACPI: RSDT (v001 IBM    V66XA    0x00000001 Acer 0x00000000) @ 0x17ffa000
ACPI: FADT (v001 IBM    V66XA    0x00000001 Acer 0x00000000) @ 0x17ffa028
ACPI: DSDT (v001   IBM    V66XA  0x00001000 MSFT 0x0100000a) @ 0x00000000
ACPI: BIOS age (1998) fails cutoff (2001), acpi=force is required to 
enable ACPI
ACPI: Disabling ACPI support
Built 1 zonelists
Kernel command line: ro root=/dev/VolGroup00/LogVol00 quiet
Initializing CPU#0
CPU 0 irqstacks, hard=c03e7000 soft=c03e6000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 400.948 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 384696k/393192k available (2117k kernel code, 7884k reserved, 
669k data, 144k init, 0k highmem)
Calibrating delay using timer specific routine.. 803.04 BogoMIPS 
(lpj=401522)
Security Scaffold v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
There is already a security framework initialized, register_security failed.
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: 0183f9ff 00000000 00000000 00000000
CPU: After vendor identify, caps:  0183f9ff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps:        0183f1ff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium II (Deschutes) stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 983k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=1
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: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
IBM machine detected. Enabling interrupts during APM calls.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1148245664.147:1): initialized
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 B4802E7A21D4FA03
- User ID: CentOS (Kernel Module GPG key)
Limiting direct PCI/PCI transfers.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 321M
agpgart: AGP aperture is 64M @ 0xe0000000
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 $ 8 ports, IRQ sharing enabled
ttyS1 at I/O 0x2f8 (irq = 3) 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
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
     ide0: BM-DMA at 0x9030-0x9037, BIOS settings: hda:pio, hdb:DMA
     ide1: BM-DMA at 0x9038-0x903f, BIOS settings: hdc:pio, hdd:DMA
Probing IDE interface ide0...
hdb: ST340016A, ATA DISK drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdd: MAXTOR 6L040J2, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hdb: max request size: 128KiB
hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33)
hdb: cache flushes not supported
  hdb: hdb1
hdd: max request size: 128KiB
hdd: Host Protected Area detected.
	current capacity is 78175679 sectors (40025 MB)
	native  capacity is 78177792 sectors (40027 MB)
hdd: 78175679 sectors (40025 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(33)
hdd: cache flushes supported
  hdd: hdd1 hdd2
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
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 9362)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 144k freed
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel at redhat.com
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
security:  3 users, 4 roles, 354 types, 26 bools
security:  55 classes, 21833 rules
SELinux:  Completing initialization.
SELinux:  Setting up existing superblocks.
SELinux: initialized (dev dm-0, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), not configured for labeling
SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev eventpollfs, type eventpollfs), uses 
genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
inserting floppy driver for 2.6.9-34.EL
FDC 0 is a post-1991 82077
e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
PCI: Found IRQ 10 for device 0000:00:0d.0
divert: allocating divert_blk for eth0
e100: eth0: e100_probe: addr 0x80301000, irq 10, MAC addr 00:04:AC:36:79:B4
usbcore: registered new driver snd-usb-audio
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 9 for device 0000:00:07.2
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 9, io base 00009000
SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
usb 1-1: new full speed USB device using address 2
usb 1-1: control timeout on ep0in
usb 1-1: control timeout on ep0in
usb 1-1: control timeout on ep0in
input: USB HID v1.00 Device [Logitech Logitech USB Headset] on 
usb-0000:00:07.2-1
usb 1-1: control timeout on ep0in
usb 1-1: control timeout on ep0in
usb 1-1: control timeout on ep0in
EXT3 FS on dm-0, internal journal
device-mapper: dm-multipath version 1.0.4 loaded
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hdd1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hdd1, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Adding 917496k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses 
genfs_contexts
IA-32 Microcode Update Driver: v1.14 <tigran at veritas.com>
microcode: CPU0 updated from revision 0x14 to 0x2a, date = 05121999
IA-32 Microcode Update Driver v1.14 unregistered
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (3071 buckets, 24568 max) - 356 bytes per conntrack
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
i2c /dev entries driver
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0378f60(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
eth0: no IPv6 routers present
drivers/usb/input/hid-input.c: event field not found
Zapata Telephony Interface Registered on major 196
usb 1-1: control timeout on ep0in




More information about the asterisk-users mailing list