[Asterisk-Users] Zaptel Compile on a virtual dedicated host.

vgrskovic at optonline.net vgrskovic at optonline.net
Mon Apr 11 06:45:54 MST 2005


It appears to be Virtuozzo..
 
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Henry
Sent: Monday, April 11, 2005 9:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: 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, "vgrskovic at optonline.net" <vgrskovic at optonline.net>
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 :-(.  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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]
<mailto:asterisk-users-bounces at lists.digium.com%5d>  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 at 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 at 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050411/a0f7f809/attachment.htm


More information about the asterisk-users mailing list