[Asterisk-Users] Zaptel module load errors under stock Fedora Core 2 (2.6.8-1.521 kernel )

Sean Kennedy skennedy at tpno.org
Wed Nov 10 19:00:22 MST 2004


Thank you, Adam.  I think I see how to do that ( the kernel Makefile has 
that version information. So either I just change that and recompile 
zap, or I have to recompile the kernel AND zap.  As long as it works, 
I'm happy ).

Question:  I can force the zaptel module to load, but I can't force the 
wcfxo module.  Would this indicate that it's not finding the hardware 
card, or would this module load regardless of the hardware in the machine?

Thank you again.

Sean

Adam Fineberg wrote:

> This appears to be a module version mismatch.  Notice that the kernel 
> is linux-2.6.8-1.521 but the modules are 2.6.8-1.521custom.  This 
> means you need to remake your modules or your kernel to get them to 
> match.  Also, you should try rebuilding the kernel with preemption 
> turned off.   It helps avoid a zaptel crash.
>
> Adam
>
> Sean Kennedy wrote:
>
>> Hi folks, start to finish, this is what I did:
>> cd /usr/src/linux-2.6.8-1.521
>> make prepare-all
>> cd ..
>> wget http://www.asterisk.org/zaptel-1.0.0.tar.gz
>> tar xfsz zaptel-1.0.0.tar.gz
>> cd zaptel-1.0.0
>> less README
>> less README.Linux26 ( see, I really did RTFM  ;) )
>> ln -s /usr/src/linux-2.6.8-1.521 /usr/src/linux-2.6
>> mv /lib/modules/`uname -r`/build /lib/modules/`uname -r`/build.bak ( 
>> There was a preexisting build directory )
>> ln -s /usr/src/linux-2.6.8-1.521 /lib/modules/`uname -r`/build
>> make linux26
>> make install
>> modprobe wcfxo
>>
>> And this is what I get when I try to load the modules:
>> WARNING: Error inserting zaptel 
>> (/lib/modules/2.6.8-1.521/misc/zaptel.ko): Invalid module format
>> WARNING: Error inserting zaptel 
>> (/lib/modules/2.6.8-1.521/misc/zaptel.ko): Invalid module format
>> FATAL: Error inserting wcfxo 
>> (/lib/modules/2.6.8-1.521/misc/wcfxo.ko): Invalid module format
>> FATAL: Error running install command for wcfxo
>>
>> And this shows up in my /var/log/messages:
>> Nov 10 17:25:35 firewall kernel: zaptel: version magic 
>> '2.6.8-1.521custom 686 REGPARM 4KSTACKS gcc-3.3' should be 
>> '2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3'
>> Nov 10 17:26:11 firewall kernel: zaptel: version magic 
>> '2.6.8-1.521custom 686 REGPARM 4KSTACKS gcc-3.3' should be 
>> '2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3'
>> Nov 10 17:26:11 firewall kernel: zaptel: version magic 
>> '2.6.8-1.521custom 686 REGPARM 4KSTACKS gcc-3.3' should be 
>> '2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3'
>> Nov 10 17:26:11 firewall kernel: wcfxo: version magic 
>> '2.6.8-1.521custom 686 REGPARM 4KSTACKS gcc-3.3' should be 
>> '2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3'
>>
>> Me being me, and this being a test machine, I tried `modprobe -f 
>> wcfxo`, and this is what I got:
>> FATAL: Error inserting wcfxo 
>> (/lib/modules/2.6.8-1.521/misc/wcfxo.ko): Invalid module format
>> FATAL: Error running install command for wcfxo
>>
>> Now, as to what I am trying to do:  I have a generic intel 537 card 
>> that I was hoping to use as a generic fxo(?).  It works on Suse 9.1, 
>> but I am running into problems on this fc2 box.  I imagine if I can 
>> just get the zaptel module to load without any brute force, I'd be ok.
>> Any help that can be offered I greatly apprecaite.
>>
>> Sean Kennedy
>



More information about the asterisk-users mailing list