Results 1 to 3 of 3

Thread: EMC2 on Ubuntu Studio 8.04.1, kernel 2.6.24-19-rt

  1. #1
    Registered
    Join Date
    Dec 2004
    Location
    usa
    Posts
    229
    Downloads
    0
    Uploads
    0

    EMC2 on Ubuntu Studio 8.04.1, kernel 2.6.24-19-rt

    I have a computer running Ubuntu Studio 8.04.1, kernel 2.6.24-19-rt.
    After doing the emc2 install script downloaded from the linuxcnc.org site, and restarting my computer, I noticed that the kernel 2.6.24-16-rtai was now on my grub boot screen.

    When I tried to run emc2 in my 19-rt kernel, it would not work.
    When I tried to boot Ubuntu Studio into the 16-rtai kernel, the computer got hung up on the splash screen.

    Here is the log when I tried running emc2 in the 19-rt kernel:

    ...........

    Print file information:
    RUN_IN_PLACE=no
    EMC2_DIR=
    EMC2_BIN_DIR=/usr/bin
    EMC2_TCL_DIR=/usr/share/emc/tcl
    EMC2_SCRIPT_DIR=
    EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
    EMC2_CONFIG_DIR=
    EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
    INIVAR=/usr/bin/inivar
    HALCMD=/usr/bin/halcmd
    EMC2_EMCSH=/usr/bin/emcsh
    EMC2_IOSH=/usr/bin/iosh
    EMC2 - 2.2.6
    Machine configuration directory is '/home/dfro/emc2/configs/sim'
    Machine configuration file is 'axis.ini'
    INIFILE=/home/dfro/emc2/configs/sim/axis.ini
    PARAMETER_FILE=sim.var
    EMCMOT=motmod
    EMCIO=io
    TASK=milltask
    HALUI=halui
    DISPLAY=axis
    NML_FILE=emc.nml
    Starting EMC2...
    Starting EMC2 server program: emcsvr
    Loading Real Time OS, RTAPI, and HAL_LIB modules
    Realtime system did not load
    Shutting down and cleaning up EMC2...
    Killing task emcsvr, PID=8364
    Removing HAL_LIB, RTAPI, and Real Time OS modules
    Removing NML shared memory segments
    Cleanup done

    ........

    Debug file information:
    insmod: can't read '/usr/realtime-2.6.24-19-rt/modules/rtai_hal.ko': No such file or directory
    8364
    PID TTY STAT TIME COMMAND
    Stopping realtime threads
    RTAPI: ERROR: could not open shared memory (errno=2)
    HAL: ERROR: rtapi init failed
    halcmd: hal_init() failed: -9
    NOTE: 'rtapi' kernel module must be loaded
    Unloading hal components
    RTAPI: ERROR: could not open shared memory (errno=2)
    HAL: ERROR: rtapi init failed
    halcmd: hal_init() failed: -9
    NOTE: 'rtapi' kernel module must be loaded
    ERROR: Module hal_lib does not exist in /proc/modules
    ERROR: Module rtapi does not exist in /proc/modules
    ERROR: Module rtai_math does not exist in /proc/modules
    ERROR: Module rtai_sem does not exist in /proc/modules
    ERROR: Module rtai_fifos does not exist in /proc/modules
    /usr/bin/emc_module_helper: Invalid usage with args: remove rtai_ksched

    Usage: /usr/bin/emc_module_helper insert /path/to/module.ext [param1=value1 ...]

    where module is one of:
    rtai_math
    rtai_sem
    rtai_shm
    rtai_fifos
    rtai_up
    rtai_lxrt
    rtai_hal
    rtai_sched
    rtai_smi
    rtai
    rt_mem_mgr
    adeos
    rtl_time
    rtl_sched
    rtl_posixio
    rtl_fifo
    rtl
    mbuff

    the path starts with one of:
    /lib/modules
    /usr/realtime

    and the extension is one of:
    .ko

    or the module is in the directory /usr/realtime-2.6.24-16-rtai/modules/emc2

    OR

    /usr/bin/emc_module_helper remove module

    where module is one of the modules listed above.

    ERROR: Module rtai_hal does not exist in /proc/modules

    ............

    Is there a way to get emc2 working in Ubuntu Studio with 19-rt kernel or do I need to have a fresh install running the 16-rtai kernel?

    Thanks,
    dfro


  2. #2
    Registered
    Join Date
    May 2008
    Location
    USA
    Posts
    32
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dfro View Post
    Is there a way to get emc2 working in Ubuntu Studio with 19-rt kernel or do I need to have a fresh install running the 16-rtai kernel?
    dfro
    The fresh install will be the quickest way to get it going. That install could be a separate boot.

    You'd have to sign up but I'd post this to the developers list at sourceforge. That's where you are more likely to get the attention of folk who understand and can offer specific kernel and real-time related help.


  3. #3
    Registered
    Join Date
    Dec 2004
    Location
    usa
    Posts
    229
    Downloads
    0
    Uploads
    0
    You'd have to sign up but I'd post this to the developers list at sourceforge.
    I'll do that.

    Thanks,

    dfro


Similar Threads

  1. HELP!!! Sherline/Ubuntu 6.06/EMC2 - Configuration
    By Telle in forum Benchtop Machines
    Replies: 16
    Last Post: 06-23-2012, 01:58 AM
  2. Any plan for Ubuntu 8.04 + EMC2?
    By david_geng in forum LinuxCNC (formerly EMC2)
    Replies: 22
    Last Post: 05-19-2008, 09:43 PM
  3. TROUBLE W/EMC2 UBUNTU 6.06 DOWNLOAD
    By Gads in forum LinuxCNC (formerly EMC2)
    Replies: 2
    Last Post: 01-22-2008, 09:10 PM
  4. Ubuntu 6.06 & EMC2
    By tenmetalman in forum LinuxCNC (formerly EMC2)
    Replies: 19
    Last Post: 10-11-2006, 10:23 PM
  5. New live Ubuntu 6.06 with EMC2
    By samco in forum LinuxCNC (formerly EMC2)
    Replies: 0
    Last Post: 09-20-2006, 10:32 AM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.