man ipcs I believe thie issue is system V shared memory. My guess is that the problem has something to do with user permissions.
man strace strace might tell you what command is failing. Ken [EMAIL PROTECTED] Mark Kenny Products Company, LLC 55 Main Street Voice: (888)ISO-SEVO (888)476-7386 Newtown, CT 06470 Fax: (203)426-9138 http://www.MarkKenny.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Lorenzo Marcantonio Sent: Saturday, October 27, 2007 8:43 AM To: EMC developers Subject: Re: [Emc-developers] Shared memory access + emcmot locks up On Sat, 27 Oct 2007, Mario. wrote: > Maybe the FIFO shared memory is not able to initialise properly? (this > is a very very fast way of exchanging information between all RT > tasks.) Did you try to run the EMC LIVE CD? I recommend to do so and Yes, the live cd works perfectly. To get a good start I picked the same kernel (2.6.15) and the same RTAI (magma). Of course, Debian patches EVERYTHING and magma is from CVS so it isn't exactly the same stuff... Uhrmmm... please be clear... RTAI FIFOS are one thing, shared memory is another... I've seen that the modules are talking together... until I ask for a motion (like with a G0 or a G1 or using usrmot) all works fine. Even jogging (since it's a different command, I suppose). But when I ask to emcmot 'go there' it just hangs, and timeouts. I suspect that the whole fast task is sleeping for something... Of course it COULD be a shared memory issue because it only works as root (a strange thing, indeed). But in Linux there are a lot of types of shared memory (for example, I've seen a SysV block and some RTAI ones). And I don't know WHAT memory the message refers to! > One more thing: latest installation of EMC2 did not work for me for > few days, the bug was that the new EMC2.x.x rejected the machine > config files I had from 2.0.5, so had to edit the templates in the > latest distro to make my own. Didn't boot or just 'something' didn't work? The HAL syntax in effect changed a lot, and the NML config too. But I started from the stepper_mm sample config (and adjusted a few HAL pin following the comments). I'm searching inside the sources but it's difficult to follow the flow with all that RPC stuff... ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
