Autor Tópico: Problemas ao instalar o EMC2 no Ubuntu 8.04  (Lida 2896 vezes)

Description:

0 Membros e 1 Visitante estão vendo este tópico.

asv

  • Visitante
Problemas ao instalar o EMC2 no Ubuntu 8.04
« Online: 17 de Agosto de 2008, 12:59 »
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?

Offline C N C N o w !

  • CNCMASTER
  • ******
  • Posts: 6300
  • Sexo: Masculino
Re: Problemas ao instalar o EMC2 no Ubuntu 8.04
« Resposta #1 Online: 17 de Agosto de 2008, 14:12 »
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

Isto significa que o kernel com o módulo de tempo real não foi carregado ... a máquina pode ter sido inicializada com o kernel original ou o kernel adequado para tarefas em tempo real pode não ter sido instalado ... Verifique nas opções de boot se lá está o kernel magma ...

Outro possível prob é tentar rodar o EMC2 como usuário sem privilégios de administrador, tente rodar a partir do terminal, como root ...
« Última modificação: 17 de Agosto de 2008, 14:13 por C N C N o w ! »

Offline Alebe

  • CNCMASTER
  • ******
  • Posts: 3688
  • Sexo: Masculino
  • Cidade - UF: São Paulo - SP
Re: Problemas ao instalar o EMC2 no Ubuntu 8.04
« Resposta #2 Online: 17 de Agosto de 2008, 15:09 »

Definitivamente o kernel RealTime não está instalado.
 
É possível instalar mas dá muito mais trabalho do que baixar a versão com o emc já pré-instalado.

asv

  • Visitante
Re: Problemas ao instalar o EMC2 no Ubuntu 8.04
« Resposta #3 Online: 17 de Agosto de 2008, 22:19 »
Jorge voce tinha razão, eu estava usando o kernel original, por isso não funcionava, valeu pela dica!

gerson.k

  • Visitante
Re: Problemas ao instalar o EMC2 no Ubuntu 8.04
« Resposta #4 Online: 19 de Julho de 2010, 22:21 »
Onde posso baixar o EMC 2 e ele tem limitação ou é um programa gratuito?
Obrigado!

lolata

  • Visitante
Re: Problemas ao instalar o EMC2 no Ubuntu 8.04
« Resposta #5 Online: 19 de Julho de 2010, 23:51 »
Gerson
O Emc2 é Free, 0800, de gratis, não tem nenhuma restrição
http://www.linuxcnc.org/index.php

Um Abraço

 

/** * */