[asterisk-users] Problem with zaptel 1.4b2 and X101P Wildcard

Morten Isaksen misak at misak.dk
Tue Sep 26 12:32:25 MST 2006


On 9/26/06, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
>
> Next thing to do, I guess, is to run:
>
> strace ztcfg
>
> to see which device exactly is accessed . Though /dev/zap/ctl is the
> usual suspect.



[root at mythtv zaptel-1.4.0-beta1]# strace ztcfg
execve("/sbin/ztcfg", ["ztcfg"], [/* 25 vars */]) = 0
uname({sys="Linux", node="mythtv", ...}) = 0
brk(0)                                  = 0x8779000
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=87164, ...}) = 0
old_mmap(NULL, 87164, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6fea000
close(3)                                = 0
open("/lib/tls/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\0\363C"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=215248, ...}) = 0
old_mmap(0x43c000, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x43c000
old_mmap(0x45d000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x45d000
close(3)                                = 0
open("/lib/tls/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 \0372\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1512400, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xf6fe9000
old_mmap(0x30d000, 1207532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x30d000
old_mmap(0x42e000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x120000) = 0x42e000
old_mmap(0x432000, 7404, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x432000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xf6fe8000
mprotect(0x42e000, 8192, PROT_READ)     = 0
mprotect(0x45d000, 4096, PROT_READ)     = 0
mprotect(0x309000, 4096, PROT_READ)     = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xf6fe86c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
munmap(0xf6fea000, 87164)               = 0
open("/dev/zap/ctl", O_RDWR)            = 3
brk(0)                                  = 0x8779000
brk(0x879a000)                          = 0x879a000
open("/etc/zaptel.conf", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=9532, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xf6fff000
read(4, "#\n# Zaptel Configuration File\n#\n"..., 4096) = 4096
read(4, "he list remains idle\n# \"clear\"  "..., 4096) = 4096
read(4, "le is a single tone DCS transmit"..., 4096) = 1340
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xf6fff000, 4096)                = 0
ioctl(3, 0x80844a05, 0xfef3aad0)        = -1 EINVAL (Invalid argument)
ioctl(3, 0x404c4a13, 0x807a7cc)         = -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)                           = ?

/Morten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060926/045fd888/attachment.htm


More information about the asterisk-users mailing list