<HTML>
<HEAD>
<TITLE>Re: [Asterisk-Users] Zaptel Compile on a virtual dedicated host.</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi,<BR>
<BR>
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.<BR>
<BR>
-- Henry Owens.<BR>
<BR>
<BR>
On 11/4/05 2:20 pm, "vgrskovic@optonline.net" <vgrskovic@optonline.net> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'>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. <BR>
<BR>
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)<BR>
<BR>
After a few more days of tech support, google searches and etc, I have found that my provider is using </SPAN></FONT></FONT><FONT FACE="Arial"><SPAN STYLE='font-size:12.0px'>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 </SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Wingdings">L</FONT><FONT FACE="Arial">. I even tried to “rpm –rebuilddb”<BR>
</FONT></SPAN><FONT FACE="Arial"><FONT SIZE="4"><SPAN STYLE='font-size:13.0px'> <BR>
Zaptel</SPAN></FONT><SPAN STYLE='font-size:12.0px'> appears to compile fine, but when I run “modprobe zaptel” I get the following:<BR>
</SPAN><FONT SIZE="4"><SPAN STYLE='font-size:13.0px'> <BR>
--</SPAN></FONT></FONT><FONT SIZE="4"><SPAN STYLE='font-size:13.0px'><FONT FACE="Wingdings">à<BR>
</FONT><FONT FACE="Arial">/lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o: kernel-module version mismatch<BR>
/lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o was compiled for kernel version 2.4.21-4.0.1.EL<BR>
while this kernel is version 2.4.20-021stab022.11.777-enterp.<BR>
/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<BR>
/lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o: insmod zaptel failed<BR>
</FONT><FONT FACE="Wingdings">ß</FONT></SPAN></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>-<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'> <BR>
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?<BR>
<BR>
thanks</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>!<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'> <BR>
<BR>
-----Original Message-----<BR>
From: asterisk-users-bounces@lists.digium.com [<a href="mailto:asterisk-users-bounces@lists.digium.com]">mailto:asterisk-users-bounces@lists.digium.com]</a> On Behalf Of Giles Coochey<BR>
Sent: </SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Wednesday, April 06, 2005 9:01 AM<BR>
To: Asterisk Users Mailing List - Non-Commercial Discussion<BR>
Subject: <BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'> <BR>
<BR>
>Anyone have any ideas on where I can find the right kernel source? I<BR>
have</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> look at<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'>> rpmfind.net and google'd with no avail!<BR>
<BR>
You could always download the Vanilla kernel source from<BR>
<a href="http://www.kernel.org">http://www.kernel.org</a> and compile a kernel from source. I tend to always<BR>
use</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> the Vanilla source, it's what everything has been tested against and<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'>it</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> tastes better.<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'> <BR>
You should probably print out the "dmesg" output to help you configure<BR>
the</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> kernel options prior to compilation so that your "hardware" is<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'>correctly</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> detected.<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'> <BR>
I would also urge you to use a bootloader such as grub or lilo to ensure<BR>
that</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> you can revert to the original kernel should it panic on boot, I<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'>suspect</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> Redhat already uses one of those anyway.<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Courier New"><SPAN STYLE='font-size:13.0px'>_______________________________________________<BR>
Asterisk-Users mailing list<BR>
Asterisk-Users@lists.digium.com<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
To UNSUBSCRIBE or update options visit:<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
</SPAN></FONT><SPAN STYLE='font-size:13.0px'><FONT FACE="Arial"> <BR>
</FONT></SPAN></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
Asterisk-Users mailing list<BR>
Asterisk-Users@lists.digium.com<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
To UNSUBSCRIBE or update options visit:<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>