error inserting gantrykins.ko?why?I nee your help
03 Dec 2013 22:14 #41310
by tiffany
error inserting gantrykins.ko?why?I nee your help was created by tiffany
when I start my new mill , there is error :
but ,i'm newbie,who can help me ??
please^^^^^^^
but ,i'm newbie,who can help me ??
please^^^^^^^
Please Log in or Create an account to join the conversation.
03 Dec 2013 23:41 #41317
by cncbasher
Replied by cncbasher on topic error inserting gantrykins.ko?why?I nee your help
these files in particular the INI file , ( their may be others ) have been edited or saved on a Windows pc , so have dos line endings ...
open these files in gedit and then save as , and use the unix/linux line endings and re-save
should solve your problem
also beware of transfering files from a windows files system this can change the line endings without you knowing or a shared network
open these files in gedit and then save as , and use the unix/linux line endings and re-save
should solve your problem
also beware of transfering files from a windows files system this can change the line endings without you knowing or a shared network
Please Log in or Create an account to join the conversation.
04 Dec 2013 10:05 #41324
by tiffany
Replied by tiffany on topic error inserting gantrykins.ko?why?I nee your help
thank for your reply,but ,I compared the .ini file in attachments and .ini in the linuxcnc/configs folder ,I couldn't find any different.
and how could I find the DOS line endings ?
and how could I find the DOS line endings ?
Please Log in or Create an account to join the conversation.
04 Dec 2013 11:20 #41325
by PCW
Replied by PCW on topic error inserting gantrykins.ko?why?I nee your help
You will not see any difference in the files in a text editor but your files were likely
edited on a windows machine and have DOS/windows line endings (CRLF)
instead of unix line endings (LF).
(I verified this by downloading one of your files and it indeed has DOS line endings)
The files now need to be have their line endings restored
to unix/linux standard line endings.
As cncbasher suggested, one easy way is edit the files in gedit,
chose the "save as" option and (at the bottom of the save as pane)
select "Unix/Linux" in the "Line Ending" selection
edited on a windows machine and have DOS/windows line endings (CRLF)
instead of unix line endings (LF).
(I verified this by downloading one of your files and it indeed has DOS line endings)
The files now need to be have their line endings restored
to unix/linux standard line endings.
As cncbasher suggested, one easy way is edit the files in gedit,
chose the "save as" option and (at the bottom of the save as pane)
select "Unix/Linux" in the "Line Ending" selection
Please Log in or Create an account to join the conversation.
04 Dec 2013 11:50 #41327
by tiffany
Replied by tiffany on topic error inserting gantrykins.ko?why?I nee your help
I did follow your advice, warnings did gone. But I think this isn't the leading error, the error picture in the attachments.
I have no idea about the error.
I have no idea about the error.
Please Log in or Create an account to join the conversation.
04 Dec 2013 17:04 #41332
by cncbasher
Replied by cncbasher on topic error inserting gantrykins.ko?why?I nee your help
a number of errors are causing your problem ,
you load 5axiskins at the begining of your hal file , and then try to load also gantrykins from your kinematics file
you would probably be better trying to load all in one hal file , as you cannot list pins , before you have loaded the kins file
and you can only have one kins file loaded , so you should be able to move entrys around to solve .
also
#+ Name of machine, for use with display, etc.
MACHINE = EMC-HAL-SIM-5AXES GAN
has a space in the name, probably from loading in windows earlier ,
perhaps change to
MACHINE = EMC-HAL-SIM-5AXES-GAN
thats as far as i have found up to now , as i dont have a 5 axis setup
you load 5axiskins at the begining of your hal file , and then try to load also gantrykins from your kinematics file
you would probably be better trying to load all in one hal file , as you cannot list pins , before you have loaded the kins file
and you can only have one kins file loaded , so you should be able to move entrys around to solve .
also
#+ Name of machine, for use with display, etc.
MACHINE = EMC-HAL-SIM-5AXES GAN
has a space in the name, probably from loading in windows earlier ,
perhaps change to
MACHINE = EMC-HAL-SIM-5AXES-GAN
thats as far as i have found up to now , as i dont have a 5 axis setup
Please Log in or Create an account to join the conversation.
04 Dec 2013 17:04 #41333
by ArcEye
Replied by ArcEye on topic error inserting gantrykins.ko?why?I nee your help
Hi
You are loading both 5axiskins and gantrykins, that is the cause of the symbol collision from the kernel log, they both define kinimaticsInverse.
You should also be loading gantrykins BEFORE motion ie at the place you are loading 5axiskins
www.linuxcnc.org/docs/devel/html/man/man9/gantrykins.9.html
You are loading both 5axiskins and gantrykins, that is the cause of the symbol collision from the kernel log, they both define kinimaticsInverse.
You should also be loading gantrykins BEFORE motion ie at the place you are loading 5axiskins
www.linuxcnc.org/docs/devel/html/man/man9/gantrykins.9.html
Please Log in or Create an account to join the conversation.
06 Dec 2013 19:11 #41372
by tiffany
Replied by tiffany on topic error inserting gantrykins.ko?why?I nee your help
thank for your help! I have solved it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds