[Emc-users] Latency issue
Hello all, I'm new to this group and also to EMC. I have just succesfully installed Ubuntu 6.0.6 and EMC and updated it to 2.2 without problems. When I tried to configure EMC however, I was confronted to the latency issue (close to 100 uS) mentioned in the docuentation, related to MSI boards. My computer is a laptop Dell C610 Pentium III 1Ghz. I'm not sure what kind of board or chipset it uses but it looks like if I'm suffering exactely this issue, as when I run the latency test, the numbers are low (in the region of 10 uS) but aproximately every 64 seconds, it has a pick which tales latency up to close 100 uS as mentioned. I have followed the directions I got from linuxcnc.org page which includes replacing the binary module rtai_smi.ko and modify rtapi_conf, but when I tray to save this file with the changes done, I'm not permited to save it as it is read only and apparently, I have no permisions. Is someone there who can direct me on how to get arround this barrier?. May be the solution is simple, but I have to mention that I'm also new to Linux. Thanks in advance. Jesus TERRA -- - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] O Codes
On 14 Nov 2007 at 3:41, [EMAIL PROTECTED] wrote: Where is a reference to the operators that are allowed in looping? The user manual. http://www.linuxcnc.org/docs/html/gcode_main.html Slightly hidden in the sections Expressions and Binary Operations and Unary Operation Value Thanks Chris, I wish there was some way to put a reference to the expressions section in the O code section. Sure would make it easier to follow. Thanks John - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Is updating EMC@ impossible without internet?
Hi, Updating emc2 seems impossible without an internet connection on the machine. Is this true? My trusty USB flash drive means I can transfer the files easily from another internet connected machine. I tried downloading and copying the 2.2.1 source files and there is no GCC compiler in the Ubuntu install so the install failed. I tried to get the build-essential turned on in Ubuntu but it seems to require an internet connection so that failed. So far the only way I have successfully updated emc2 is to wait for the Live CD and reinstall. Am I missing something or is this just the way it is? And, can a future Live CD include a gcc compiler? Thanks, Clint - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Latency issue
On Linux, modifying system files requires the use of administrator (root) privileges. I would do an activity like this in the terminal window with sudo: sudo cp rtai_smp.ko /usr/realtime-2.6.15-magma/modules/rtai_smi.ko (assuming you have already changed to the directory where you compiled or downloaded rtai_smp.ko) I have updated the page http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingDapperSMIIssues to give this instruction, so that hopefully the next person won't have the same problem. Jeff - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is updating EMC@ impossible without internet?
You need to copy the emc2 2.2.1 deb package. You can find it here: http://www.linuxcnc.org/emc2/dists/dapper/emc2.2/binary-i386/ Maybe if you try to install it (dpkg -i /path/to/emc2_2.2.1_i386.deb) it will tell you there are some dependencies missing. You should write those down, and write me an email with them. You can probably find the missing dependencies at http://packages.ubuntu.com/dapper/ Regards, Alex - Original Message - From: xtra209 [EMAIL PROTECTED] To: emc-users@lists.sourceforge.net Sent: Wednesday, November 14, 2007 4:05 PM Subject: [Emc-users] Is updating EMC@ impossible without internet? Hi, Updating emc2 seems impossible without an internet connection on the machine. Is this true? My trusty USB flash drive means I can transfer the files easily from another internet connected machine. I tried downloading and copying the 2.2.1 source files and there is no GCC compiler in the Ubuntu install so the install failed. I tried to get the build-essential turned on in Ubuntu but it seems to require an internet connection so that failed. So far the only way I have successfully updated emc2 is to wait for the Live CD and reinstall. Am I missing something or is this just the way it is? And, can a future Live CD include a gcc compiler? Thanks, Clint - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is updating EMC@ impossible without internet?
apt supports offline operation with the --print-uris option. You can find various instructions on how to do this, though I have never tried it myself. e.g., http://olympus.het.brown.edu/cgi-bin/dwww?type=text/plainlocation=/usr/share/doc/apt-doc/offline.text.gz Jeff - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Latency issue
[EMAIL PROTECTED] wrote: Hello all, I'm new to this group and also to EMC. I have just succesfully installed Ubuntu 6.0.6 and EMC and updated it to 2.2 without problems. When I tried to configure EMC however, I was confronted to the latency issue (close to 100 uS) mentioned in the docuentation, related to MSI boards. My computer is a laptop Dell C610 Pentium III 1Ghz. I'm not sure what kind of board or chipset it uses but it looks like if I'm suffering exactely this issue, as when I run the latency test, the numbers are low (in the region of 10 uS) but aproximately every 64 seconds, it has a pick which tales latency up to close 100 uS as mentioned. I have followed the directions I got from linuxcnc.org page which includes replacing the binary module rtai_smi.ko and modify rtapi_conf, but when I tray to save this file with the changes done, I'm not permited to save it as it is read only and apparently, I have no permisions. Run the editor from the command line, and prefix it with sudo. The first time you use this after a period of time elapses, it will ask for your password. Use your normal user password. Hopefully your user account is listed in the file /etc/sudoers. if your account is jim, then you should see something like this in that file : rootALL=(ALL) ALL %jim ALL=(ALL) ALL Jon - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is updating EMC@ impossible without internet?
xtra209 wrote: Hi, Updating emc2 seems impossible without an internet connection on the machine. Is this true? I am sure it is possible to do it by downloading files to some portable media, but please don't ask me to tell you how! So far the only way I have successfully updated emc2 is to wait for the Live CD and reinstall. Am I missing something or is this just the way it is? And, can a future Live CD include a gcc compiler? I'm pretty sure we could fit JUST the gcc compiler on the CD, but to put all the delevoper files required to compile EMC2 on the CD definitely would not fit. Maybe somebody could bundle all these up and put them on a CD. I think I actually know enough to do this one. (Gulp, have I just volunteered?) Jon - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is updating EMC@ impossible without internet?
On Wednesday 14 November 2007 18:24, Jon Elson wrote: xtra209 wrote: Updating emc2 seems impossible without an internet connection on the machine. Is this true? True - Either to download packages, or CD images. So far the only way I have successfully updated emc2 is to wait for the Live CD and reinstall. Am I missing something or is this just the way it is? Reinstalling is the Microsoft way. In the world of Linux (and in particular, with Debian based distros) just wrong. And, can a future Live CD include a gcc compiler? I'm pretty sure we could fit JUST the gcc compiler on the CD, If you look on the unmodified Ubuntu CD, you *will* find gcc. What is missing from this modified emc2Live is most of the development tools one would normally expect. Indeed, in the early days of EMC CDs, Ray was always insistant on tools libraries being included. but to put all the delevoper files required to compile EMC2 on the CD definitely would not fit. Maybe somebody could bundle all these up and put them on a CD. I have the tools, scripts, and repository mirrors to do just such a task. Takes minutes to edit a package list and trigger a full build (which usually runs for 30 minutes or so). I think I actually know enough to do this one. (Gulp, have I just volunteered?) debmirror apt-ftparchive man pages will point you in the right direction. But DON'T look at the crazy way that emc2 repository tries to mimic a Debian/pool layout.. --- - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] new 5 axis simulation
at build time, stuff in src/emc/usr_intf/axis/scripts/ gets copied to bin/ stripped of its .py extension and made executable. this is done in the Makefile, and for some odd reason each script has its own entry there. so, add 5axisbridgegui to the Makefile, or just rename the binary, or make a symbolic link to the actual script so you dont have to 'recompile' every time you change it. -fenn On Wed, 14 Nov 2007, Stuart Stevenson wrote: Gentlemen, I tried to copy the files to new file names so I could modify them. I changed the call in the ini file - from 5axis_sim.hal to 5axisbridge_sim.hal I copied the file 5axis_sim.hal to 5axisbridge_sim.hal I changed the call in the hal file - from 5axisgui to 5axisbridgegui I copied the file 5axisgui.py to 5axisbridgegui.py I changed the permissions for the .py file to 755 This is the feedback I get: EMC2 - pre-2.3 CVS HEAD Machine configuration directory is '/home/stustev/emc2-trunk/configs/5axis' Machine configuration file is '5axis.ini' Starting EMC2... 5axisbridge_sim.hal:108: execv(5axisbridgegui) failed 5axisbridge_sim.hal:108: 5axisbridgegui exited without becoming ready Shutting down and cleaning up EMC2... Cleanup done EMC terminated with an error. You can find more information in the log files /home/stustev/emc_debug.txt and /home/stustev/emc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal what am I missing? thanks Stuart - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is updating EMC@ impossible without internet?
We've missed the easiest way to update an off line machine with 6.06 and I suspect later versions. Just download the deb, drag it onto the desktop and click on it. The system is smart enough to recognize a deb and start the package management stuff. Ray On Wed, 2007-11-14 at 16:36 +0200, Alex Joni wrote: You need to copy the emc2 2.2.1 deb package. You can find it here: http://www.linuxcnc.org/emc2/dists/dapper/emc2.2/binary-i386/ Maybe if you try to install it (dpkg -i /path/to/emc2_2.2.1_i386.deb) it will tell you there are some dependencies missing. You should write those down, and write me an email with them. You can probably find the missing dependencies at http://packages.ubuntu.com/dapper/ Regards, Alex - Original Message - From: xtra209 [EMAIL PROTECTED] To: emc-users@lists.sourceforge.net Sent: Wednesday, November 14, 2007 4:05 PM Subject: [Emc-users] Is updating EMC@ impossible without internet? Hi, Updating emc2 seems impossible without an internet connection on the machine. Is this true? My trusty USB flash drive means I can transfer the files easily from another internet connected machine. I tried downloading and copying the 2.2.1 source files and there is no GCC compiler in the Ubuntu install so the install failed. I tried to get the build-essential turned on in Ubuntu but it seems to require an internet connection so that failed. So far the only way I have successfully updated emc2 is to wait for the Live CD and reinstall. Am I missing something or is this just the way it is? And, can a future Live CD include a gcc compiler? Thanks, Clint - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] new 5 axis simulation
Gentlemen, I tried to copy the files to new file names so I could modify them. I changed the call in the ini file - from 5axis_sim.hal to 5axisbridge_sim.hal I copied the file 5axis_sim.hal to 5axisbridge_sim.hal I changed the call in the hal file - from 5axisgui to 5axisbridgegui I copied the file 5axisgui.py to 5axisbridgegui.py I changed the permissions for the .py file to 755 This is the feedback I get: EMC2 - pre-2.3 CVS HEAD Machine configuration directory is '/home/stustev/emc2-trunk/configs/5axis' Machine configuration file is '5axis.ini' Starting EMC2... 5axisbridge_sim.hal:108: execv(5axisbridgegui) failed 5axisbridge_sim.hal:108: 5axisbridgegui exited without becoming ready Shutting down and cleaning up EMC2... Cleanup done EMC terminated with an error. You can find more information in the log files /home/stustev/emc_debug.txt and /home/stustev/emc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal what am I missing? thanks Stuart - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] new 5 axis simulation
On Wed, 2007-11-14 at 22:15 +, ben lipkowitz wrote: at build time, stuff in src/emc/usr_intf/axis/scripts/ gets copied to bin/ stripped of its .py extension and made executable. this is done in the Makefile, and for some odd reason each script has its own entry there. so, add 5axisbridgegui to the Makefile, or just rename the binary, or make a symbolic link to the actual script so you dont have to 'recompile' every time you change it. I don't think that will solve anything. On Wed, 14 Nov 2007, Stuart Stevenson wrote: Gentlemen, I tried to copy the files to new file names so I could modify them. I changed the call in the ini file - from 5axis_sim.hal to 5axisbridge_sim.hal I copied the file 5axis_sim.hal to 5axisbridge_sim.hal I changed the call in the hal file - from 5axisgui to 5axisbridgegui I copied the file 5axisgui.py to 5axisbridgegui.py I changed the permissions for the .py file to 755 you also need to edit 5axisbridgegui.py (see below) This is the feedback I get: EMC2 - pre-2.3 CVS HEAD Machine configuration directory is '/home/stustev/emc2-trunk/configs/5axis' Machine configuration file is '5axis.ini' Starting EMC2... 5axisbridge_sim.hal:108: execv(5axisbridgegui) failed 5axisbridge_sim.hal:108: 5axisbridgegui exited without becoming ready 5axisgui.py (the initial version), identifies itself as a HAL component called '5axisgui'. When the .hal file tries to loadusr the '5axisbridgegui' it actually waits for a component called 5axisbridgegui, not 5axisgui, and thus fails. You need to edit 5axisbridgegui.py and change c = hal.component(5axisgui) to c = hal.component(5axisbridgegui) or alternatively you can add a param to loadusr (-w or -W with a name), check the manpage for details.. it eludes my memory atm. Regards, Alex Shutting down and cleaning up EMC2... Cleanup done EMC terminated with an error. You can find more information in the log files /home/stustev/emc_debug.txt and /home/stustev/emc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal what am I missing? thanks Stuart - 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is updating EMC@ impossible without internet?
-- Message: 3 Date: Wed, 14 Nov 2007 09:05:59 -0500 From: xtra209 [EMAIL PROTECTED] Subject: [Emc-users] Is updating EMC@ impossible without internet? To: emc-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, Updating emc2 seems impossible without an internet connection on the machine. Is this true? My trusty USB flash drive means I can transfer the files easily from another internet connected machine. I tried downloading and copying the 2.2.1 source files and there is no GCC compiler in the Ubuntu install so the install failed. I tried to get the build-essential turned on in Ubuntu but it seems to require an internet connection so that failed. So far the only way I have successfully updated emc2 is to wait for the Live CD and reinstall. Am I missing something or is this just the way it is? And, can a future Live CD include a gcc compiler? Thanks, Clint -- Message: 4 Date: Wed, 14 Nov 2007 16:36:55 +0200 From: Alex Joni [EMAIL PROTECTED] Subject: Re: [Emc-users] Is updating EMC@ impossible without internet? To: Enhanced Machine Controller \(EMC\) emc-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original You need to copy the emc2 2.2.1 deb package. You can find it here: http://www.linuxcnc.org/emc2/dists/dapper/emc2.2/binary-i386/ Maybe if you try to install it (dpkg -i /path/to/emc2_2.2.1_i386.deb) it will tell you there are some dependencies missing. You should write those down, and write me an email with them. You can probably find the missing dependencies at http://packages.ubuntu.com/dapper/ Regards, Alex Thanks Alex, I did (dpkg -i /path/to/emc2_2.2.1_i386.deb) and only experienced minor headaches. I first clicked on the file after putting it in my home folder. Brought up the package installer which grumbled about conflicting with the already installed emc2 so I removed the emc2 and tried again. It still grumbled about conflicting with emc2 so I rebooted. Then I did a sudo dpkg -i /path/to/emc2_2.2.1_i386.deb. All went well and the new emc2 is installed without a hitch! This is on an extra linux machine which I try things out on before risking my working machine. I think I'm ready to try it on the real deal. I didn't find the *.deb packages on www.linuxcnc.org because there doesn't seem to be any indication they exist on the home page. Or I overlooked something... Now there is a bookmark on my browser for me to use. Message: 5 Date: Wed, 14 Nov 2007 10:23:31 -0600 From: Jeff Epler [EMAIL PROTECTED] Subject: Re: [Emc-users] Is updating EMC@ impossible without internet? To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii apt supports offline operation with the --print-uris option. You can find various instructions on how to do this, though I have never tried it myself. e.g., http://olympus.het.brown.edu/cgi-bin/dwww?type=text/plainlocation=/usr/share/doc/apt-doc/offline.text.gz Jeff Thanks for the heads up on that one Jeff. Message: 7 Date: Wed, 14 Nov 2007 12:24:10 -0600 From: Jon Elson [EMAIL PROTECTED] Subject: Re: [Emc-users] Is updating EMC@ impossible without internet? To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii; format=flowed xtra209 wrote: Hi, And, can a future Live CD include a gcc compiler? I'm pretty sure we could fit JUST the gcc compiler on the CD, but to put all the delevoper files required to compile EMC2 on the CD definitely would not fit. Maybe somebody could bundle all these up and put them on a CD. I think I actually know enough to do this one. (Gulp, have I just volunteered?) Jon Gulp! -- Message: 8 Date: Wed, 14 Nov 2007 20:33:43 + From: paul_c [EMAIL PROTECTED] Subject: Re: [Emc-users] Is updating EMC@ impossible without internet? To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 On Wednesday 14 November 2007 18:24, Jon Elson wrote: xtra209 wrote: Updating emc2 seems impossible without an internet connection on the machine. Is this true? True - Either to download packages, or CD images. So far the only way I have successfully updated emc2 is to wait for the Live CD and reinstall. Am I missing something or is this just the way it is? Reinstalling is the Microsoft way. In the world of Linux (and in particular, with Debian based distros) just wrong. And, can a future Live CD include a gcc compiler? I'm pretty sure we could fit JUST the gcc