[etherlab-users] Etherlab Master on a Raspberry PI

Matthieu Bec mbec at gmto.org
Thu Mar 7 16:29:54 CET 2013


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 at 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 at 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
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
> 



More information about the Etherlab-users mailing list