On 10/8/15 9:57 AM, Eric H. Johnson wrote:
> Sebastian,
>
> I was trying to do a quick rebuild of an old machine where the ssd died and
> wanted to be able to use the existing configuration as is. I went ahead,
> however and just finished installing lcnc 2.7 to xubuntu 12.04 from the
> instructions here:
> http://linuxcnc.org/docs/2.7/html/getting-started/getting-linuxcnc.html#_ins
> talling_on_ubuntu_precise
>
> Everything installed, but I got the shared memory error described here:
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LockedMemory
>
> I somewhat arbitrarily increased the memlock value to 30720 and it is now
> working.  On to modifying the configuration, as the original was lcnc 2.3.

Are you building linuxcnc itself from source or installing the debian 
package?

The updated memlock limit comes from the linuxcnc debian package, not 
from the rtai kernel package, since it's linuxcnc that actually wants to 
lock memory.

If you install linuxcnc.deb, it will update /etc/security/limits.conf, 
and then you need to log out and log back in for the new memlock limit 
to take effect.

I think there's no real bug here, but probably a "missing documentation" 
issue....


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to