[Etherlab-users] "Master0 dead" and unable to check fro masters/slaves
Henrik Barie
henrik.barie at ei.thm.de
Tue Sep 20 13:32:46 CEST 2022
Hello Andreas,
I installed DKMS for Ubuntu 22.04 with
"sudo apt-get update" and "sudo apt-get -y install dkms".
I can now find several dkms directorys and files.
After I rebooted the system I tried to start ethercat-master with "sudo
systemctl start ethercat", but I got an errormessage:
Job for ethercat.service failed because the control process exited with
error code.
See "systemctl status ethercat.service" and "journalctl -xeu
ethercat.service" for details.
"journalctl -xeu ethercat.service" gave out this:
Sep 20 12:34:15 ec-Lenovo-V15-G2-ITL ethercatctl[5838]: modprobe: ERROR:
could not insert 'ec_master': Unknown symbol in mod>
Sep 20 12:34:15 ec-Lenovo-V15-G2-ITL systemd[1]: ethercat.service: Main
process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ethercat.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Sep 20 12:34:15 ec-Lenovo-V15-G2-ITL systemd[1]: ethercat.service:
Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ethercat.service has entered the 'failed' state with result
'exit-code'.
Sep 20 12:34:15 ec-Lenovo-V15-G2-ITL systemd[1]: Failed to start
EtherCAT Master Kernel Modules.
░░ Subject: A start job for unit ethercat.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ethercat.service has finished with a failure.
░░
░░ The job identifier is 2704 and the job result is failed.
and status showed this:
× ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/lib/systemd/system/ethercat.service; disabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-09-20 12:29:47
CEST; 12s ago
Process: 4970 ExecStart=/usr/local/share/etherlab/sbin/ethercatctl
start (code=exited, status=1/FAILURE)
Main PID: 4970 (code=exited, status=1/FAILURE)
CPU: 4ms
Sep 20 12:29:47 ec-Lenovo-V15-G2-ITL systemd[1]: Starting EtherCAT
Master Kernel Modules...
Sep 20 12:29:47 ec-Lenovo-V15-G2-ITL ethercatctl[4977]: modprobe: ERROR:
could not insert 'ec_master': Unknown symbol in module, or unknown>
Sep 20 12:29:47 ec-Lenovo-V15-G2-ITL systemd[1]: ethercat.service: Main
process exited, code=exited, status=1/FAILURE
Sep 20 12:29:47 ec-Lenovo-V15-G2-ITL systemd[1]: ethercat.service:
Failed with result 'exit-code'.
Sep 20 12:29:47 ec-Lenovo-V15-G2-ITL systemd[1]: Failed to start
EtherCAT Master Kernel Modules.
~
I checked if the ethercat.conf file in /etc is not modified but it is,
and all other ethercat -files that could be modifed are modified too.
I dont know why it wont start anymore now.
I deleted the old files EtherCAT and PDServ at /home/user, but that was
after the error occurred.
"please do not use the local path, they are the rest of your manual
installation"
How can I be sure im not using the /local- Path?
I didnt know how to generate the code for my Simulink Model so I had to
search it. I found out that my Matlab 2014b with Student Licence is
missing the "Code Generation"-Tab in the Configuration Parameters of the
model and that if you are using a Student version liense, MATLAB Coder
and Simulink Coder can only be running MATLAB R2016a or later.
Is there any other way to generate the code for the model besides
installing a later Matlab-Version?
Regards
Henrik
More information about the Etherlab-users
mailing list