Hi Grotius,
the thing is I tried the install using your .iso, so I should have the same kernel than you, should not I? Can you return me the uname -a results from your working installation? I did do a dist upgrade so maybe it is why it is failing. I will retry without the dist upgrade to see if it makes any differences.
There is also the fact that I want to run the latest linuxcnc 2.8, so dev version and your indicated build method for run in place only shows 2.7. That is why I am building the .deb packages for linuxcnc then installing it with dpkg -i. This might be where something wrong I do happens because you indicate to copy the lcec.so from the linuxcnc-ethercat to the directory of the linuxcnc installation. But when I build my debian package, the copy has not been done yet, so I am wondering if the built package are not missing this lcec.so. So might worth trying a linuxcnc RIP installation, then installing ec-debianize then linuxcnc-ethercat, then do the appropriate copy of the lcec.so on the linux installation directory then build the debian package then do a dpkg -i installation of linuxcnc. I am working on this option first.
Edit: this first option failled and I still obtain the same error message:
lcec: dlopen: /usr/lib/linuxcnc/modules/lcec.so: undefined symbol: rtapi_mutex_get
./postgui.hal:2: waitpid failed /usr/bin/rtapi_app lcec
./postgui.hal:2: /usr/bin/rtapi_app exited without becoming ready
./postgui.hal:2: insmod for lcec failed, returned -1
I am also currently trying the RTAI kernel method suggested, but I am afraid it might fail too as I believe the support for
rtai builds was dropped in latest versions of ec-debianize according to
github.com/sittner/ec-debianize
.
Does this RTAI kernel would actually support ec-debianize?
Nicolas
PS:
Added 10/01/2019 : to solver the long time booting the file to look at for me is :
Lib/systemd/system/networking.service => edit file => line 21 => "1sec"
NB: As I am using the dpkg -i installation of linuxcnc the copy of the lcec.so must be done before the creation of debian package with dpkg-buildpackage -b -uc otherwise you get an error:
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/plotter/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Note: Using POSIX realtime
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(lib): /usr/share/linuxcnc/hallib/check_xyz_constraints.hal
Found file(REL): ./postgui.hal
lcec: dlopen: /usr/lib/linuxcnc/modules/lcec.so: cannot open shared object file: No such file or directoryl
./postgui.hal:2: waitpid failed /usr/bin/rtapi_app lcec
./postgui.hal:2: /usr/bin/rtapi_app exited without becoming ready
./postgui.hal:2: insmod for lcec failed, returned -1
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/plotter/linuxcnc_debug.txt
and
/home/plotter/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
If you forgot to do the copy then you can still manually do a
sudo cp linuxcnc-ethercat/src/lcec.so /usr/lib/linuxcnc/modules/ otherwise do a cp linuxcnc-ethercat/src/lcec.so linuxcnc-dev/rtlib/ then rebuild the package and reinstall them.