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 crashed after I picked a 
simulation setting and pressing the 'OK' button.
When I tried to boot Ubuntu Studio into the 16-rtai kernel, the computer 
got hung up on the splash screen and would not boot.

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 on a 
different hard drive or partition?

Ubuntu Studio is a distro that is designed to optimize and integrate 
audio, video, graphics, and publishing software into one package. Its 
realtime kernel is necessary for the audio software to work, like jack 
and ardour.  Any thoughts of adding emc2 to the Ubuntu Studio package?

Adding emc2 to the Ubuntu Studio creation suite would be an appropriate 
addition, I think.

Thanks,
dfro

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to