ubuntu下编译igb ethercat驱动时报错ec_master not found的解决

在ubuntu下编译igb ethercat 时,按照文档install的顺序安装完了之后,在执行 sudo /etc/init.d/ethercat start后,提示错误

Faital:ec_master not found

failed

这个原因是/etc/init.d/ethercat该shell脚本是通过modprobe来插入ec_master模块的,他的搜索路径是/lib/modules/uname -r/~

产生该问题的原因是跑在3.4.69的内核下,去运行该指令,而安装时是将ec_master.ko安装到了/lib/modules/3.4.9~下面了,因此该模块坑定是找不到了。

解决方法,在grub启动时,进入3.4.9内核,重新make install重新安装下,不要忘记执行depmod。

猜你喜欢

转载自blog.csdn.net/cscheng7907/article/details/88964357