[Asterisk-Dev] bristuff & zaptel (long)
marek cervenka
cervajs at fpf.slu.cz
Wed Dec 29 09:11:49 MST 2004
> On Wednesday 29 December 2004 14:30, marek cervenka wrote:
>> i have problem with segfaults in zaptel/zaphfc
>> (maybe i may post this email to developer of bristuff)
>>
>> i can insmod/rmmod vzaphfc (with rmmod zaphfc from bristuff my PC hang)
>> but when i run zttool/ztcfg segfault occured
>
> Hi, luckilly someone pointed me to your post since I don't read this list
> often :)
>
> Your bug report doesn't point out a bug in my code, thought I cannot exclude
> there is. The stack seems to be, at least partially, messed up.
any advice how debug? (parameters for modules, utilities for zaptel ->
i'm new to zaptel)
> I can only suggest you to check that everything is compiled cleanly, that
> vzaphfc is compiled with the zaptel includes relative to the zaptel modules
> you're running and that you're inserting the right version of the modules.
is that compilation ok? (module is compiled)
[root at cervajs zaphfc-vihai-30]# make
make -C /lib/modules/`uname -r`/build modules SUBDIRS=`pwd`
make[1]: Entering directory
`/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9'
CC [M] /usr/src/zaphfc-vihai-30/vzaphfc.o
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_proc_read_info':
/usr/src/zaphfc-vihai-30/vzaphfc.c:443: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_proc_read_bufs':
/usr/src/zaphfc-vihai-30/vzaphfc.c:575: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_zap_initialize':
/usr/src/zaphfc-vihai-30/vzaphfc.c:1022: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_interrupt':
/usr/src/zaphfc-vihai-30/vzaphfc.c:1108: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c:1110: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c:1140: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_frame_arrived':
/usr/src/zaphfc-vihai-30/vzaphfc.c:1534: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_probe':
/usr/src/zaphfc-vihai-30/vzaphfc.c:1739: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_remove':
/usr/src/zaphfc-vihai-30/vzaphfc.c:2015: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_fifo_get':
/usr/src/zaphfc-vihai-30/vzaphfc.c:2107: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_fifo_get_frame':
/usr/src/zaphfc-vihai-30/vzaphfc.c:2186: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c:2239: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_fifo_drop_frame':
/usr/src/zaphfc-vihai-30/vzaphfc.c:2294: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: In function `hfc_fifo_put_frame':
/usr/src/zaphfc-vihai-30/vzaphfc.c:2356: warning: ISO C90 forbids mixed
declarations and code
/usr/src/zaphfc-vihai-30/vzaphfc.c: At top level:
/usr/src/zaphfc-vihai-30/vzaphfc.c:2129: warning: 'hfc_fifo_drop' defined
but not used
Building modules, stage 2.
MODPOST
*** Warning: "zt_unregister" [/usr/src/zaphfc-vihai-30/vzaphfc.ko]
undefined!
*** Warning: "zt_receive" [/usr/src/zaphfc-vihai-30/vzaphfc.ko] undefined!
*** Warning: "zt_ec_chunk" [/usr/src/zaphfc-vihai-30/vzaphfc.ko]
undefined!
*** Warning: "zt_transmit" [/usr/src/zaphfc-vihai-30/vzaphfc.ko]
undefined!
*** Warning: "zt_register" [/usr/src/zaphfc-vihai-30/vzaphfc.ko]
undefined!
CC /usr/src/zaphfc-vihai-30/vzaphfc.mod.o
LD [M] /usr/src/zaphfc-vihai-30/vzaphfc.ko
make[1]: Leaving directory
`/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9'
---------------------------------------
Marek Cervenka
Centrum Vypocetni Techniky
CVT - http://cvt.fpf.slu.cz
FPF SLU OPAVA - http://www.fpf.slu.cz
LCNA - http://lcna.slu.cz
=======================================
More information about the asterisk-dev
mailing list