Hello Len,
You should run as root to get propper realtime priorities.
You can reduce the memory usage at runtime, please have a look at
executable -u and look for stacksize
Generally I have to say that EtherCOS is still in alpha state. I am
working on a new release working on XCos and Scicos but there is much
work to do. The problem is that I work on this project in my free time
(conflicts with family and busy job). So there is a lack of time. If you
want to do further work on it feel free to do this and yes there is a
repository. If you like I can grant you access rights
Greatings
Andreas
Am 27.04.2011 13:32, schrieb Len Remmerswaal:
Hi all,
Just to inform anyone working with ethercos (are there any?)
If you are trying to run an ethercos generated code application
without root privileges, you may run into a segmentation fault, caused
by a memory allocation problem. Running as root avoids this problem.
If you want to be able to run as user joe anyway, run "ulimit --l"
and/or check /etc/security/limits.conf.
The ethercos runtime locks a lot of memory, and some distributions
(like Debian Lenny) limit this for normal users.
If you change /etc/security/limits.conf such that memlock is something
like 32768 (a number that works for me) this problem is over.
Cheers,
Len.
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users
Mit freundlichem Gruß
Andreas Stewering-Bone
--
------------------------------------------------------------------------
Dipl.-Ing.(FH) Andreas Stewering-Bone
[email protected]
Tel.: +49 201 / 36014-15
Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Bäcker-Str. 34
D-45356 Essen
Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
Geschäftsführung:
- Dr.-Ing. S. Rotthäuser,
- Dr.-Ing. T. Finke,
- Dr.-Ing. W. Hagemeister
Tel.: +49 201 / 360-14-0
http://www.igh-essen.com
------------------------------------------------------------------------
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users