Page 1 of 1

vicibox Zaptel

PostPosted: Wed May 06, 2009 8:04 pm
by frank220
trying to recompile zaptel for use with quad e1 digium however when I run make i get the following error
You do not appear to have the sources for the 2.6.24-23-server kernel installed (under /usr/src/linux)
any sugestions

PostPosted: Thu May 07, 2009 8:24 am
by mcargile
All zaptel modules should be compiled and installed in vicibox. All you have to do is edit the Vicidial init script and change ztdummy to the module you wish to load.

The fact that you are getting that error does concern me though. Can you please post the results of:
Code: Select all
ls -l /usr/src/

for me?

here it is

PostPosted: Thu May 07, 2009 8:34 am
by frank220
root@us-dialler:/# ls -l /usr/src
total 45928
drwxr-xr-x 25 root root 4096 2009-05-07 01:25 asterisk-1.2.30.4
drwxr-xr-x 5 1000 1000 4096 2009-05-07 01:13 asterisk-perl-0.08
drwxr-sr-x 14 root src 4096 2009-05-07 01:38 astguiclient
drwxr-xr-x 10 500 500 4096 2009-05-07 01:13 eaccelerator-0.9.5.3
drwxr-xr-x 2 root root 4096 2009-05-07 01:21 libpri-1.2.8
drwxr-xr-x 23 root root 4096 2009-05-07 01:12 linux
drwxr-xr-x 20 root root 4096 2009-05-07 01:01 linux-headers-2.6.24-24
drwxr-xr-x 6 root root 4096 2009-05-07 01:01 linux-headers-2.6.24-24-server
-rw-r--r-- 1 root root 46916608 2009-04-15 20:53 linux-source-2.6.24.tar.bz2
drwxr-xr-x 4 1005 1048 4096 2009-05-07 01:13 mtop-0.6.6
drwxr-xr-x 7 root root 4096 2009-05-07 04:11 rpm
drwxr-sr-x 2 root src 4096 2009-05-07 01:20 tars
drwxr-xr-x 3 6346 users 4096 2009-05-07 01:13 ttyload-0.5
drwxr-xr-x 19 root root 4096 2009-05-07 01:21 wanpipe-3.2.7.1
lrwxrwxrwx 1 root src 13 2009-05-07 01:21 zaptel -> zaptel-1.2.27
drwxr-xr-x 12 root root 4096 2009-05-07 04:33 zaptel-1.2.27
root@us-dialler:/#



also reason for wanting to compile zaptel was that when i ran modprobe zaptel - i got this

root@us-dialler:/# modprobe zaptel
FATAL: Module zaptel not found.
root@us-dialler:/#

PostPosted: Thu May 07, 2009 8:58 am
by mcargile
can you run:
Code: Select all
uname -a

heres the info

PostPosted: Thu May 07, 2009 8:59 am
by frank220
root@us-dialler:/# uname -a
Linux us-dialler 2.6.24-23-server #1 SMP Wed Apr 1 22:22:14 UTC 2009 i686 GNU/Linux

PostPosted: Thu May 07, 2009 9:09 am
by mcargile
Well it looks like Ubuntu released a kernel update that is effecting Vicibox. Another thing to fix in RC-2.

Try rebooting the server and see if there is a 2.6.24-24 kernel that you can select for booting. If so then try compiling zaptel... it should work. I will try and get this fixed in the installer this evening.

thanks mike

PostPosted: Thu May 07, 2009 9:11 am
by frank220
thanks that was the plan anyway but I thought you should be aware of the issue

PostPosted: Thu May 07, 2009 9:57 am
by mcargile
I forgot to mention you will also need to recompile asterisk. It most likely built without zaptel support, which means no meetme conferences.

PostPosted: Thu May 07, 2009 10:02 am
by frank220
just compiling kernel (yawn) - thanks again

PostPosted: Thu May 07, 2009 8:42 pm
by frank220
just incase its usefull - was able to complile all modules after running
apt-get install linux-headers-2.6.24-23

PostPosted: Fri May 08, 2009 5:48 pm
by mflorell
Thanks for the note!