Closed janbbeck closed 3 years ago
When running the ethercat install script in a terminal, it persisted long enough to grab some information. This may be relevant:
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
where "systemctl status systemd-modules-load.service"
yields
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-02-15 20:13:50 EST; 1min 47s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 32678 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 32678 (code=exited, status=1/FAILURE)
and journalctl -xe
yields
--
-- The job identifier is 1810.
Feb 15 20:13:50 debian kernel: EtherCAT: Master driver 1.5.2 unknown
Feb 15 20:13:50 debian kernel: EtherCAT ERROR: MAC address may not be empty.
Feb 15 20:13:50 debian systemd-modules-load[32678]: Failed to insert module 'ec_master': Invalid argument
Feb 15 20:13:50 debian kernel: EtherCAT: Master driver 1.5.2 unknown
Feb 15 20:13:50 debian kernel: EtherCAT ERROR: MAC address may not be empty.
Feb 15 20:13:50 debian systemd-modules-load[32678]: Failed to insert module 'ec_generic': Invalid argument
Feb 15 20:13:50 debian systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FA
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit systemd-modules-load.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Feb 15 20:13:50 debian systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit systemd-modules-load.service has entered the 'failed' state with result 'exit-code'.
Feb 15 20:13:50 debian systemd[1]: Failed to start Load Kernel Modules.
-- Subject: A start job for unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit systemd-modules-load.service has finished with a failure.
--
-- The job identifier is 1810 and the job result is failed.
Feb 15 20:13:50 debian sudo[16920]: pam_unix(sudo:session): session closed for user root
Feb 15 20:15:15 debian kernel: perf: interrupt took too long (3925 > 3923), lowering kernel.perf_event_max_sam
Feb 15 20:15:48 debian rtkit-daemon[879]: Supervising 4 threads of 2 processes of 1 users.
Feb 15 20:15:48 debian rtkit-daemon[879]: Supervising 4 threads of 2 processes of 1 users.
Feb 15 20:16:16 debian sudo[32729]: jan : TTY=pts/0 ; PWD=/usr/share/ethercat/install_script ; USER=root
Feb 15 20:16:16 debian sudo[32729]: pam_unix(sudo:session): session opened for user root by (uid=0)
lines 3148-3183/3183 (END)
I managed to solve this error by:
sudo nano /etc/default/ethercat
and manually enter the MAC address of the ethernet card of the computer at the very end of the file. For some reason this was apparently not detected. Then rerun the configuration by
sudo update-ethernet-config
After a reboot, linuxCNC starts.
Hope this helps someone.
I just installed from the ISO, and then executed the Ethercat_installer.
Then, when running LinuxCNC, I get a crash report:
not sure where to go from here. The EK1100 Network lights did blink a bit while running the Ethercat_installer, FWIW