execv(clasicladder): No such file or directory

More
10 years 3 months ago #77674 by schmidtmotorworks
I am working through upgrading to Linux Mint.

I have already made some progress and fixed some issues including:

1. Copy the Mesa files to lib directory
2. Comment out lines that include "pet_watchdog"
3. Comment out lines that include "probe_parport "

Now I am stuck on a debug message with two issues:
Code:
Debug file information: . ./hm2-servoss.hal:95: execv(clasicladder): No such file or directory ./hm2-servoss.hal:109: Pin 'hm2_5i23.0.7i64.0.1.digout.00.out' does not exist

In regards to Classic ladder issue:
I checked the config folder and the classic ladder file is there (just like it was in the Linux version I used before mint).
I wonder if there is something I need to change.


In regards to pin not existing; this is the line in the hal file, I wonder is something different about "net machine-on"

net machine-on => hm2_5i23.0.7i64.0.1.digout.00.out

If anyone has any ideas of a next step to try, I am all ears.

Note: If I put the old drive with the old Linux and EMC version in, everything still works OK.

Best Regards

SMW

Please Log in to join the conversation.

More
10 years 3 months ago #77676 by cmorley
line 95 .... classicladder is spelled wrong... two s in classic

I wonder if the 7i64 pin name has changed? between versions.
That or the field power for the 5i23 is not connected right -
I believe field power is necessary for the smart serial boards to be found.

Chris M

Please Log in to join the conversation.

More
10 years 3 months ago #77678 by cmorley
there was a 7i64 pin name change from 2.5 to 2.6....
wiki.linuxcnc.org/cgi-bin/wiki.pl?Updati...rDevelopmentVersions

maybe that is the problem?

Chris M

Please Log in to join the conversation.

More
10 years 3 months ago #77679 by schmidtmotorworks
That looks promising, I will try it first thing tomorrow!

Any ideas on the classic ladder?

Please Log in to join the conversation.

More
10 years 3 months ago #77736 by schmidtmotorworks
I am wondering if perhaps the problem could be that one of the empty variables below needs to be filled.
I don't know how to fill them to test that though.
Is there a file to put those variable settings in somewhere?


Code:
Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.7.4

Please Log in to join the conversation.

More
10 years 3 months ago #77740 by BigJohnT
Does the classicladder sim run for you?

JT

Please Log in to join the conversation.

More
10 years 3 months ago #77747 by schmidtmotorworks
Hi John,

I am looking in the sim folders but do not see one named "classicladder"

This is what I get when I try to run sim axis
Code:
UN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.7.4 Machine configuration directory is '/home/emc/linuxcnc/configs/sim.axis' Machine configuration file is 'axis.ini' INIFILE=/home/emc/linuxcnc/configs/sim.axis/axis.ini PARAMETER_FILE=sim.var TASK=milltask HALUI=halui DISPLAY=axis Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Starting HAL User Interface program: halui Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal 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(REL): ./check_constraints.hal Starting TASK program: milltask Starting DISPLAY program: axis task: main loop took 0.014453 seconds task: main loop took 0.014458 seconds Shutting down and cleaning up LinuxCNC... Killing task linuxcncsvr, PID=7986 Killing task milltask, PID=8050 task: 1073 cycles, min=0.000061, max=0.014458, avg=0.002015, 2 latency excursions (> 10x expected cycle time of 0.001000s) Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: . intel_do_flush_locked failed: Input/output error 7986 PID TTY STAT TIME COMMAND 8050 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components

Please Log in to join the conversation.

More
10 years 3 months ago #77749 by cmorley

schmidtmotorworks wrote: That looks promising, I will try it first thing tomorrow!

Any ideas on the classic ladder?


Did you fix the miss spelled word in the HAL file yet?

Chris M

Please Log in to join the conversation.

More
10 years 3 months ago #77750 by schmidtmotorworks
Yes I just finished that (there were about 100 of them), thanks a lot, that is great progress.

Now i have these two issues:
Code:
Debug file information: . ./hm2-servoss.hal:95: execv(clasicladder): No such file or directory intel_do_flush_locked failed: Input/output error 14502 PID TTY STAT TIME COMMAND 14558 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components

Since I just got the other typing fixed I have not looked into it yet.
Now I will start to look for info on this problem.

So far I can't find anything useful about the classic ladder message.

Please Log in to join the conversation.

More
10 years 3 months ago #77751 by PCW
Also

intel_do_flush_locked failed: Input/output error


Seems to be a graphic driver bug which can be worked around
sometimes by disabling OpenGL hardware acceleration:

wiki.linuxcnc.org/cgi-bin/wiki.pl?Troubl...oftware_based_OpenGL

Please Log in to join the conversation.

Time to create page: 0.245 seconds
Powered by Kunena Forum