Hi everybody !!
I’m little bit newie in this asterisk stuff, I installed a linux box (fedora 5) and after a lot of trouble to compile asterisk , zaptel , etc I got this when try to modprobe zaptel
FATAL: Module zaptel not found
and this trying to start zaptel:
/etc/init.d/zaptel start
Loading zaptel framework: FATAL: Module zaptel not found. [FAILED]
Waiting for zap to come online…Error: missing /dev/zap!
I was looking in lot of pages and tryed all sort of things but I still can’t get zaptel loading even I change the card (tdm400) from another box but until now nothing
BTW I try with zaptel-1.2.18 and zaptel-1.4.3
My system:
FC5 ‘uname -r’ 2.6.20-1.2319.fc5smp
asterisk-1.4.4
last time use zaptel-1.2.18
TDM400 card
Thanks for the help and forgive my english, I suspect that gonna be a stupid configuration error
See ya
Blackwoodie
hello, maybe you have to remove zaptel and recompile again and reboot your system. it should not be a problem, if you compile it successfully.
good luck!
zhu
Hi zhu8080
Yesterday I rebuild the system, install the kernell-dev package without upgrade FC5 just download an install the package after that I create the symblink to the sources and zaptel compiles without problem but when I tryed to modprobe zaptel i got this:
I look in another page that I must check in dmesg if the card is detected by the system looking in the dmseg log file for something like this:
[code]Example:
- Corporation: Unknown device 0314 (rev 01)
- Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
- Network controller: Jens Scoenfeld[/code]
but in the log cannot foud something like that just this:
I don’t know if the card it’s not recognized by linux it’s installed in a Intel generic server in a raise pci card you know to put it horizontally maybe this could be the problem I don’t know
Any help will be appreciated
Thnxs
Blackwoodie
Hi
It looks as if you are running an smp kernel but have zaptel installers as UP.
what directories are in /lib/modules/ ?
It maybe that you have the wron devel package installed.
should be 2.6.15-1.2054_FC5 and 2.6.20-1.2319.fc5smp
when the box boots and you get a grub screen use the 2.6.15-1.2054_FC5 option
Ian
Hi ianplain
I upgrade the kernel to the version 2.6.20-1.2319.fc5 and reboot the system to load the new kernel, right now in the /lib/modules folder I have this subfolders (I also update kernel-smp after your reply)
drwxr-xr-x 6 root root 4096 Jun 21 03:47 2.6.15-1.2054_FC5
drwxr-xr-x 5 root root 4096 Jun 21 02:15 2.6.15-1.2054_FC5smp
drwxr-xr-x 6 root root 4096 Jun 21 18:23 2.6.20-1.2319.fc5
drwxr-xr-x 5 root root 4096 Jun 21 18:40 2.6.20-1.2319.fc5smp
Now I look at the /lib/modules/2.6.20-1.2319.fc5smp folder I got this:
[code]lrwxrwxrwx 1 root root 51 Jun 21 18:40 build -> …/…/…/usr/src/kernels/2.6.20-1.2319.fc5-smp-i686
drwxr-xr-x 2 root root 4096 May 21 17:25 extra
drwxr-xr-x 9 root root 4096 Jun 21 18:40 kernel
-rw-r–r-- 1 root root 280320 Jun 21 18:40 modules.alias
-rw-r–r-- 1 root root 69 Jun 21 18:40 modules.ccwmap
-rw-r–r-- 1 root root 288807 Jun 21 18:40 modules.dep
-rw-r–r-- 1 root root 813 Jun 21 18:40 modules.ieee1394map
-rw-r–r-- 1 root root 206 Jun 21 18:40 modules.inputmap
-rw-r–r-- 1 root root 12236 Jun 21 18:40 modules.isapnpmap
-rw-r–r-- 1 root root 215860 Jun 21 18:40 modules.pcimap
-rw-r–r-- 1 root root 967 Jun 21 18:40 modules.seriomap
-rw-r–r-- 1 root root 121657 Jun 21 18:40 modules.symbols
-rw-r–r-- 1 root root 331962 Jun 21 18:40 modules.usbmap
lrwxrwxrwx 1 root root 5 Jun 21 18:40 source -> build
drwxr-xr-x 2 root root 4096 May 21 17:25 updates[/code]
the first is a symb link that seems don’t work (appears in red) do you have any idea where this symb link should be pointed ??
Thanks again
Blackwoodie
Link kernel sources to this kernels build directory so any modules being built will be built against the correct sources. Example:
Asterisk looks for sources in the right place; however Fedora seems to put them in their own unique area. So we need to link to the proper place.
Hope it helps some.
Hi skin256
I already do that, that was my fisrt problem becasue zaptel could’t find the sources and stop the make command, after I update ther kernel I also update the symb link to the sources and edit the wcusb.c and xpp/xpp_usb.c files in the “owner” line (change 16 to 20) in order to compile zaptel it compile without problems I think at least it don’t stop but I think I miss something maybe the symb link is wrong o something else dunno
My /usr/src/ folder:
drwxr-xr-x 5 root root 4096 Jun 21 19:22 kernels
drwxr-xr-x 2 1000 1000 4096 Jun 21 02:43 libpri-1.4.0
lrwxrwxrwx 1 root root 31 Jun 21 18:10 linux -> kernels/2.6.20-1.2319.fc5-i586/
drwxr-xr-x 7 root root 4096 Jun 21 01:17 redhat
drwxr-xr-x 13 root root 12288 Jun 21 18:23 zaptel-1.4.3
Thanks again
Blackwoodie
Ok I found something new (I think)
I forgot to say that my server have 2 processors so I thik I need use the 2.6.20-1.2319.fc5smp kernell (correct me if I’m wrong) after rebbot the server and start linux with that kernell I uname -r and the asnwer is
2.6.20-1.2319.fc5smp
The I go to the zaptel folder and make clean and make again by the way my /lib/modules/ have the folders:
drwxr-xr-x 6 root root 4096 Jun 21 03:47 2.6.15-1.2054_FC5
drwxr-xr-x 5 root root 4096 Jun 21 02:15 2.6.15-1.2054_FC5smp
drwxr-xr-x 6 root root 4096 Jun 21 21:43 2.6.20-1.2319.fc5
drwxr-xr-x 5 root root 4096 Jun 22 18:44 2.6.20-1.2319.fc5smp
drwxr-xr-x 3 root root 4096 Jun 22 00:33 2.6.20-1.2319.fc5.stk16smp
But I think something is wrong because when I make zaptel it create the “misc” folder with the modules in
instead of
If this could be the problem somebody knows how to fix it ??
Thanks
Blackwoodie