Need help, new HDD, installing old LCNC software
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
02 Sep 2015 01:41 - 02 Sep 2015 01:46 #62022
by allenwg2005
Replied by allenwg2005 on topic Need help, new HDD, installing old LCNC software
I went ahead and made those changes, (figured I should be able to change it back if needed, not that big a deal).
Didn't help, same error.
I also figured out how to get the termination data off the machine and load it here.
Can't seem to attach the Termination file, I'll just copy some of it here.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=emcsh
EMC2_IOSH=iosh
EMC2 - 2.3.0
Machine configuration directory is '/home/allen/Linuxcnc/configs/Router'
Machine configuration file is 'Router.ini'
INIFILE=/home/allen/Linuxcnc/configs/Router/Router.ini
PARAMETER_FILE=linuxcnc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2 -- No such file or directory
libnml/nml/nml.cc 368: NML: cms_config returned -1.
**********************************************************
* Current Directory = /home/allen/Linuxcnc/configs/Router
*
**********************************************************
* BufferName = toolCmd
* ProcessName = tool
* Config File = emc.nml
* error_type = 0 (NML_NO_ERROR)
************************************************************
libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2 -- No such file or directory
libnml/nml/nml.cc 368: NML: cms_config returned -1.
**********************************************************
* BufferName = toolSts
Didn't help, same error.
I also figured out how to get the termination data off the machine and load it here.
Can't seem to attach the Termination file, I'll just copy some of it here.
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=emcsh
EMC2_IOSH=iosh
EMC2 - 2.3.0
Machine configuration directory is '/home/allen/Linuxcnc/configs/Router'
Machine configuration file is 'Router.ini'
INIFILE=/home/allen/Linuxcnc/configs/Router/Router.ini
PARAMETER_FILE=linuxcnc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2 -- No such file or directory
libnml/nml/nml.cc 368: NML: cms_config returned -1.
**********************************************************
* Current Directory = /home/allen/Linuxcnc/configs/Router
*
**********************************************************
* BufferName = toolCmd
* ProcessName = tool
* Config File = emc.nml
* error_type = 0 (NML_NO_ERROR)
************************************************************
libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2 -- No such file or directory
libnml/nml/nml.cc 368: NML: cms_config returned -1.
**********************************************************
* BufferName = toolSts
Last edit: 02 Sep 2015 01:46 by allenwg2005.
Please Log in or Create an account to join the conversation.
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
02 Sep 2015 04:59 - 02 Sep 2015 05:59 #62025
by allenwg2005
Replied by allenwg2005 on topic Need help, new HDD, installing old LCNC software
I've been thrashing around today and came to some conclusions (right or wrong, I made some changes).
I changed from "Sim axis" to "Stepper stepper_inch". As long as I don't point the launcher to my /home/allen/EMC2/config/ Router
/Router.ini it will start, as soon as I make that change it's all about "libnml", (the termination data in the last post is still applicable here).
I have made the changes suggested in earlier posts to no avail.
Even with the program starting, I of course can't “home” or do anything with the wrong .hal's or .ini's.
I also dug deep to recall how the old set-up was arrived at.
As I recall, I started with Ubuntu 10.10 with whatever release came with it at the time.
I ended up rolling back to 8.04, I know I was running 2.5.4 when it crashed.
Latency was the issue with 10.10.
The disk I have (and used here) was 8.04 and it has 2.3.0.
So, this must be something I came up with after I loaded 10.10. (I must admit this is only my best recollection).
If I didn't need to run some parts that were due last week; I would just buy a newer PC, load Wheezy w/ 2.6.8 or 9 and deal with it.
I was hoping to avoid all this bleeding, but way down deep I knew I would have copious amounts of blood on the floor, and I was right.
Hey, it's just time!
I look forward to hearing what I may be able to do to take this to a successful conclusion.
Thanks again.
I tried to upgrade to 2.4, the repository doesn't seem to be available, my guess is unless someone here as an idea how to solve all this I'm puckered!
I changed from "Sim axis" to "Stepper stepper_inch". As long as I don't point the launcher to my /home/allen/EMC2/config/ Router
/Router.ini it will start, as soon as I make that change it's all about "libnml", (the termination data in the last post is still applicable here).
I have made the changes suggested in earlier posts to no avail.
Even with the program starting, I of course can't “home” or do anything with the wrong .hal's or .ini's.
I also dug deep to recall how the old set-up was arrived at.
As I recall, I started with Ubuntu 10.10 with whatever release came with it at the time.
I ended up rolling back to 8.04, I know I was running 2.5.4 when it crashed.
Latency was the issue with 10.10.
The disk I have (and used here) was 8.04 and it has 2.3.0.
So, this must be something I came up with after I loaded 10.10. (I must admit this is only my best recollection).
If I didn't need to run some parts that were due last week; I would just buy a newer PC, load Wheezy w/ 2.6.8 or 9 and deal with it.
I was hoping to avoid all this bleeding, but way down deep I knew I would have copious amounts of blood on the floor, and I was right.
Hey, it's just time!
I look forward to hearing what I may be able to do to take this to a successful conclusion.
Thanks again.
I tried to upgrade to 2.4, the repository doesn't seem to be available, my guess is unless someone here as an idea how to solve all this I'm puckered!
Last edit: 02 Sep 2015 05:59 by allenwg2005. Reason: Additional info.
Please Log in or Create an account to join the conversation.
02 Sep 2015 06:02 #62026
by cncbasher
Replied by cncbasher on topic Need help, new HDD, installing old LCNC software
Alan:
you are using 8.04 with linuxcnc v 2.5.4 ?
that changes things a lot , and leaves a lot of the good stuff out your reach
let me know , and i'll sort it all in the morning , all being well
you are using 8.04 with linuxcnc v 2.5.4 ?
that changes things a lot , and leaves a lot of the good stuff out your reach
let me know , and i'll sort it all in the morning , all being well
Please Log in or Create an account to join the conversation.
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
02 Sep 2015 06:11 - 02 Sep 2015 06:26 #62027
by allenwg2005
Replied by allenwg2005 on topic Need help, new HDD, installing old LCNC software
Hey Basher,
This old PC will not run with anything newer than 8.04, I didn't have Internet access for this machine until this afternoon so 2.5.4 was as up to date as this machine ever got.
I tried to update from 2.3.0 just a bit ago, the 2.4 repository isn't available anymore.
I don't think I'm able to do much of anything with this antique at this point.
Short of a newer PC, have you any suggestion?
Thanks, Allen
This old PC will not run with anything newer than 8.04, I didn't have Internet access for this machine until this afternoon so 2.5.4 was as up to date as this machine ever got.
I tried to update from 2.3.0 just a bit ago, the 2.4 repository isn't available anymore.
I don't think I'm able to do much of anything with this antique at this point.
Short of a newer PC, have you any suggestion?
Thanks, Allen
Last edit: 02 Sep 2015 06:26 by allenwg2005.
Please Log in or Create an account to join the conversation.
02 Sep 2015 06:23 - 02 Sep 2015 06:27 #62029
by cncbasher
Replied by cncbasher on topic Need help, new HDD, installing old LCNC software
Alan:
try running the attached script ( rename .sh )
or these instructions
wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5
try running the attached script ( rename .sh )
or these instructions
wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5
Last edit: 02 Sep 2015 06:27 by cncbasher.
Please Log in or Create an account to join the conversation.
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
02 Sep 2015 06:27 - 02 Sep 2015 06:31 #62030
by allenwg2005
Replied by allenwg2005 on topic Need help, new HDD, installing old LCNC software
Attached script??????
I tried the steps to update, Synaptic Manager sends me a 404 error regarding the repository.
Is this an error on my part?
I see the attachment now, let me give that a try, tahnks.
I tried the steps to update, Synaptic Manager sends me a 404 error regarding the repository.
Is this an error on my part?
I see the attachment now, let me give that a try, tahnks.
Last edit: 02 Sep 2015 06:31 by allenwg2005.
Please Log in or Create an account to join the conversation.
02 Sep 2015 06:36 - 02 Sep 2015 06:43 #62031
by cncbasher
Replied by cncbasher on topic Need help, new HDD, installing old LCNC software
here's the same script but for hardy installs
rename etc as before
or alternately try the buildbot
buildbot.linuxcnc.org/
rename etc as before
or alternately try the buildbot
buildbot.linuxcnc.org/
Last edit: 02 Sep 2015 06:43 by cncbasher. Reason: update
Please Log in or Create an account to join the conversation.
- allenwg2005
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
02 Sep 2015 06:43 #62032
by allenwg2005
Replied by allenwg2005 on topic Need help, new HDD, installing old LCNC software
Basher,
It looks like I need more direction on typing in these instructions.
I rarely use a terminal so I need some help.
It looks like I need more direction on typing in these instructions.
I rarely use a terminal so I need some help.
Please Log in or Create an account to join the conversation.
02 Sep 2015 06:49 #62033
by cncbasher
Replied by cncbasher on topic Need help, new HDD, installing old LCNC software
rename the file to linuxcnc-update.sh
right click on the file and make sure it's executable ( tick box ) under properties
then from your terminal $ ./linuxcnc-update.sh
you may need to use $ sudo ./linuxcnc-update.sh
hope that helps , or see the buildbot page
see my profile alan , and message me , and we can sort it in the morning if your still stuck as it's getting late
or you'll be up all night !!
right click on the file and make sure it's executable ( tick box ) under properties
then from your terminal $ ./linuxcnc-update.sh
you may need to use $ sudo ./linuxcnc-update.sh
hope that helps , or see the buildbot page
see my profile alan , and message me , and we can sort it in the morning if your still stuck as it's getting late
or you'll be up all night !!
Please Log in or Create an account to join the conversation.
- LearningLinuxCNC
- Offline
- Platinum Member
Less
More
- Posts: 320
- Thank you received: 48
02 Sep 2015 07:53 #62034
by LearningLinuxCNC
I see. It is starting to make sense now. Since you are running 2.3.0 you have to point emc to the emc.nml file in your ini file. We have been telling you to take it out and you need to put it in.
You can update to a newer version like cncbasher is helping with or if you want to get it running immediately you can copy the emc.nml file from the sim config you have and put it in the config folder for your router. Then you will need to add the NML_FILE = emc.nml into your .ini file.
You might have other issues after that but it would get you past the current error.
Replied by LearningLinuxCNC on topic Need help, new HDD, installing old LCNC software
I tried to update from 2.3.0 just a bit ago, the 2.4 repository isn't available anymore
I see. It is starting to make sense now. Since you are running 2.3.0 you have to point emc to the emc.nml file in your ini file. We have been telling you to take it out and you need to put it in.
You can update to a newer version like cncbasher is helping with or if you want to get it running immediately you can copy the emc.nml file from the sim config you have and put it in the config folder for your router. Then you will need to add the NML_FILE = emc.nml into your .ini file.
You might have other issues after that but it would get you past the current error.
The following user(s) said Thank You: allenwg2005
Please Log in or Create an account to join the conversation.
Time to create page: 0.082 seconds