Development: PID Tuning GUI and HAL

More
18 May 2011 22:36 #9920 by malleblas
Not sure how much exposure to Linux you have had, but it's a permissions error.

cp: cannot create regular file `/usr/realtime-2.6.32-122-rtai/modules/emc2/line4to2.ko': Permission denied


Log in as a privileged user to run this task, probably "root".

Look at "sudo" and "su". "sudo" is recommended as it only performs commands as another user, does not remain logged in. Much better for security although being a CNC machine, not sure how important security is to most people. Regardless, good habits to get into.
To get more information on these, at the terminal type "man sudo" and "man su".

en.wikipedia.org/wiki/Man_page

Can also look up man pages online on any of the many resources.

manpages.debian.net/cgi-bin/man.cgi
Despite being Debian, most of the linux commands will be the same.

LinuxCNC needs some links to "Getting Started with Linux" pages I think.

Please Log in or Create an account to join the conversation.

More
18 May 2011 22:39 #9921 by BigJohnT

Please Log in or Create an account to join the conversation.

More
26 May 2011 19:16 #10098 by fabworx
thanx to both of you i didnt see that manual yet i will be reading, more for the bed time stories lol

Please Log in or Create an account to join the conversation.

More
03 Aug 2011 10:33 - 03 Aug 2011 10:37 #12150 by roach81
help me.
download and unzip

apt-get install tofrodos
fromdos -d -o *.*

sudo comp --install *.comp
sudo halrun -f config.hal

have error:

~/emc2/configs/pid_tuning$ sudo halrun -f config.hal
[sudo] password for user16k30:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/scope_rt.ko': -1 Unknown symbol in module
<commandline>:0: exit value: 1
<commandline>:0: insmod failed, returned -1
See the output of 'dmesg' for more information.
loadrt scope_rt failed

what's the problem?
Last edit: 03 Aug 2011 10:37 by roach81.

Please Log in or Create an account to join the conversation.

More
03 Aug 2011 11:49 #12152 by andypugh
roach81 wrote:

See the output of 'dmesg' for more information.

What does dmesg say? (type dmesg at the command prompt)

Please Log in or Create an account to join the conversation.

More
12 Aug 2011 04:17 #12444 by roach81
Warning: Spoiler!

Please Log in or Create an account to join the conversation.

More
12 Aug 2011 09:10 - 12 Aug 2011 09:15 #12448 by andypugh
For some reason in the third start the realtime system is exiting before scope_rt loads. So, the error report appears to be about scope_rt, but that isn't really the problem.

Something in config.hal is failing. between loadrt hm2_pci and loadrt scope_rt

Can you describe the sequence of events? It looks like 2 boots which worked (but with following errors) followed by a failed boot?
Last edit: 12 Aug 2011 09:15 by andypugh.

Please Log in or Create an account to join the conversation.

More
17 Aug 2011 04:00 #12539 by roach81
first run:
Warning: Spoiler!

i make
ulimit -l 20480
after
sudo halrun -f config.hal
then a window of pid_tuning and disappears immediately

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum