[Asterisk-Users] Zaptel and zttest

Mark Johnson asterisk at astroshapes.com
Fri May 13 08:03:58 MST 2005


I am having trouble with zttest on a Tyan board, dual AMD Opteron's on 
FC3.  Tried different kernels, no IRQ sharing, everything looks in 
order.  My zaptel modules load fine, but if I run zttest, it just 
hangs.  Below is the strace output and you can see where it stops.  
Anyone have any ideas?

[root at asterisktest zaptel]# strace ./zttest
execve("./zttest", ["./zttest"], [/* 24 vars */]) = 0
uname({sys="Linux", node="asterisktest.astroshapes.com", ...}) = 0
brk(0)                                  = 0x502000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aaaaaac0000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=150975, ...}) = 0
mmap(NULL, 150975, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaac1000
close(3)                                = 0
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3# ./zttest
Opened pseudo zap interface, measuring accuracy...

--- Results after 0 passes ---
Best: 0.000000 -- Worst: 100.000000 -- Average: 100.000000
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\305\1\0"..., 
640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) 
= 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1605832, ...}) = 0
mmap(NULL, 2297832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x2aaaaabc1000
mprotect(0x2aaaaace9000, 1085416, PROT_NONE) = 0
mmap(0x2aaaaadc1000, 184320, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x100000) = 0x2aaaaadc1000
mmap(0x2aaaaadee000, 16360, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaaadee000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aaaaadf2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aaaaadf3000
mprotect(0x2aaaaade8000, 16384, PROT_READ) = 0
mprotect(0x2aaaaabbf000, 4096, PROT_READ) = 0
arch_prctl(0x1002, 0x2aaaaadf2b00)      = 0
munmap(0x2aaaaaac1000, 150975)          = 0
open("/dev/zap/pseudo", O_RDWR)         = 3
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aaaaaac1000
write(1, "Opened pseudo zap interface, mea"..., 51Opened pseudo zap 
interface, measuring accuracy...
) = 51
rt_sigaction(SIGHUP, {0x400910, [HUP], SA_RESTART|0x4000000}, {SIG_DFL}, 
8) = 0
rt_sigaction(SIGINT, {0x400910, [INT], SA_RESTART|0x4000000}, {SIG_DFL}, 
8) = 0
read(3, 



More information about the asterisk-users mailing list