Olá Pessoal, eu ja tinha o Ubuntu 8.04 instalado aqui na minha maquina e tentei apensa instalar o emc2 pelo script, mas quado tento roda o emc da o seguinte problema:
EMC2 - 2.2.6
Machine configuration directory is '/home/alexandre/emc2/configs/test01'
Machine configuration file is 'test01.ini'
Starting EMC2...
insmod: can't read '/usr/realtime-2.6.24-19-generic/modules/rtai_hal.ko': No such file or directory
Realtime system did not load
Shutting down and cleaning up EMC2...
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
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
Cleanup done
cp: impossível criar arquivo comum `/home/alexandre/emc_debug.txt': Permissão negada
cp: impossível criar arquivo comum `/home/alexandre/emc_print.txt': Permissão negada
EMC terminated with an error. You can find more information in the log files
/home/alexandre/emc_debug.txt
and
/home/alexandre/emc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
alguem passou por isso?