Errors preventing LinuxCNC from starting.

More
9 years 1 month ago - 9 years 1 month ago #98638 by cncjohn
I hope this error log means something to someone. Basically my backup pc is soon going to have a new job as either a plasma machine or a lathe. I dusted it off - went to start it up and encountered a startup issue. I'm fairly sure it used to work a long time back along. Maybe as far back as 3 years. Anyhow here is what it says and I hope someone has solved this before.

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-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.4
Machine configuration directory is '/home/john/linuxcnc/configs/latest-test7-9-17'
Machine configuration file is 'latest-test7-9-17.ini'
INIFILE=/home/john/linuxcnc/configs/latest-test7-9-17/latest-test7-9-17.ini
PARAMETER_FILE=linuxcnc.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
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1792
Killing task milltask, PID=1840
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0xffffffff
Serial number of failed request: 721
Current serial number in output stream: 722
1792
PID TTY STAT TIME COMMAND
1840
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 199.582290] I-pipe: Domain RTAI registered.
[ 199.582303] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 199.582306] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 199.582312] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 199.582314] PIPELINE layers:
[ 199.582317] f8ee4e20 9ac15d93 RTAI 200
[ 199.582320] c085cb20 0 Linux 100
[ 199.605922] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 199.606095] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 199.606099] RTAI[sched]: hard timer type/freq = APIC/12557625(Hz); default timing: periodic; linear timed lists.
[ 199.606103] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2009349000 hz.
[ 199.606106] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 199.606223] RTAI[usi]: enabled.
[ 199.683277] RTAI[math]: loaded.
[ 199.818698] config string '0x378 out '
[ 202.244806] RTAI[math]: unloaded.
[ 202.301472] SCHED releases registered named ALIEN RTGLBH
[ 202.316866] RTAI[malloc]: unloaded.
[ 202.416013] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 202.419537] I-pipe: Domain RTAI unregistered.
[ 202.419547] RTAI[hal]: unmounted.
Last edit: 9 years 1 month ago by cncjohn.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #98695 by andypugh
This looks like an OpenGL problem.
As an experiment, change the [DISPLAY] section to use tklinuxcnc rather than Axis.
The following user(s) said Thank You: cncjohn

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #98836 by cintsa cnc
I am experiencing the same problem. I have tried switching to tklinuxcnc but no change. Can you advise what I need to do to get the resultant error report into print like the one above.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #98867 by cintsa cnc
In the debug section I have noticed a line that says "cant find module hm2_eth in /usr/realtime -3.4-9-rtai- 686 - pae/modules/linuxcnc-0921.

Can this be the problem as it also says
stopping realtime threads
unloading hal components

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #98890 by PCW
Yep that's the problem.

You cannot run hm2_eth under with a RTAI kernel ( it needs a Preempt-RT kernel and the uspace version of LinuxCNC )

The easiest way to do this currently is by installing the new Debian Stretch + LinuxCNC uspace test ISO:

www.linuxcnc.org/testing-stretch-rtpreem...-uspace-amd64-r8.iso
The following user(s) said Thank You: cintsa cnc

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #99076 by cintsa cnc
I loaded the program via a usb stick.
During the install it asked for a suitable MIRROR. I tried just about every country and site mentioned but none allowed the install to proceed. Not sure what a MIRROR is and why it is needed

I then tried running the first option which worked fine and and found all the 7176e features.
Problem is nothing gets saved so the config will have to be run every time unless I get the install to work proprly.
The the Ethernet connection is not being found and is terminated a fter a long search.

Could the Ethernet address be different to what the program is looking for. Please give command line to find Ethernet address

Please Log in or Create an account to join the conversation.

Time to create page: 0.318 seconds
Powered by Kunena Forum