<div dir="ltr">can you insert ec_generic ?<br><br><div class="gmail_quote">On Fri, Mar 8, 2013 at 12:01 AM, Mike O'Connor <span dir="ltr"><<a href="mailto:mike@oeg.com.au" target="_blank">mike@oeg.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Matt<br>
<br>
That's what I though also, but the modules seem ok.<br>
<br>
<br>
root@PITest:~# modinfo iptable_nat<br>
filename:<br>
/lib/modules/3.2.27+/kernel/net/ipv4/netfilter/iptable_nat.ko<br>
alias: ip_nat<br>
license: GPL<br>
srcversion: 3A3DD184C3F85CF4FFF9C46<br>
depends: x_tables,ip_tables,nf_conntrack_ipv4,nf_nat,nf_conntrack<br>
intree: Y<br>
vermagic: 3.2.27+ preempt mod_unload modversions ARMv6<br>
<br>
<br>
root@PITest:~# modinfo ec_master<br>
filename: /lib/modules/3.2.27+/ethercat/master/ec_master.ko<br>
version: devel af21f0bdc7c9<br>
license: GPL<br>
description: EtherCAT master driver module<br>
author: Florian Pose <<a href="mailto:fp@igh-essen.com">fp@igh-essen.com</a>><br>
srcversion: 34E5E37DB8FEB442D2FC537<br>
depends:<br>
vermagic: 3.2.27+ preempt mod_unload modversions ARMv6<br>
parm: main_devices:MAC addresses of main devices (array of charp)<br>
parm: backup_devices:MAC addresses of backup devices (array of<br>
charp)<br>
parm: debug_level:Debug level (uint)<br>
<br>
Mike<br>
<br>
On 8/03/13 1:59 AM, Matthieu Bec wrote:<br>
> Hello Mike,<br>
><br>
> This kind of message may show when your build and runtime versions mismatch.<br>
> Check vermagic from modinfo ec_master against uname -r ?<br>
><br>
> Regards,<br>
> Matthieu<br>
><br>
><br>
> On 3/6/13 9:20 PM, Mike O'Connor wrote:<br>
>> Hi All<br>
>><br>
>> I have a very small program I want to control, which does not need a lot<br>
>> of performance, I was hoping to use a Raspberry PI (wifi for uplink and<br>
>> lan for ethercat)<br>
>><br>
>> I've compiled everything and actual got very few warnings, but the<br>
>> modules will not load.<br>
>><br>
>> root@PITest:/opt/latproc/scripts# modprobe ec_master<br>
>> main_devices=b8:27:eb:f8:43:f2<br>
>> ERROR: could not insert 'ec_master': Exec format error<br>
>> root@PITest:/opt/latproc/scripts#<br>
>><br>
>> I've check that they are in the correct format by running 'file' on them<br>
>> and things like depmod do not complain.<br>
>><br>
>> Building on the PI is hard because the source and headers are not<br>
>> currently packaged so can not be installed via an apt command. And the<br>
>> kernel is 3.2.27 which might also be a problem<br>
>><br>
>> I've tried both 1.5.2 and HEAD from the online code.<br>
>><br>
>> Any ideas on what I should look at next would be great.<br>
>><br>
>> Mike<br>
>><br>
>><br>
>> _______________________________________________<br>
>> etherlab-users mailing list<br>
>> <a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
>> <a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a><br>
>><br>
<br>
_______________________________________________<br>
etherlab-users mailing list<br>
<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><a href="https://sites.google.com/site/ironspeedlinux/" target="_blank">https://sites.google.com/site/ironspeedlinux/</a></div></div>
</div>