[Asterisk-Users] Zaptel issues

Mike Hammett asterisk-users at ics-il.net
Mon Jan 23 15:18:56 MST 2006


[root at OpenVZ ~]# which modprobe
/sbin/modprobe
[root at OpenVZ ~]# modprobe --version
module-init-tools version 3.1-pre5
[root at OpenVZ ~]# dmesg | tail
zaptel: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
zaptel: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
zaptel: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
ztdummy: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
zaptel: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
zaptel: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
ztdummy: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
zaptel: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
zaptel: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'
ztdummy: version magic '2.6.8-022stab061.1 686 4KSTACKS gcc-3.4' should be 
'2.6.8-022stab061.1 686 4KSTACKS gcc-3.3'


It looks like my gcc versions are different from the one that made the 
kernel and the one that made the zaptel stuff.

So then of the zt lines, do I only need:

install ztdummy /sbin/modprobe --ignore-install ztdummy && /sbin/ztcfg



----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


----- Original Message ----- 
From: <asterisk-users-request at lists.digium.com>
To: <asterisk-users at lists.digium.com>
Sent: Friday, January 13, 2006 4:49 AM
Subject: Asterisk-Users Digest, Vol 18, Issue 82


> ------------------------------
>
> Message: 12
> Date: Fri, 13 Jan 2006 11:52:20 +0200
> From: Tzafrir Cohen <tzafrir at cohens.org.il>
> Subject: Re: [Asterisk-Users] Zaptel issues
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> Message-ID: <20060113095220.GB4729 at gadot.org.il>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Jan 12, 2006 at 09:39:18AM -0600, Mike Hammett wrote:
>> On a side note:  When poking around, I noticed in the zaptel Makefile 
>> that there is a section talking about ztdummy automatically being 
>> included on 2.6 kernels.  Is this correct?
>>
>> On to the main topic:  Any ideas for troubleshooting this?
>>
>> [root at OpenVZ zaptel-1.2.1]# /etc/rc.d/init.d/zaptel start
>> Loading zaptel framework:  FATAL: Error inserting zaptel 
>> (/lib/modules/2.6.8-022stab050.1/extra/zaptel.ko): Invalid module format
>>                                                            [FAILED]
>> Waiting for zap to come online...Error: missing /dev/zap!
>>
>>
>> [root at OpenVZ libpri-1.2.1]# modprobe ztdummy
>> WARNING: Error inserting zaptel 
>> (/lib/modules/2.6.8-022stab050.1/extra/zaptel.ko): Invalid module format
>> WARNING: Error inserting zaptel 
>> (/lib/modules/2.6.8-022stab050.1/extra/zaptel.ko): Invalid module format
>> FATAL: Error inserting ztdummy 
>> (/lib/modules/2.6.8-022stab050.1/extra/ztdummy.ko): Invalid module format
>> FATAL: Error running install command for ztdummy
>
> Could you please provide the output of following:
>
>  which modprobe
>  modprobe --version
>
> To make things simpler, do away with the stuff that the zaptel install
> puts in /etc/modprobe.d/zaptel (or /etc/modprobe.conf ).
>
> (ztdummy needs no ztcfg run after it)
>
> Also, please provide the latest relevant kernel log messages:
>
>  dmesg | tail
>
> -- 
> Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
> http://tzafrir.org.il |                           | a Mutt's
> tzafrir at cohens.org.il |                           |  best
> ICQ# 16849755         |                           | friend
>
>




More information about the asterisk-users mailing list