Title: Re: [Asterisk-Users] Zaptel Compile on a virtual dedicated host.
Hi,

Do you happen to know what VPS system your host uses (e.g. UML, Virtuozzo, VMWare, FreeVPS, etc.)? It could make a lot of difference, as some platforms will allow changes that others will not.

-- Henry Owens.


On 11/4/05 2:20 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

Giles thank you for getting back so quickly, "dmesg" doesn’t output anything, but even if it did, I am not sure that I could recompile the kernel.  
 
The server I am using is in a virtual dedicated hosting environment, I do not have access to recompile the kernel, nor can I replace it. The server prevents me from doing so.  I do not have access to the “real” /boot and don’t have access as far as I can tell to the .config for the kernel source. (“make oldconfig” seems to work)
 
After a few more days of tech support, google searches and etc, I have found that my provider is using
kernel 2.24.21.4.0.1.elsmp.  Of course, cat /proc/version doesn’t think so!!  It thinks I am running Kernel 2.4.20-021stab022.11.777-enterprise.  I am able to use rpmfind to source the corresponding rpm which installs without incident.  The interesting part is “rpm –qa kernel” doesn’t see it L.  I even tried to “rpm –rebuilddb”

Zaptel
appears to compile fine, but when I run “modprobe zaptel” I get the following:

--
à
/lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o: kernel-module version mismatch
       /lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o was compiled for kernel version 2.4.21-4.0.1.EL
        while this kernel is version 2.4.20-021stab022.11.777-enterp.
/lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o: insmod /lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o failed
/lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o: insmod zaptel failed
ß
-

Is there a way to override zaptel’s kernel check or have linux fool it into thinking the kernel is 2.4.21-4.0.1.EL?
 
thanks
!

 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Coochey
Sent:
Wednesday, April 06, 2005 9:01 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject:

 
>Anyone have any ideas on where I can find the right kernel source?  I
have
look at
> rpmfind.net and google'd with no avail!
 
You could always download the Vanilla kernel source from
http://www.kernel.org and compile a kernel from source. I tend to always
use
the Vanilla source, it's what everything has been tested against and
it tastes better.

You should probably print out the "dmesg" output to help you configure
the
kernel options prior to compilation so that your "hardware" is
correctly detected.

I would also urge you to use a bootloader such as grub or lilo to ensure
that
you can revert to the original kernel should it panic on boot, I
suspect Redhat already uses one of those anyway.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to