[asterisk-users] Problem with Asterisk 1.4.0-beta3 and Digium TE405P

Alex Lake alex at digitalmail.com
Fri Nov 17 05:35:39 MST 2006


Hope this is the right place to report/ask for help...

Have have a 1.2.7.1 installation running reasonably happily for a while. 
Thought we might give 1.4.0b3 a go. Ran it on a local test machine (that 
has the single port card) and all was well. However, when I run it on a 
machine with the 4-port card, it has trouble with Zaptel. I attach some 
diagnostics and welcome any suggestions (including requests for more 
information). We're running this on a Del SC430 with Ubuntu 5.10.

Thanks!
Alex
-----

root at m900a:/etc/modprobe.d# /etc/init.d/asterisk start
Starting Asterisk PBX: Notice: Configuration file is /etc/zaptel.conf
line 22: Unable to read Zaptel version information.

Zaptel Version: ôoô·´vô·ÿwHVä¿Èó·Vä¿`vô·
Echo Canceller:
Configuration
======================

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

124 channels configured.

ZT_CHANCONFIG failed on channel 1: Inappropriate ioctl for device (25)

------------------------------------------------------------

root at m900a:/etc/modprobe.d# strace ztcfg
execve("/sbin/ztcfg", ["ztcfg"], [/* 23 vars */]) = 0
uname({sys="Linux", node="m900a", ...}) = 0
brk(0)                                  = 0x80a2000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7fa6000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=40467, ...}) = 0
old_mmap(NULL, 40467, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f9c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/lib/tls/i686/cmov/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`3\0\000"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=136976, ...}) = 0
old_mmap(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0) = 0xb7f79000
old_mmap(0xb7f9a000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xb7f9a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260O\1"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1229936, ...}) = 0
old_mmap(NULL, 1236124, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0) = 0xb7e4b000
old_mmap(0xb7f73000, 16384, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x128000) = 0xb7f73000
old_mmap(0xb7f77000, 7324, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f77000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7e4a000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7e49000
mprotect(0xb7f73000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e496c0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
limit_in_pages:1, seg_not_present:0, useable
:1}) = 0
munmap(0xb7f9c000, 40467)               = 0
open("/dev/zap/ctl", O_RDWR)            = 3
brk(0)                                  = 0x80a2000
brk(0x80c3000)                          = 0x80c3000
open("/etc/zaptel.conf", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0744, st_size=256, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7e29000
read(4, "span=1,1,0,ccs,hdb3\nbchan=1-15\nd"..., 131072) = 256
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0xb7e29000, 131072)              = 0
ioctl(3, 0x40244a12, 0x80a0a60)         = 0
ioctl(3, 0x40244a12, 0x80a0a84)         = 0
ioctl(3, 0x40244a12, 0x80a0aa8)         = 0
ioctl(3, 0x40244a12, 0x80a0acc)         = 0
ioctl(3, 0x80844a05, 0xbfcbaaec)        = 0
ioctl(3, 0x404c4a13, 0x808daac)         = -1 ENOTTY (Inappropriate ioctl 
for device)
write(2, "ZT_CHANCONFIG failed on channel "..., 71ZT_CHANCONFIG failed 
on channel 1: Inappropriate ioctl for device (25)
) = 71
close(3)                                = 0
exit_group(1)                           = ?

---------------------------------------------------
/etc/zaptel.conf

span=1,1,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31

span=2,2,0,ccs,hdb3,crc4
bchan=32-46
dchan=47
bchan=48-62

span=3,0,0,ccs,hdb3,crc4
bchan=63-77
dchan=78
bchan=79-93

span=4,0,0,ccs,hdb3
bchan=94-108
dchan=109
bchan=110-124

loadzone=uk
defaultzone=uk


More information about the asterisk-users mailing list