install linuxmint 17.2 or Ubuntu 14.04.3 any flavor 64 bit, I tested on Linuxmint xfce and Xubuntu for mint click on the shield in the lower right corner and update everything for Ubuntu first time you boot it will want to update do it IMPORTANT NOTE DO NOT UPGRADE YOUR SYSTEM JUST UPDATES FOR NOW AND FUTURE # copy setupRt.sh to your home directory # in a terminal chmod +x setupRt.sh sudo ./setupRt.sh # While script runs it will come to a point and hangs for a bit all is well just wait # Message in terminal will be: Error! Bad return status for module build on kernel: 3.2.0-0.bpo.4-rt-amd64 (x86_64) Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information. Near end of script Grub Customizer will open Deciding on a default boot kernel Now click the "General Setting" tab Click on choice box to the right of predefined In drop down menu choose 3.2.0-0.bpo.4-rt-amd64 for default system boot Making sure you do not choose (recovery mode) option for your kernel Suggested settings for dual core Intel processor; in the box for Kernel Parameters enter: quiet splash lapic noxsave -original paramters- intel_idle.max_cstate=0 processor.max_cstate=0 isolcpus=1 acpi_irq_nobalance noirqbalance Now click Save, make sure to wait until save has finished. You want to be able to boot into 3.2.0-0.bpo.4-rt-amd64 kernel without having to choose and/or to avoid the use of Advanced option for every start-up When you close Grub Customizer your computer will reboot then re-open this file and continue # in a terminal uname -r # should print out: 3.2.0-0.bpo.4-rt-amd64 this is the Rt-preempt kernel all is well so far. ---------------------------------------------------------------------------------------------- # Do this procedure at the following link: https://forum.linuxcnc.org/forum/18-computer/25927-reducing-latency-on-multicore-pc-s-success?limitstart=0#27492 # TO improve latency for Intel processoer spikes cd ~ git clone git://git.kiszka.org/smictrl.git && cd smictrl git clone git://github.com/zultron/smictrl-deb.git debian sudo apt-get install libpci-dev fakeroot dpkg-buildpackage -uc -us sudo dpkg -i ../smictrl_*.deb # To find out the details about your Intel chipset sudo smictrl # To make smictrl load at every boot sudo gedit /etc/rc.local # Edit add the following before the line exit 0 smictrl -s 0 # save sudo reboot ---------------------------------------------------------------------------- # Now clone Linuxcnc, in a terminal git clone git://git.linuxcnc.org/git/linuxcnc.git emc cd emc # To list all the branches in your local repository git branch -r # To set focus to 2.7 for build (for other than Master 2.8) if this is not done you will build 2.8 git checkout -b 2.7 origin/2.7 # To build deb's for 2.7 this will take a while: debian/configure uspace ; debuild -d -uc -us > configure.txt # Install the deb's with gdebi any missing dependencies will also be installed from internet: cd .. sudo gdebi -n linuxcnc-uspace_2.7.3_amd64.deb sudo gdebi -n linuxcnc-doc-en_2.7.3_all.deb # NOTE DEB FILES WILL ONLY WORK FOR OS AND FLAVOR THEY WERE MADE ON # DEPENDANCICES SCRIPT FILE INSTALLS STILL HAVE TO BE INSTALLED FIRST # Menu items for linuxcnc are in Start Menu-->CNC # You now have the newest stable build of linuxcnc 2.7.3 Run latency-test for about a hour and open in terminal glxgears and play some music and move some large files around on harddrive Doing so while running latenc-test is a good test # the clone of git, directory emc can now be deleted if desired # helpful links http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RealTime