On 06/15/2013 04:52 PM, Tom Easterday wrote:
I have an Atom 2800 motherboard system running 10.04 and 2.5.2 freshly
downloaded and installed from the LiveCD. I have a simple configuration
generated by Stepconf Wizard and only minor tweaks to make estop work. This
problem also happens when I try the sim/axis and sim/tklinuxcnc configs.
Sometimes Linuxcnc comes up and runs fine, but about every second or third time
I launch it, I get this error: http://pastebin.com/LSJGvCJX ([EMC]DEBUG =
0x7FFFFFFF). If I just dismiss the error and launch again it comes up fine.
I tried this on identical hardware set up that I dd'd this build and
configuration to and it happens there as well.
Weird!
The first thing that comes to mind is a startup race condition.
Can you build linuxcnc from git on this machine? If so try the attached
patch (against the current head of v2.5_branch) and pastebin the output
from a successful and failed launch. If not, let me know and i'll build
a deb for you.
--
Sebastian Kuzminsky
diff --git a/scripts/linuxcnc.in b/scripts/linuxcnc.in
index fb15a38..3da16f3 100644
--- a/scripts/linuxcnc.in
+++ b/scripts/linuxcnc.in
@@ -584,7 +584,9 @@ if ! program_available $EMCSERVER; then
fi
export INI_FILE_NAME="$INIFILE"
$EMCSERVER -ini "$INIFILE" &
+ipcs
sleep 1
+ipcs
# 4.3.2. Start REALTIME
echo "Loading Real Time OS, RTAPI, and HAL_LIB modules" >>$PRINT_FILE
diff --git a/src/emc/task/emcsvr.cc b/src/emc/task/emcsvr.cc
index 0f2f732..fb03e4e 100644
--- a/src/emc/task/emcsvr.cc
+++ b/src/emc/task/emcsvr.cc
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
// get configuration information
iniLoad(EMC_INIFILE);
- set_rcs_print_destination(RCS_PRINT_TO_NULL);
+ set_rcs_print_destination(RCS_PRINT_TO_STDERR);
rcs_print("after iniLoad()\n");
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users