[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 18:31:18 MST 2004


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