Hi Evgeny

On Thursday 25 September 2008, Евгений Александрович wrote:
> > sounds like rtai is already loaded. Either you compiled it into the
> > kernel, not as a module.
> What do you mean. Did I somesing worng in kernel?

It is impossible to "compile rtai_hal" in to the kernel - The Makefile 
associated with rtai_hal explicitly states rtai_hal.ko will be compiled as a 
module.

> # emc
> EMC2 - 2.2.5
> Machine configuration directory is
> '/usr/local/etc/emc2/sample-configs/stepper' Machine configuration file is
> 'stepper_mm.ini'
> Starting EMC2...
> insmod: error inserting '/usr/realtime/modules/rtai_hal.ko': -1 File exists
> Realtime system did not load
> Shutting down and cleaning up EMC2...
> /bin/pidof: illegal option -- x

There is the most likely root cause of your system not cleaning up after 
running emc2.

> BusyBox v1.6.1 (2007-08-26 04:52:27 MDT) multi-call binary

BusyBox has not been tested or validated with the emc2 run scripts. It is 
quite possible that more scripting errors are waiting to bite if you are not 
using a bash shell.

Question: Are you loading the RTAI modules from an init script during boot 
up ?



-------------------------------------------------------------------------
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-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to