[Angstrom-devel] Modversion Problem

2011-10-21 Thread Önder Kalacı
Hi, first of all, I look almost all previous threads but I have not
seen any posts related to this, if I missed some sorry, in advance.
Hi, I have a running tam3517 2.6.32 #238 Fri Jan 28 14:34:15 UTC 2011
armv7l unknown machine.
I need to use cdc-acm.ko, so I try to use
http://narcissus.angstrom-distribution.org/ to create a whole image
and then copy the cdc-acm to my working system.
When I use narcissus to to this, I have the following problem. When I
try to insmod cdc-acm.ko, there is a format error and  in the dmesg I
see : cdc_acm: version magic '2.6.32 mod_unload modversions ARMv7 '
should be '2.6.32 mod_unload ARMv7 ' . What is this modversions, how
can I create my kernel modules without that label? Thanks

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] Modversion Problem

2011-10-21 Thread Koen Kooi

Op 21 okt. 2011, om 13:12 heeft Önder Kalacı het volgende geschreven:

 Hi, first of all, I look almost all previous threads but I have not
 seen any posts related to this, if I missed some sorry, in advance.
 Hi, I have a running tam3517 2.6.32 #238 Fri Jan 28 14:34:15 UTC 2011
 armv7l unknown machine.
 I need to use cdc-acm.ko, so I try to use
 http://narcissus.angstrom-distribution.org/ to create a whole image
 and then copy the cdc-acm to my working system.
 When I use narcissus to to this, I have the following problem. When I
 try to insmod cdc-acm.ko, there is a format error and  in the dmesg I
 see : cdc_acm: version magic '2.6.32 mod_unload modversions ARMv7 '
 should be '2.6.32 mod_unload ARMv7 ' . What is this modversions, how
 can I create my kernel modules without that label? Thanks

You need to rebuild your kernel, not try to change the labels, those are there 
for a reason :) The labels ensure your kernel and modules match.

regards,

Koen
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] Modversion Problem

2011-10-21 Thread Önder Kalacı
In fact, that is what I could not understand
cdc_acm: version magic '2.6.32 mod_unload modversions ARMv7 ' should
be '2.6.32 mod_unload ARMv7'
Does not this say that both kernels are 2.6.32? Aren't both the
working on the machine and the kernel module compiled on 2.6.32?
Thanks

2011/10/21 Koen Kooi k...@dominion.thruhere.net:

 Op 21 okt. 2011, om 13:12 heeft Önder Kalacı het volgende geschreven:

 Hi, first of all, I look almost all previous threads but I have not
 seen any posts related to this, if I missed some sorry, in advance.
 Hi, I have a running tam3517 2.6.32 #238 Fri Jan 28 14:34:15 UTC 2011
 armv7l unknown machine.
 I need to use cdc-acm.ko, so I try to use
 http://narcissus.angstrom-distribution.org/ to create a whole image
 and then copy the cdc-acm to my working system.
 When I use narcissus to to this, I have the following problem. When I
 try to insmod cdc-acm.ko, there is a format error and  in the dmesg I
 see : cdc_acm: version magic '2.6.32 mod_unload modversions ARMv7 '
 should be '2.6.32 mod_unload ARMv7 ' . What is this modversions, how
 can I create my kernel modules without that label? Thanks

 You need to rebuild your kernel, not try to change the labels, those are 
 there for a reason :) The labels ensure your kernel and modules match.

 regards,

 Koen
 ___
 Angstrom-distro-devel mailing list
 Angstrom-distro-devel@linuxtogo.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel