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

Henry henry at adiungo.com
Mon Apr 11 06:34:04 MST 2005


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 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: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] 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/42de6520/attachment.htm


More information about the asterisk-users mailing list