<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, &quot;vgrskovic@optonline.net&quot; &lt;vgrskovic@optonline.net&gt; 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, &quot;dmesg&quot; doesn&#8217;t output anything, but even if it did, I am not sure that I could recompile the kernel. &nbsp;<BR>
&nbsp;<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. &nbsp;I do not have access to the &#8220;real&#8221; /boot and don&#8217;t have access as far as I can tell to the .config for the kernel source. (&#8220;make oldconfig&#8221; seems to work)<BR>
&nbsp;<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. &nbsp;Of course, cat /proc/version doesn&#8217;t think so!! &nbsp;It thinks I am running Kernel 2.4.20-021stab022.11.777-enterprise. &nbsp;I am able to use rpmfind to source the corresponding rpm which installs without incident. &nbsp;The interesting part is &#8220;rpm &#8211;qa kernel&#8221; doesn&#8217;t see it </SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Wingdings">L</FONT><FONT FACE="Arial">. &nbsp;I even tried to &#8220;rpm &#8211;rebuilddb&#8221;<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 &#8220;modprobe zaptel&#8221; 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">&agrave;<BR>
</FONT><FONT FACE="Arial">/lib/modules/2.4.20-021stab022.11.777-enterprise/misc/zaptel.o: kernel-module version mismatch<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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">&szlig;</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&#8217;s kernel check or have linux fool it into thinking the kernel is 2.4.21-4.0.1.EL?<BR>
&nbsp;<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>
&nbsp;<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>
&nbsp;<BR>
&gt;Anyone have any ideas on where I can find the right kernel source? &nbsp;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'>&gt; rpmfind.net and google'd with no avail!<BR>
&nbsp;<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 &quot;dmesg&quot; 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 &quot;hardware&quot; 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>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;&nbsp;<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>