[etherlab-dev] IgH EtherCAT Master for Power PC

Florian Pose fp at igh-essen.com
Thu Nov 8 09:04:00 CET 2007


Hello Henry,

On Wed, Nov 07, 2007 at 03:18:44PM -0800, Henry Bausley wrote:
> I am trying to run ethercat on an AMCC Power PC 440EP embedded computer.
> I am starting with a rt8139 PCI card before attempting to ethercat
> enable the AMCC/IBM PowerPC ethernet driver for the built in Ethernet
> hardware in the CPU.

sounds good!

> I am getting the following error message after cross compiling the
> master driver. insmod: error inserting 'ec_master.ko': -1 Invalid module
> format.
> 
> What causes the module not to load is the declaration of struct kobject
> kobj.  If I comment out the declaration of kobj and the code associated
> with it in ec_init_module I can then load ec_master.ko as well as
> rtl8139too.ko

This is strange. The kobject is used to represent the master in Sysfs.
Could it be, that Sysfs is disabled in your kernel config?

> I hope I am on the correct mailing list, I didn't know if I should use
> the user or developer list.

Yes, you are, since this is a real development question. Don't hesitate,
just because of being the first one using this list... ;-)

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-dev mailing list