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