Error,

More
9 years 10 months ago #84117 by cncnoob1979
Replied by cncnoob1979 on topic Error,
Have you tried to run linuxcnc with the

sudo

Command?

This will verify if you have a permission problem.

sudo linuxcnc /path/to/ini

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

More
9 years 10 months ago #84118 by tommylight
Replied by tommylight on topic Error,
Everything looks O.K.
The only problem.you have to solve is to check permisions for hal_ppmc.ko as you are geting permision denied on that file. That file is located in the rtai kernel path so i assume it is a comp that has to be istalled ( with halcompile ) or it might work by changing the permisions of that file. Check to see if it is executable.
I rarely use halcompile, so i am not sure how to use it or of it is usable in this case. Check the config folder if you have a file with th .comp extension ( suposedly hal_ppmc.comp ) .
Also check '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_ppmc.ko' for executable .

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

More
9 years 10 months ago #84119 by tjamscad
Replied by tjamscad on topic Error,
mpm@enshu:~$ sudo /usr/bin/linuxcnc '/home/mpm/linuxcnc/configs/new_ppmc/enshu_touchy/enshu.ini'
[sudo] password for mpm:
LINUXCNC - 2.5.4
Machine configuration directory is '/home/mpm/linuxcnc/configs/new_ppmc/enshu_touchy'
Machine configuration file is 'enshu.ini'
Starting LinuxCNC...
enshu.hal:868: Pin 'ppmc.0.encoder.04.position' does not exist
Shutting down and cleaning up LinuxCNC...
Cleanup done
LinuxCNC terminated with an error. You can find more information in the log:
/home/mpm/linuxcnc_debug.txt
and
/home/mpm/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
mpm@enshu:~$

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

More
9 years 10 months ago #84121 by cncnoob1979
Replied by cncnoob1979 on topic Error,
Please post the dmesg as well.

Just to troubleshoot you can try to commit that offending line in your Hal file - just to see.

I believe it will just complain on the next line. Since it can't load the realtime module.

But as Tommylight pointed out - your dmesg is pointing to a permissions error - can you verify the files location and permissions?

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

More
9 years 10 months ago - 9 years 10 months ago #84123 by tjamscad
Replied by tjamscad on topic Error,
edit
Last edit: 9 years 10 months ago by tjamscad.

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

More
9 years 10 months ago - 9 years 10 months ago #84124 by tjamscad
Replied by tjamscad on topic Error,
edit
Last edit: 9 years 10 months ago by tjamscad.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum