Hallo Mover!
So, jetzt habe ich doch noch etwas geschafft. Aber die Ausgaben liefern einen sehr langen diff, so dass ich lieber die Dateien direkt poste. Hoffentlich ist das auch in Ordnung.
Also
strace modprobe zaptel:
strace insmod ./zaphfc.ko modes=1
und schließlich strace ztcfg -v
Kannst Du etwas damit anfangen?
Ich bin wirklich sehr dankbar für all eure Bemühungen. Bis Freitag und viele Grüße
Schorsch
So, jetzt habe ich doch noch etwas geschafft. Aber die Ausgaben liefern einen sehr langen diff, so dass ich lieber die Dateien direkt poste. Hoffentlich ist das auch in Ordnung.
Also
strace modprobe zaptel:
Code:
execve("/sbin/modprobe", ["modprobe", "zaptel"], [/* 75 vars */]) = 0
uname({sys="Linux", node="asterisk", ...}) = 0
brk(0) = 0x805b000
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=74956, ...}) = 0
old_mmap(NULL, 74956, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
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\0L\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1359489, ...}) = 0
old_mmap(NULL, 1137708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002b000
madvise(0x4002b000, 1137708, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x4013a000, 27692, PROT_NONE) = 0
old_mmap(0x4013b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x4013b000
old_mmap(0x4013f000, 7212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013f000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40141000
mprotect(0x4013b000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40141460, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 74956) = 0
create_module(umovestr: Input/output error
0, 0) = -1 ENOSYS (Function not implemented)
uname({sys="Linux", node="asterisk", ...}) = 0
fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
brk(0) = 0x805b000
brk(0x807c000) = 0x807c000
open("/etc/modprobe.conf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13666, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "#\n# Copyright (c) 1996-2002 SuSE"..., 4096) = 4096
read(3, " io=0x2a0 irq=10\n# options fmv1"..., 4096) = 4096
read(3, "#\n# USB\n########################"..., 4096) = 4096
read(3, " for modprobe.conf\n\nalias char-m"..., 4096) = 1378
open("/etc/modprobe.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=152, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
getdents(4, /* 6 entries */, 4096) = 112
open("/etc/modprobe.d/tv", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/tv", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
open("/etc/modprobe.d/sound", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/sound", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=107, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "options snd-intel8x0 enable=1 in"..., 4096) = 107
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
open("/etc/modprobe.d/zaptel", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/zaptel", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=752, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "options torisa base=0xd0000\nalia"..., 4096) = 752
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
getdents(4, /* 0 entries */, 4096) = 0
close(4) = 0
open("/etc/modprobe.conf.local", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.conf.local", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(4, "#\n# please add local extensions "..., 4096) = 47
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40019000, 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/lib/modules/2.6.8-24.10-default/modules.dep", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=287242, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "arport/parport.ko /lib/modules/2"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/drivers"..., 4096) = 4096
read(3, "efault/kernel/drivers/media/vide"..., 4096) = 4096
read(3, "ernel/drivers/i2c/i2c-core.ko\n/l"..., 4096) = 4096
read(3, "drivers/media/video/videodev.ko "..., 4096) = 4096
read(3, "deo/cx88/cx88-blackbird.ko: /lib"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, "ault/kernel/drivers/media/video/"..., 4096) = 4096
read(3, "2c-core.ko /lib/modules/2.6.8-24"..., 4096) = 4096
read(3, "odules/2.6.8-24.10-default/kerne"..., 4096) = 4096
read(3, "ride.ko /lib/modules/2.6.8-24.10"..., 4096) = 4096
read(3, "/ib_poll.ko /lib/modules/2.6.8-2"..., 4096) = 4096
read(3, "drivers/infiniband/core/ib_sa_cl"..., 4096) = 4096
read(3, "i_common/mod_vapi_common.ko: /li"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/drivers"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "/avm/b1dma.ko /lib/modules/2.6.8"..., 4096) = 4096
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "\n/lib/modules/2.6.8-24.10-defaul"..., 4096) = 4096
read(3, "b/modules/2.6.8-24.10-default/ke"..., 4096) = 4096
read(3, "r/agp/via-agp.ko: /lib/modules/2"..., 4096) = 4096
read(3, "rivers/usb/serial/keyspan.ko: /l"..., 4096) = 4096
read(3, "ules/2.6.8-24.10-default/kernel/"..., 4096) = 4096
read(3, "usbcore.ko\n/lib/modules/2.6.8-24"..., 4096) = 4096
read(3, "td/chips/jedec_probe.ko: /lib/mo"..., 4096) = 4096
read(3, "/modules/2.6.8-24.10-default/ker"..., 4096) = 4096
read(3, "les/2.6.8-24.10-default/kernel/d"..., 4096) = 4096
read(3, "c.ko\n/lib/modules/2.6.8-24.10-de"..., 4096) = 4096
read(3, "s.ko /lib/modules/2.6.8-24.10-de"..., 4096) = 4096
read(3, "efault/kernel/drivers/net/slhc.k"..., 4096) = 4096
read(3, "4.10-default/kernel/lib/crc-ccit"..., 4096) = 4096
read(3, "-default/kernel/lib/crc-ccitt.ko"..., 4096) = 4096
read(3, "-default/kernel/net/irda/irda.ko"..., 4096) = 4096
read(3, "24.10-default/kernel/drivers/i2c"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "64.ko: /lib/modules/2.6.8-24.10-"..., 4096) = 4096
read(3, "lt/kernel/drivers/md/dm-zero.ko:"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, ".6.8-24.10-default/kernel/sound/"..., 4096) = 4096
read(3, "el/sound/soundcore.ko\n/lib/modul"..., 4096) = 4096
read(3, "odules/2.6.8-24.10-default/kerne"..., 4096) = 4096
read(3, "/oss/i810_audio.ko: /lib/modules"..., 4096) = 4096
read(3, "rnel/sound/oss/sound.ko: /lib/mo"..., 4096) = 4096
read(3, "s.ko: /lib/modules/2.6.8-24.10-d"..., 4096) = 4096
read(3, "ound/drivers/opl3/snd-opl3-lib.k"..., 4096) = 4096
read(3, "ound/core/snd-pcm.ko /lib/module"..., 4096) = 4096
read(3, "idi.ko /lib/modules/2.6.8-24.10-"..., 4096) = 4096
read(3, ".ko /lib/modules/2.6.8-24.10-def"..., 4096) = 4096
read(3, "snd-util-mem.ko /lib/modules/2.6"..., 4096) = 4096
read(3, "les/2.6.8-24.10-default/kernel/s"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/sound/d"..., 4096) = 4096
read(3, "2.6.8-24.10-default/kernel/sound"..., 4096) = 4096
read(3, "/sound/soundcore.ko\n/lib/modules"..., 4096) = 4096
read(3, "rnel/sound/drivers/opl3/snd-opl3"..., 4096) = 4096
read(3, " /lib/modules/2.6.8-24.10-defaul"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, "30t.ko: /lib/modules/2.6.8-24.10"..., 4096) = 4096
read(3, "h.ko:\n/lib/modules/2.6.8-24.10-d"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, ".10-default/kernel/net/ipv6/netf"..., 4096) = 4096
read(3, "s/2.6.8-24.10-default/kernel/net"..., 4096) = 4096
read(3, "ko\n/lib/modules/2.6.8-24.10-defa"..., 4096) = 4096
read(3, ".6.8-24.10-default/kernel/net/ip"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/net/ipv"..., 4096) = 4096
read(3, "/modules/2.6.8-24.10-default/ker"..., 4096) = 4096
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "a/adm8211.ko:\n/lib/modules/2.6.8"..., 4096) = 4096
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/lib/modules/2.6.8-24.10-default/kernel/lib/crc-ccitt.ko", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
open("/proc/modules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "nvram 8328 0 - Live 0xe128a000\nu"..., 1024) = 1024
read(4, " 6656 18 - Live 0xe1776000\nip6t_"..., 1024) = 1024
read(4, "TOS,ipt_LOG,ipt_limit,ipt_pkttyp"..., 1024) = 730
read(4, "", 1024) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFREG|0644, st_size=3557, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 3557
read(3, "", 12288) = 0
read(3, "", 12288) = 0
read(3, "", 12288) = 0
init_module("ELF", 0xde5) = 0
close(3) = 0
open("/lib/modules/2.6.8-24.10-default/extra/zaptel.ko", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
open("/proc/modules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(4, "crc_ccitt 2176 0 - Live 0xe12a00"..., 1024) = 1024
read(4, " 2560 14 - Live 0xe17c6000\nip6t_"..., 1024) = 1024
read(4, "e 0xe16ce000\nip_tables 17664 9 i"..., 1024) = 765
read(4, "", 1024) = 0
close(4) = 0
munmap(0x40019000, 4096) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFREG|0644, st_size=67474, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 16384
read(3, "L\5\0\0\240\17\0\0\211\202H\5\0\0\351\320\375\377\377\201"..., 16384) = 16384
read(3, "\245\250\1t\1\244\213l$(\1\305\213T$$\211l$(\213L$$\213"..., 32768) = 32768
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40142000
read(3, "reg\0zt_chan_read\0zt_chan_write\0z"..., 65536) = 1938
read(3, "", 61440) = 0
read(3, "", 61440) = 0
init_module("ELF", 0x10792) = 0
munmap(0x40142000, 135168) = 0
close(3) = 0
exit_group(0) = ?
strace insmod ./zaphfc.ko modes=1
Code:
execve("/sbin/modprobe", ["modprobe", "zaptel"], [/* 75 vars */]) = 0
uname({sys="Linux", node="asterisk", ...}) = 0
brk(0) = 0x805b000
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=74956, ...}) = 0
old_mmap(NULL, 74956, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
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\0L\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1359489, ...}) = 0
old_mmap(NULL, 1137708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002b000
madvise(0x4002b000, 1137708, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x4013a000, 27692, PROT_NONE) = 0
old_mmap(0x4013b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x4013b000
old_mmap(0x4013f000, 7212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013f000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40141000
mprotect(0x4013b000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40141460, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 74956) = 0
create_module(umovestr: Input/output error
0, 0) = -1 ENOSYS (Function not implemented)
uname({sys="Linux", node="asterisk", ...}) = 0
fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
brk(0) = 0x805b000
brk(0x807c000) = 0x807c000
open("/etc/modprobe.conf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13666, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "#\n# Copyright (c) 1996-2002 SuSE"..., 4096) = 4096
read(3, " io=0x2a0 irq=10\n# options fmv1"..., 4096) = 4096
read(3, "#\n# USB\n########################"..., 4096) = 4096
read(3, " for modprobe.conf\n\nalias char-m"..., 4096) = 1378
open("/etc/modprobe.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=152, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
getdents(4, /* 6 entries */, 4096) = 112
open("/etc/modprobe.d/tv", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/tv", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
open("/etc/modprobe.d/sound", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/sound", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=107, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "options snd-intel8x0 enable=1 in"..., 4096) = 107
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
open("/etc/modprobe.d/zaptel", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/zaptel", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=752, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "options torisa base=0xd0000\nalia"..., 4096) = 752
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
getdents(4, /* 0 entries */, 4096) = 0
close(4) = 0
open("/etc/modprobe.conf.local", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.conf.local", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(4, "#\n# please add local extensions "..., 4096) = 47
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40019000, 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/lib/modules/2.6.8-24.10-default/modules.dep", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=287242, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "arport/parport.ko /lib/modules/2"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/drivers"..., 4096) = 4096
read(3, "efault/kernel/drivers/media/vide"..., 4096) = 4096
read(3, "ernel/drivers/i2c/i2c-core.ko\n/l"..., 4096) = 4096
read(3, "drivers/media/video/videodev.ko "..., 4096) = 4096
read(3, "deo/cx88/cx88-blackbird.ko: /lib"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, "ault/kernel/drivers/media/video/"..., 4096) = 4096
read(3, "2c-core.ko /lib/modules/2.6.8-24"..., 4096) = 4096
read(3, "odules/2.6.8-24.10-default/kerne"..., 4096) = 4096
read(3, "ride.ko /lib/modules/2.6.8-24.10"..., 4096) = 4096
read(3, "/ib_poll.ko /lib/modules/2.6.8-2"..., 4096) = 4096
read(3, "drivers/infiniband/core/ib_sa_cl"..., 4096) = 4096
read(3, "i_common/mod_vapi_common.ko: /li"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/drivers"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "/avm/b1dma.ko /lib/modules/2.6.8"..., 4096) = 4096
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "\n/lib/modules/2.6.8-24.10-defaul"..., 4096) = 4096
read(3, "b/modules/2.6.8-24.10-default/ke"..., 4096) = 4096
read(3, "r/agp/via-agp.ko: /lib/modules/2"..., 4096) = 4096
read(3, "rivers/usb/serial/keyspan.ko: /l"..., 4096) = 4096
read(3, "ules/2.6.8-24.10-default/kernel/"..., 4096) = 4096
read(3, "usbcore.ko\n/lib/modules/2.6.8-24"..., 4096) = 4096
read(3, "td/chips/jedec_probe.ko: /lib/mo"..., 4096) = 4096
read(3, "/modules/2.6.8-24.10-default/ker"..., 4096) = 4096
read(3, "les/2.6.8-24.10-default/kernel/d"..., 4096) = 4096
read(3, "c.ko\n/lib/modules/2.6.8-24.10-de"..., 4096) = 4096
read(3, "s.ko /lib/modules/2.6.8-24.10-de"..., 4096) = 4096
read(3, "efault/kernel/drivers/net/slhc.k"..., 4096) = 4096
read(3, "4.10-default/kernel/lib/crc-ccit"..., 4096) = 4096
read(3, "-default/kernel/lib/crc-ccitt.ko"..., 4096) = 4096
read(3, "-default/kernel/net/irda/irda.ko"..., 4096) = 4096
read(3, "24.10-default/kernel/drivers/i2c"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "64.ko: /lib/modules/2.6.8-24.10-"..., 4096) = 4096
read(3, "lt/kernel/drivers/md/dm-zero.ko:"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, ".6.8-24.10-default/kernel/sound/"..., 4096) = 4096
read(3, "el/sound/soundcore.ko\n/lib/modul"..., 4096) = 4096
read(3, "odules/2.6.8-24.10-default/kerne"..., 4096) = 4096
read(3, "/oss/i810_audio.ko: /lib/modules"..., 4096) = 4096
read(3, "rnel/sound/oss/sound.ko: /lib/mo"..., 4096) = 4096
read(3, "s.ko: /lib/modules/2.6.8-24.10-d"..., 4096) = 4096
read(3, "ound/drivers/opl3/snd-opl3-lib.k"..., 4096) = 4096
read(3, "ound/core/snd-pcm.ko /lib/module"..., 4096) = 4096
read(3, "idi.ko /lib/modules/2.6.8-24.10-"..., 4096) = 4096
read(3, ".ko /lib/modules/2.6.8-24.10-def"..., 4096) = 4096
read(3, "snd-util-mem.ko /lib/modules/2.6"..., 4096) = 4096
read(3, "les/2.6.8-24.10-default/kernel/s"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/sound/d"..., 4096) = 4096
read(3, "2.6.8-24.10-default/kernel/sound"..., 4096) = 4096
read(3, "/sound/soundcore.ko\n/lib/modules"..., 4096) = 4096
read(3, "rnel/sound/drivers/opl3/snd-opl3"..., 4096) = 4096
read(3, " /lib/modules/2.6.8-24.10-defaul"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, "30t.ko: /lib/modules/2.6.8-24.10"..., 4096) = 4096
read(3, "h.ko:\n/lib/modules/2.6.8-24.10-d"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, ".10-default/kernel/net/ipv6/netf"..., 4096) = 4096
read(3, "s/2.6.8-24.10-default/kernel/net"..., 4096) = 4096
read(3, "ko\n/lib/modules/2.6.8-24.10-defa"..., 4096) = 4096
read(3, ".6.8-24.10-default/kernel/net/ip"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/net/ipv"..., 4096) = 4096
read(3, "/modules/2.6.8-24.10-default/ker"..., 4096) = 4096
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "a/adm8211.ko:\n/lib/modules/2.6.8"..., 4096) = 4096
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/lib/modules/2.6.8-24.10-default/kernel/lib/crc-ccitt.ko", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
open("/proc/modules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "nvram 8328 0 - Live 0xe128a000\nu"..., 1024) = 1024
read(4, " 6656 18 - Live 0xe1776000\nip6t_"..., 1024) = 1024
read(4, "TOS,ipt_LOG,ipt_limit,ipt_pkttyp"..., 1024) = 730
read(4, "", 1024) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFREG|0644, st_size=3557, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 3557
read(3, "", 12288) = 0
read(3, "", 12288) = 0
read(3, "", 12288) = 0
init_module("ELF", 0xde5) = 0
close(3) = 0
open("/lib/modules/2.6.8-24.10-default/extra/zaptel.ko", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
open("/proc/modules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
asterisk:/usr/src/asterisk/bristuff-0.2.0-RC3/zaphfc # strace insmod ./zaphfc.ko modes=1
execve("/sbin/insmod", ["insmod", "./zaphfc.ko", "modes=1"], [/* 75 vars */]) = 0
uname({sys="Linux", node="asterisk", ...}) = 0
brk(0) = 0x8057000
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=74956, ...}) = 0
old_mmap(NULL, 74956, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
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\0L\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1359489, ...}) = 0
old_mmap(NULL, 1137708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002b000
madvise(0x4002b000, 1137708, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x4013a000, 27692, PROT_NONE) = 0
old_mmap(0x4013b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x4013b000
old_mmap(0x4013f000, 7212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013f000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40141000
mprotect(0x4013b000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40141460, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 74956) = 0
brk(0) = 0x8057000
brk(0x8078000) = 0x8078000
create_module(umovestr: Input/output error
0, 0) = -1 ENOSYS (Function not implemented)
open("./zaphfc.ko", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=104744, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 16384
_llseek(3, 0, [16384], SEEK_CUR) = 0
read(3, "M\26\0\0\2#\30\22uid\0\36`\1\337\1\0\0\2# \0\7\4\377\33"..., 16384) = 16384
read(3, "\0\0(g\1M\26\0\0\2#,\0238\r\0\0(h\1\350\24\0\0\2#4\23\267"..., 32768) = 32768
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40142000
read(3, "e\0rootmnt\0pageset\0populate\0task_"..., 65536) = 39208
read(3, "", 24576) = 0
read(3, "", 24576) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
init_module("ELF", 0x19928) = 0
exit_group(0) = ?
und schließlich strace ztcfg -v
Code:
execve("/sbin/modprobe", ["modprobe", "zaptel"], [/* 75 vars */]) = 0
uname({sys="Linux", node="asterisk", ...}) = 0
brk(0) = 0x805b000
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=74956, ...}) = 0
old_mmap(NULL, 74956, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
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\0L\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1359489, ...}) = 0
old_mmap(NULL, 1137708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002b000
madvise(0x4002b000, 1137708, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x4013a000, 27692, PROT_NONE) = 0
old_mmap(0x4013b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x4013b000
old_mmap(0x4013f000, 7212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013f000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40141000
mprotect(0x4013b000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40141460, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 74956) = 0
create_module(umovestr: Input/output error
0, 0) = -1 ENOSYS (Function not implemented)
uname({sys="Linux", node="asterisk", ...}) = 0
fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
brk(0) = 0x805b000
brk(0x807c000) = 0x807c000
open("/etc/modprobe.conf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13666, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "#\n# Copyright (c) 1996-2002 SuSE"..., 4096) = 4096
read(3, " io=0x2a0 irq=10\n# options fmv1"..., 4096) = 4096
read(3, "#\n# USB\n########################"..., 4096) = 4096
read(3, " for modprobe.conf\n\nalias char-m"..., 4096) = 1378
open("/etc/modprobe.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=152, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
getdents(4, /* 6 entries */, 4096) = 112
open("/etc/modprobe.d/tv", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/tv", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
open("/etc/modprobe.d/sound", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/sound", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=107, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "options snd-intel8x0 enable=1 in"..., 4096) = 107
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
open("/etc/modprobe.d/zaptel", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.d/zaptel", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=752, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(5, "options torisa base=0xd0000\nalia"..., 4096) = 752
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40019000, 4096) = 0
getdents(4, /* 0 entries */, 4096) = 0
close(4) = 0
open("/etc/modprobe.conf.local", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/etc/modprobe.conf.local", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(4, "#\n# please add local extensions "..., 4096) = 47
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40019000, 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/lib/modules/2.6.8-24.10-default/modules.dep", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=287242, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "arport/parport.ko /lib/modules/2"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/drivers"..., 4096) = 4096
read(3, "efault/kernel/drivers/media/vide"..., 4096) = 4096
read(3, "ernel/drivers/i2c/i2c-core.ko\n/l"..., 4096) = 4096
read(3, "drivers/media/video/videodev.ko "..., 4096) = 4096
read(3, "deo/cx88/cx88-blackbird.ko: /lib"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, "ault/kernel/drivers/media/video/"..., 4096) = 4096
read(3, "2c-core.ko /lib/modules/2.6.8-24"..., 4096) = 4096
read(3, "odules/2.6.8-24.10-default/kerne"..., 4096) = 4096
read(3, "ride.ko /lib/modules/2.6.8-24.10"..., 4096) = 4096
read(3, "/ib_poll.ko /lib/modules/2.6.8-2"..., 4096) = 4096
read(3, "drivers/infiniband/core/ib_sa_cl"..., 4096) = 4096
read(3, "i_common/mod_vapi_common.ko: /li"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/drivers"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "/avm/b1dma.ko /lib/modules/2.6.8"..., 4096) = 4096
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "\n/lib/modules/2.6.8-24.10-defaul"..., 4096) = 4096
read(3, "b/modules/2.6.8-24.10-default/ke"..., 4096) = 4096
read(3, "r/agp/via-agp.ko: /lib/modules/2"..., 4096) = 4096
read(3, "rivers/usb/serial/keyspan.ko: /l"..., 4096) = 4096
read(3, "ules/2.6.8-24.10-default/kernel/"..., 4096) = 4096
read(3, "usbcore.ko\n/lib/modules/2.6.8-24"..., 4096) = 4096
read(3, "td/chips/jedec_probe.ko: /lib/mo"..., 4096) = 4096
read(3, "/modules/2.6.8-24.10-default/ker"..., 4096) = 4096
read(3, "les/2.6.8-24.10-default/kernel/d"..., 4096) = 4096
read(3, "c.ko\n/lib/modules/2.6.8-24.10-de"..., 4096) = 4096
read(3, "s.ko /lib/modules/2.6.8-24.10-de"..., 4096) = 4096
read(3, "efault/kernel/drivers/net/slhc.k"..., 4096) = 4096
read(3, "4.10-default/kernel/lib/crc-ccit"..., 4096) = 4096
read(3, "-default/kernel/lib/crc-ccitt.ko"..., 4096) = 4096
read(3, "-default/kernel/net/irda/irda.ko"..., 4096) = 4096
read(3, "24.10-default/kernel/drivers/i2c"..., 4096) = 4096
read(3, "es/2.6.8-24.10-default/kernel/dr"..., 4096) = 4096
read(3, "64.ko: /lib/modules/2.6.8-24.10-"..., 4096) = 4096
read(3, "lt/kernel/drivers/md/dm-zero.ko:"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, ".6.8-24.10-default/kernel/sound/"..., 4096) = 4096
read(3, "el/sound/soundcore.ko\n/lib/modul"..., 4096) = 4096
read(3, "odules/2.6.8-24.10-default/kerne"..., 4096) = 4096
read(3, "/oss/i810_audio.ko: /lib/modules"..., 4096) = 4096
read(3, "rnel/sound/oss/sound.ko: /lib/mo"..., 4096) = 4096
read(3, "s.ko: /lib/modules/2.6.8-24.10-d"..., 4096) = 4096
read(3, "ound/drivers/opl3/snd-opl3-lib.k"..., 4096) = 4096
read(3, "ound/core/snd-pcm.ko /lib/module"..., 4096) = 4096
read(3, "idi.ko /lib/modules/2.6.8-24.10-"..., 4096) = 4096
read(3, ".ko /lib/modules/2.6.8-24.10-def"..., 4096) = 4096
read(3, "snd-util-mem.ko /lib/modules/2.6"..., 4096) = 4096
read(3, "les/2.6.8-24.10-default/kernel/s"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/sound/d"..., 4096) = 4096
read(3, "2.6.8-24.10-default/kernel/sound"..., 4096) = 4096
read(3, "/sound/soundcore.ko\n/lib/modules"..., 4096) = 4096
read(3, "rnel/sound/drivers/opl3/snd-opl3"..., 4096) = 4096
read(3, " /lib/modules/2.6.8-24.10-defaul"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, "30t.ko: /lib/modules/2.6.8-24.10"..., 4096) = 4096
read(3, "h.ko:\n/lib/modules/2.6.8-24.10-d"..., 4096) = 4096
read(3, "lib/modules/2.6.8-24.10-default/"..., 4096) = 4096
read(3, ".10-default/kernel/net/ipv6/netf"..., 4096) = 4096
read(3, "s/2.6.8-24.10-default/kernel/net"..., 4096) = 4096
read(3, "ko\n/lib/modules/2.6.8-24.10-defa"..., 4096) = 4096
read(3, ".6.8-24.10-default/kernel/net/ip"..., 4096) = 4096
read(3, "6.8-24.10-default/kernel/net/ipv"..., 4096) = 4096
read(3, "/modules/2.6.8-24.10-default/ker"..., 4096) = 4096
read(3, "/lib/modules/2.6.8-24.10-default"..., 4096) = 4096
read(3, "a/adm8211.ko:\n/lib/modules/2.6.8"..., 4096) = 4096
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/lib/modules/2.6.8-24.10-default/kernel/lib/crc-ccitt.ko", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
open("/proc/modules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "nvram 8328 0 - Live 0xe128a000\nu"..., 1024) = 1024
read(4, " 6656 18 - Live 0xe1776000\nip6t_"..., 1024) = 1024
read(4, "TOS,ipt_LOG,ipt_limit,ipt_pkttyp"..., 1024) = 730
read(4, "", 1024) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFREG|0644, st_size=3557, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 3557
read(3, "", 12288) = 0
read(3, "", 12288) = 0
read(3, "", 12288) = 0
init_module("ELF", 0xde5) = 0
close(3) = 0
open("/lib/modules/2.6.8-24.10-default/extra/zaptel.ko", O_RDWR) = 3
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
open("/proc/modules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
asterisk:/usr/src/asterisk/bristuff-0.2.0-RC3/zaphfc # strace insmod ./zaphfc.ko modes=1
execve("/sbin/insmod", ["insmod", "./zaphfc.ko", "modes=1"], [/* 75 vars */]) = 0
uname({sys="Linux", node="asterisk", ...}) = 0
brk(0) = 0x8057000
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=74956, ...}) = 0
old_mmap(NULL, 74956, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
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\0L\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1359489, ...}) = 0
old_mmap(NULL, 1137708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002b000
madvise(0x4002b000, 1137708, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x4013a000, 27692, PROT_NONE) = 0
old_mmap(0x4013b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x4013b000
old_mmap(0x4013f000, 7212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013f000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40141000
mprotect(0x4013b000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40141460, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,asterisk:/usr/src/asterisk/bristuff-0.2.0-RC3/zaphfc # strace ztcfg -v
execve("/sbin/ztcfg", ["ztcfg", "-v"], [/* 75 vars */]) = 0
uname({sys="Linux", node="asterisk", ...}) = 0
brk(0) = 0x8086000
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=74956, ...}) = 0
old_mmap(NULL, 74956, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
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\0P3\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=174623, ...}) = 0
old_mmap(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002b000
madvise(0x4002b000, 139424, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4004c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x4004c000
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\0L\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1359489, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4004e000
old_mmap(NULL, 1137708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4004f000
madvise(0x4004f000, 1137708, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x4015e000, 27692, PROT_NONE) = 0
old_mmap(0x4015f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x4015f000
old_mmap(0x40163000, 7212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40163000
close(3) = 0
mprotect(0x4015f000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x4004e840, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 74956) = 0
brk(0) = 0x8086000
brk(0x80a7000) = 0x80a7000
open("/etc/zaptel.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=73, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "loadzone=nl \ndefaultzone=nl \nspa"..., 4096) = 73
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
write(1, "\n", 1
) = 1
write(1, "Zaptel Configuration\n", 21Zaptel Configuration
) = 21
write(1, "======================\n", 23======================
) = 23
write(1, "\n", 1
) = 1
write(1, "SPAN 1: CCS/ AMI Build-out: 399-"..., 49SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
) = 49
write(1, "\n", 1
) = 1
write(1, "3 channels configured.\n\n", 243 channels configured.
) = 24
open("/dev/zap/ctl", O_RDWR) = 3
ioctl(3, 0x40244a12, 0x8061280) = -1 EINVAL (Invalid argument)
write(2, "ZT_SPANCONFIG failed on span 1: "..., 54ZT_SPANCONFIG failed on span 1: Invalid argument (22)
) = 54
close(3) = 0
munmap(0x40018000, 4096) = 0
exit_group(1) = ?
Kannst Du etwas damit anfangen?
Ich bin wirklich sehr dankbar für all eure Bemühungen. Bis Freitag und viele Grüße
Schorsch