Updating from my original install 2+ years ago
- schmidtmotorworks
- Offline
- Elite Member
-
Less
More
- Posts: 286
- Thank you received: 6
02 Sep 2013 06:25 #38384
by schmidtmotorworks
Updating from my original install 2+ years ago was created by schmidtmotorworks
I originally installed at 2.5.0-pre2-626-g402b6cd with Ubuntu 10.4 LTS.
It has been working OK for the last 2 years.
I am thinking of updating to a later version, as I was waiting for a bug fix in Glade.
Any advice or warnings would be appreciated.
It has been working OK for the last 2 years.
I am thinking of updating to a later version, as I was waiting for a bug fix in Glade.
Any advice or warnings would be appreciated.
Please Log in or Create an account to join the conversation.
02 Sep 2013 14:33 #38409
by cncbasher
Replied by cncbasher on topic Updating from my original install 2+ years ago
if your updating to the latest 2.5.3 then you should not have any problem .
if your updating to the latest development then you may need to adjust a few values in your INI . but overall it should be painless and nothing to worry over with either .
if your updating to the latest development then you may need to adjust a few values in your INI . but overall it should be painless and nothing to worry over with either .
Please Log in or Create an account to join the conversation.
- schmidtmotorworks
- Offline
- Elite Member
-
Less
More
- Posts: 286
- Thank you received: 6
25 Oct 2013 09:40 #40269
by schmidtmotorworks
Replied by schmidtmotorworks on topic Updating from my original install 2+ years ago
I tried to do an update today but some file were downloaded but some were not found:
Failed to fetch buildbot.linuxcnc.org/dists/lucid/2.5_br...ary-i386/Packages.gz 404 Not Found
I did the install anyhow and it said I have the latest version
Axis still says this on the header;
2.5.0-pre2-626-g402b6cd
Does anyone have any idea what is happening?
Failed to fetch buildbot.linuxcnc.org/dists/lucid/2.5_br...ary-i386/Packages.gz 404 Not Found
I did the install anyhow and it said I have the latest version
Axis still says this on the header;
2.5.0-pre2-626-g402b6cd
Does anyone have any idea what is happening?
Please Log in or Create an account to join the conversation.
25 Oct 2013 13:25 #40278
by cncbasher
Replied by cncbasher on topic Updating from my original install 2+ years ago
your update did not succeed as you intended , and is still running on your origional install
check that you have the correct entrys in your package manager for 2.5.3 etc , and not a typo somewhere
check that you have the correct entrys in your package manager for 2.5.3 etc , and not a typo somewhere
Please Log in or Create an account to join the conversation.
25 Oct 2013 13:32 #40279
by ArcEye
Replied by ArcEye on topic Updating from my original install 2+ years ago
Hi
buildbot.linuxcnc.org/dists/lucid/v2.5_b...ary-i386/Packages.gz
is the correct address of the package zip
Try doing sudo apt-get update
If you are still unable to fetch that and update your packages then just download
buildbot.linuxcnc.org/dists/lucid/v2.5_b...45.g2ba536e_i386.deb
and install with sudo dpkg -i linuxcnc_2.5.3.45.g2ba536e_i386.deb from the directory where the package was downloaded to
regards
buildbot.linuxcnc.org/dists/lucid/v2.5_b...ary-i386/Packages.gz
is the correct address of the package zip
Try doing sudo apt-get update
If you are still unable to fetch that and update your packages then just download
buildbot.linuxcnc.org/dists/lucid/v2.5_b...45.g2ba536e_i386.deb
and install with sudo dpkg -i linuxcnc_2.5.3.45.g2ba536e_i386.deb from the directory where the package was downloaded to
regards
Please Log in or Create an account to join the conversation.
- schmidtmotorworks
- Offline
- Elite Member
-
Less
More
- Posts: 286
- Thank you received: 6
26 Oct 2013 10:20 #40300
by schmidtmotorworks
Replied by schmidtmotorworks on topic Updating from my original install 2+ years ago
Thank you for the help.
I was able to get the file but when I ran it I got the following:
Does this mean I should uninstall emc2?
mvjr@mvjr-desktop:~/Downloads$ sudo dpkg -i linuxcnc_2.5.3.45.g2ba536e_i386.deb
[sudo] password for mvjr:
Selecting previously deselected package linuxcnc.
dpkg: regarding linuxcnc_2.5.3.45.g2ba536e_i386.deb containing linuxcnc:
linuxcnc conflicts with emc2
emc2 (version 1:2.5.0~pre2.626.g402b6cd) is present and installed.
emc2 provides emc2 and is present and installed.
dpkg: error processing linuxcnc_2.5.3.45.g2ba536e_i386.deb (--install):
conflicting packages - not installing linuxcnc
Errors were encountered while processing:
linuxcnc_2.5.3.45.g2ba536e_i386.deb
mvjr@mvjr-desktop:~/Downloads$
I was able to get the file but when I ran it I got the following:
Does this mean I should uninstall emc2?
mvjr@mvjr-desktop:~/Downloads$ sudo dpkg -i linuxcnc_2.5.3.45.g2ba536e_i386.deb
[sudo] password for mvjr:
Selecting previously deselected package linuxcnc.
dpkg: regarding linuxcnc_2.5.3.45.g2ba536e_i386.deb containing linuxcnc:
linuxcnc conflicts with emc2
emc2 (version 1:2.5.0~pre2.626.g402b6cd) is present and installed.
emc2 provides emc2 and is present and installed.
dpkg: error processing linuxcnc_2.5.3.45.g2ba536e_i386.deb (--install):
conflicting packages - not installing linuxcnc
Errors were encountered while processing:
linuxcnc_2.5.3.45.g2ba536e_i386.deb
mvjr@mvjr-desktop:~/Downloads$
Please Log in or Create an account to join the conversation.
26 Oct 2013 17:56 #40307
by ArcEye
Replied by ArcEye on topic Updating from my original install 2+ years ago
HI
Yes, run sudo dpkg -r emc2 and sudo dpkg -r emc2-dev if installed.
Then install linuxcnc.
This is what happens in the background when you update via synaptic or whatever, sorry I was assuming too much knowledge.
regards
Yes, run sudo dpkg -r emc2 and sudo dpkg -r emc2-dev if installed.
Then install linuxcnc.
This is what happens in the background when you update via synaptic or whatever, sorry I was assuming too much knowledge.
regards
Please Log in or Create an account to join the conversation.
- schmidtmotorworks
- Offline
- Elite Member
-
Less
More
- Posts: 286
- Thank you received: 6
08 Dec 2013 08:51 #41402
by schmidtmotorworks
Replied by schmidtmotorworks on topic Updating from my original install 2+ years ago
Trying gin today.
removing emc2 seemed to go oK
When I run this:
mvjr@mvjr-desktop:~$ sudo apt-get install linuxcnc
I get this
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linuxcnc: Depends: tclreadline but it is not installable
Recommends: hostmot2-firmware but it is not installable
E: Broken packages
Does anyone know what I can do now?
removing emc2 seemed to go oK
When I run this:
mvjr@mvjr-desktop:~$ sudo apt-get install linuxcnc
I get this
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linuxcnc: Depends: tclreadline but it is not installable
Recommends: hostmot2-firmware but it is not installable
E: Broken packages
Does anyone know what I can do now?
Please Log in or Create an account to join the conversation.
08 Dec 2013 19:06 - 08 Dec 2013 22:43 #41412
by ArcEye
Replied by ArcEye on topic Updating from my original install 2+ years ago
Hi
You seem to have switched from downloading the package and installing with dpkg, to using apt-get, which is dependent upon the sources.list being up to date
If you have removed emc2 with dpkg, try downloading buildbot.linuxcnc.org/dists/lucid/v2.5_b...74.g450b0fc_i386.deb
and installing with
sudo dpkg -i linuxcnc_2.5.3.74.g450b0fc_i386.deb from the directory it is in
(tclreadline is still available for 10.04
packages.ubuntu.com/lucid/tclreadline)
regards
You seem to have switched from downloading the package and installing with dpkg, to using apt-get, which is dependent upon the sources.list being up to date
If you have removed emc2 with dpkg, try downloading buildbot.linuxcnc.org/dists/lucid/v2.5_b...74.g450b0fc_i386.deb
and installing with
sudo dpkg -i linuxcnc_2.5.3.74.g450b0fc_i386.deb from the directory it is in
(tclreadline is still available for 10.04
packages.ubuntu.com/lucid/tclreadline)
regards
Last edit: 08 Dec 2013 22:43 by ArcEye.
Please Log in or Create an account to join the conversation.
- schmidtmotorworks
- Offline
- Elite Member
-
Less
More
- Posts: 286
- Thank you received: 6
19 Dec 2013 08:27 #41803
by schmidtmotorworks
Replied by schmidtmotorworks on topic Updating from my original install 2+ years ago
Thanks that worked, now I have it installed.
I have a new problem though.
When I try to start it I get the following:
The line 53 hal file looks like this:
I believe this is the driver for one of the cards.
I still have the files if they are needed but don't know what to do.
Any suggestions would be appreciated.
I have a new problem though.
When I try to start it I get the following:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.3-78-g5901d68
Machine configuration directory is '/home/mvjr/linuxcnc/configs/mvjr'
Machine configuration file is 'mvjr.ini'
INIFILE=/home/mvjr/linuxcnc/configs/mvjr/mvjr.ini
PARAMETER_FILE=mvjr.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
emc/iotask/ioControl.cc 752: can't load tool table.
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=7704
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 No such device
mvjr.hal:53: exit value: 1
mvjr.hal:53: insmod failed, returned -1
See the output of 'dmesg' for more information.
7704
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 5220.126623] I-pipe: Domain RTAI registered.
[ 5220.126644] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 5220.126651] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 5220.126774] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 5220.126782] PIPELINE layers:
[ 5220.126790] fc15ae20 9ac15d93 RTAI 200
[ 5220.126797] c085cb20 0 Linux 100
[ 5220.175607] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 5220.176322] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 5220.176335] RTAI[sched]: hard timer type/freq = APIC/10416708(Hz); default timing: periodic; linear timed lists.
[ 5220.176343] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1666437000 hz.
[ 5220.176349] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 5220.176646] RTAI[usi]: enabled.
[ 5220.260783] RTAI[math]: loaded.
[ 5220.409053] hm2: loading Mesa HostMot2 driver version 0.15
[ 5220.415754] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 5221.140475] hm2: unloading
[ 5221.226668] RTAI[math]: unloaded.
[ 5221.259209] SCHED releases registered named ALIEN RTGLBH
[ 5221.322251] RTAI[malloc]: unloaded.
[ 5221.420056] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 5221.424966] I-pipe: Domain RTAI unregistered.
[ 5221.425139] RTAI[hal]: unmounted.
The line 53 hal file looks like this:
I believe this is the driver for one of the cards.
I still have the files if they are needed but don't know what to do.
loadrt hm2_pci config="firmware=hm2/5i23/SVSS6_8.BIT num_encoders=6 num_pwmgens=6 sserial_port_0=00000000"
Any suggestions would be appreciated.
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds