Linux Mint with RTAI

More
10 years 11 months ago #65541 by jtc
Replied by jtc on topic Linux Mint with RTAI
Tested in a virtual machine, after following the tutorial and when try to run a sim configuration I got the same error:

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.5 LINUXCNC - 2.7.2-26-gdbf34f6 Machine configuration directory is '/home/jtc/linuxcnc/configs/sim.axis' Machine configuration file is 'axis_9axis.ini' INIFILE=/home/jtc/linuxcnc/configs/sim.axis/axis_9axis.ini PARAMETER_FILE=sim-9axis.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_sim9.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(lib): /usr/share/linuxcnc/hallib/locking_indexer.hal Starting TASK program: milltask Starting DISPLAY program: axis Unexpected realtime delay: check dmesg for details. Shutting down and cleaning up LinuxCNC... Killing task linuxcncsvr, PID=2889 Killing task milltask, PID=2956 task: 513 cycles, min=0.000018, max=0.008041, avg=0.002026, 0 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: . . Traceback (most recent call last): File "/usr/bin/axis", line 3133, in <module> o = MyOpengl(widgets.preview_frame, width=400, height=300, double=1, depth=1) File "/usr/bin/axis", line 352, in __init__ Opengl.__init__(self, *args, **kw) File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 164, in __init__ apply(RawOpengl.__init__, (self, master, cnf), kw) File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 112, in __init__ Togl.__init__(self, master, cnf, **kw) File "/usr/lib/pymodules/python2.7/rs274/OpenGLTk.py", line 38, in __init__ Widget.__init__(self, master, 'togl', cnf, kw) File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 2058, in __init__ (widgetName, self._w) + extra + self._options(cnf)) _tkinter.TclError: NULL main window 2889 PID TTY STAT TIME COMMAND 2956 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components

Please Log in to join the conversation.

More
10 years 11 months ago #65542 by tjmarch

Please Log in to join the conversation.

More
10 years 11 months ago #65543 by BigJohnT
Replied by BigJohnT on topic Linux Mint with RTAI
It will run any GUI except Axis... I think it is a tkinter issue.

JT

Please Log in to join the conversation.

More
10 years 11 months ago #65548 by Roguish
Replied by Roguish on topic Linux Mint with RTAI
tjmarch. thanks.
my errors (once I get into Mint) are the same as JT's.

i did not modify any boot/grub parameters. I have looked at them, but made no changes.

the error in booting is the main problem I would like to solve first.

I may try your method, though.

Please Log in to join the conversation.

More
10 years 11 months ago #65580 by tommylight
Replied by tommylight on topic Linux Mint with RTAI
used the SySsetup.sh last night and it installed a lot of things ( did not follow what since i was watching NCIS ), after it finished (with some errors) just opened synaptic and added the 2.7rt repo, updated, installed Linuxcnc and dev and docs without a hitch ( the actual rt kernel was installed by this, not by the script i think), did a reboot chose the rt version and it started perfectly and ...............no luck with Axis, gmoccapy works like a charm.
This was on a mint 17.2 rafaella.
Regards,
Tom
P.S.
this is an actual install on a 32GB usb stick, not just a bootable usb.

Please Log in to join the conversation.

More
10 years 11 months ago #65584 by tjmarch
Replied by tjmarch on topic Linux Mint with RTAI
tommylight

If you want it to work follow the directions in readme file download from here

forum.linuxcnc.org/forum/18-computer/299...mint-with-rtai#65402

Tim

Please Log in to join the conversation.

More
10 years 11 months ago #65586 by jtc
Replied by jtc on topic Linux Mint with RTAI

tjmarch wrote: jtc
Try this method

forum.linuxcnc.org/forum/18-computer/299...i?limitstart=0#65402

Tim March


very well documented "Readme". I will.

Please Log in to join the conversation.

More
10 years 11 months ago #65622 by BigJohnT
Replied by BigJohnT on topic Linux Mint with RTAI
Ok, I finally understand more about what I don't know about it.

Do a git checkout of your favorite branch.
Build a RIP.
Run Axis.

Now to figure out how to build a deb from the rip.

JT

Please Log in to join the conversation.

More
10 years 11 months ago #65633 by BigJohnT
Replied by BigJohnT on topic Linux Mint with RTAI
Ok I have the rtai kernel and LinuxCNC 2.7 installed and everyone is happy. I've attached my notes.

JT

Please Log in to join the conversation.

More
10 years 11 months ago #65672 by jtc
Replied by jtc on topic Linux Mint with RTAI
just installed a new RIP version ans compiled it.

looks like everything is running ok.


My next step is try to install a Preempt-RT kernel (if exists? ), compile again and see if works.

If everything is ok, I will install it in a real machine a use with mesa Ethernet cards. (and try to forget Debian wheezy :whistle: )


João

Please Log in to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum