modprobing

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

modprobing

Postby gangiyanrohit » Fri Jul 14, 2006 2:33 pm

hi all

i got error while installing ztdummy
when run
- modprobe zaptel
- modprobe ztdummy

root@nitin:/usr/src/asterisk/zaptel# modprobe zaptel
root@nitin:/usr/src/asterisk/zaptel# modprobe ztdummy
modprobe: Can't locate module ztdummy
root@nitin:/usr/src/asterisk/zaptel#

any clues!!!!!!!!!

regards
gangiyanrohit
 
Posts: 23
Joined: Fri Jul 14, 2006 2:30 pm

Postby gangiyanrohit » Fri Jul 14, 2006 2:34 pm

I m using slakware 10.2 with kernal 2.6
I have asterisk 1.2.9.1 and it working fine.


regards
gangiyanrohit
 
Posts: 23
Joined: Fri Jul 14, 2006 2:30 pm

Postby mflorell » Fri Jul 14, 2006 2:41 pm

What 2.6 kernel are you using?

Did you follow the instructions on the wiki?
http://www.voip-info.org/wiki-Asterisk+timer+ztdummy
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Hi

Postby mr_mehul_shah » Fri Jul 14, 2006 5:57 pm

Stop your asterisk and than try to load it will surely work....Else don`t have install your zaptel properly....
mr_mehul_shah
 
Posts: 28
Joined: Mon Jun 12, 2006 4:08 pm

Postby Rohit » Fri Jul 14, 2006 6:53 pm

Thanks for the fast response.

I upgraded the Kernel from 2.4 to 2.6.16.22 in Slackware 10.2.



I have followed the instructions on the wiki?
http://www.voip-info.org/wiki-Asterisk+timer+ztdummy

My Asterisk is 1.2.9.1 and it is working fine.

Please advice. Thanks
Rohit
 
Posts: 3
Joined: Fri Jul 14, 2006 6:50 pm

Postby gangiyanrohit » Sat Jul 15, 2006 3:11 am

hi mehul

I do as you said.
ifirst stop my asterisk
then install zaptel again

but i got the error

*CLI> stop now
Beginning asterisk shutdown....
Executing last minute cleanups
== Destroying musiconhold processes
Asterisk cleanly ending (0).
root@nitin:/usr/src/asterisk# cd zaptel-1.2.6
root@nitin:/usr/src/asterisk/zaptel-1.2.6# make clean
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg torisatool makefw ztmonitor ztspeed zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
root@nitin:/usr/src/asterisk/zaptel-1.2.6# make linux26
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=
\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits > tones.h
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=
\"/etc/zaptel.conf\" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
ZAPTELVERSION="1.2.6" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=
\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DBUILDING_TONEZONE -o zone
data.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DBUILDING_TONEZONE -o tone
zone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=
\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=
\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=
\"/etc/zaptel.conf\" zttest.c -o zttest
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=
\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
/lib/modules/2.4.31/build
make -C /lib/modules/2.4.31/build SUBDIRS=/usr/src/asterisk/zaptel-1.2.6 module
s
make[1]: Entering directory `/usr/src/linux-2.4.31'
make -C /usr/src/asterisk/zaptel-1.2.6 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2 .4.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i48 6 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/src/asterisk/zaptel-1.2.6'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/usr/src/asterisk/zaptel-1.2.6'
make[1]: *** [_mod_/usr/src/asterisk/zaptel-1.2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.31'
make: *** [linux26] Error 2


any clues!!!!!!!!!!1

regards
gangiyanrohit
 
Posts: 23
Joined: Fri Jul 14, 2006 2:30 pm

Postby mflorell » Sat Jul 15, 2006 4:30 am

Looks like something still thinks you are using a 2.4 kernel:
"/usr/src/linux-2.4.31"

I would say that's your problem.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 75 guests