-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Fabio A. Mazzarino wrote:
>  Hello again:
> 
>  I'm having some problems when compiling new modules.
> 
>  I got the pre-compiled uml through Debian repository. uname follows:
> guest # uname -a
> Linux neo 2.6.18 #2 Wed Oct 4 19:34:37 CEST 2006 i686 GNU/Linux
> 
> And I need ip_tables module working. So I've downloaded 2.6.18 kernel 
> into the guest server and:
> 
> guest # make menuconfig ; make modules ; make modules_install ; depmod -a
> 
> So I can use ip_tables module. But when I try to modeprobe:
> 
> guest # modprobe ip_tables
> x_tables: version magic '2.6.18 mod_unload 686 gcc-4.1' should be 
> '2.6.18 mod_unload gcc-4.1'
> WARNING: Error inserting x_tables 
> (/lib/modules/2.6.18/kernel/net/netfilter/x_tables.ko): Invalid module 
> format
> ip_tables: version magic '2.6.18 mod_unload 686 gcc-4.1' should be 
> '2.6.18 mod_unload gcc-4.1'
> FATAL: Error inserting ip_tables 
> (/lib/modules/2.6.18/kernel/net/ipv4/netfilter/ip_tables.ko): Invalid 
> module format
> 
> The version magic is cleary wrong. Note that the only thing different is 
> the 686 that I can't find a way to get rid of.
Looks like the kernel build uses some information from the host to
create the version magic string.
I haven't got any x86 box with modules on to check but the amd64
examples I have would seem to indicate that it is the module's magic
that is wrong.

>  Does anybody knows how to remove that 686, or even better, how to fix 
> these modules?
I think you are right: getting rid of the 686 should do it.
I had a quick look at the Makefiles but I couldn't figure it out.
(grepped for KERNELRELEASE and KERNELVERSION in makefiles)

Antoine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGKI0fGK2zHPGK1rsRCiEOAJ0TjZh/K08PGuzb6mxyJ6dtCk/KFACfWUnL
y9q9EZqv/HmLg+nFQ/mU36Q=
=vhXa
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to