Temp 2010-11 iCub system update: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
mNo edit summary
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= ToDo =
''2016 note: this page is obsolete and can be deleted!''


Legenda:
= Legend =
;[[Image:empty_bullet.png]] Not done.
 
;[[Image:WIP_bullet.png]] In process...
;[[Image:empty_bullet.png]] To be done.
;[[Image:WIP_bullet.png]] Work in progress.
;[[Image:full_bullet.png]] Done!
;[[Image:full_bullet.png]] Done!
= To do =


== Chico3 ==
== Chico3 ==


;[[Image:full_bullet.png]]  Update OS packages on Chico3 :
;[[Image:full_bullet.png]]  Update OS packages on Chico3
;[[Image:full_bullet.png]]  Run disk check on Chico3 (the OS wanted to do it since some time):
;[[Image:full_bullet.png]]  Run disk check on Chico3 (the OS wanted to do it since some time)
;[[Image:full_bullet.png]] Upgrade OS release on Chico3, from 8.04 to 10.04:
;[[Image:full_bullet.png]] Upgrade OS release on Chico3, from 8.04 to 10.04
;[[Image:full_bullet.png]] [[backup-yarp|Update YARP on Chico3]]:
;[[Image:full_bullet.png]] [[Temp 2010-11 iCub system update/Update YARP on Chico3|Update YARP on Chico3]]
;[[Image:full_bullet.png]] [[Update iCub on Chico3|Update iCub on Chico3]]:
;[[Image:full_bullet.png]] [[Temp 2010-11 iCub system update/Update iCub on Chico3|Update iCub on Chico3]]


== icubbrain1 ==
== icubbrain1 ==


;[[Image:full_bullet.png]]  Update OS packages on iCubBrain 1 :
;[[Image:full_bullet.png]]  Update OS packages on iCubBrain 1
;[[Image:full_bullet.png]] Upgrade OS release on iCubBrain 1 from 8.04.2 to 10.04:
;[[Image:empty_bullet.png]] Upgrade OS release on iCubBrain 1 from 8.04.2 to 10.04? Two problems - (1) only boots with nolapic option; (2) shows only one core. For now, we re-installed 8.04 64 bit
;[[Image:full_bullet.png]] Reboot iCubBrain 1 to use new kernel (SHOWS ONLY ONE CORE, WHY?):
;[[Image:empty_bullet.png]] Reboot iCubBrain 1 to use new kernel
;[[Image:full_bullet.png]] Update YARP on iCubBrain 1:
;[[Image:full_bullet.png]] Update YARP on iCubBrain 1
;[[Image:WIP_bullet.png]] Update iCub on iCubBrain 1:
;[[Image:full_bullet.png]] Install latest IPOPT and check it
;[[Image:full_bullet.png]] Update iCub on iCubBrain 1


== icubbrain2 ==
== icubbrain2 ==


;[[Image:full_bullet.png]]  Update OS packages on iCubBrain 2 :
;[[Image:full_bullet.png]]  Update OS packages on iCubBrain 2
;[[Image:full_bullet.png]] Upgrade OS release on iCubBrain 2? current is 8.04.2:
;[[Image:full_bullet.png]] Upgrade OS release on iCubBrain 2 from 8.04.2 to 10.04.1
;[[Image:full_bullet.png]] Reboot iCubBrain 2 to use new kernel:
;[[Image:full_bullet.png]] Reboot iCubBrain 2 to use new kernel
;[[Image:full_bullet.png]] Update YARP on iCubBrain 2:
;[[Image:full_bullet.png]] Update YARP on iCubBrain 2
;[[Image:WIP_bullet.png]] Update iCub on iCubBrain 2:
;[[Image:full_bullet.png]] Install latest IPOPT and check it
;[[Image:full_bullet.png]] Update iCub on iCubBrain 2


== cortex1-5 ==
== cortex1-5 ==


;[[Image:full_bullet.png]] Update OS packages on Cortex 1-5 :
;[[Image:full_bullet.png]] Update OS packages on Cortex 1-5
;[[Image:WIP_bullet.png]] Upgrade OS release on Cortex 1-5? current is 8.04.2:
;[[Image:full_bullet.png]] Upgrade OS release on Cortex 1-5 from 8.04.2 to 10.04.1
;[[Image:empty_bullet.png]] Restart each Cortex1-5:
;[[Image:full_bullet.png]] Reboot each Cortex1-5 (there were problems with mounting /home automatically, and with correct permissions, now solved)
;[[Image:empty_bullet.png]] change settings for booting Cortex1-5 on the Cortex server, in /tftpboot/pxelinux.cfg. IT IS JUST SOME TIMING PROBLEM WITH THE MOUNTING OF HOME.:
;[[Image:full_bullet.png]] Delete user yarp and the old installation of YARP (backed up in /home/icub/svn_yarp2_nov2010_backup)
;[[Image:empty_bullet.png]] Update YARP on Cortex 1-5, for user icub:
;[[Image:full_bullet.png]] Backup old iCub installation to svn_iCub_nov2010_backup/
;[[Image:empty_bullet.png]] Update iCub on Cortex 1-5, for user icub:
;[[Image:full_bullet.png]] Reinstall YARP on Cortex 1-5, for user icub
;[[Image:full_bullet.png]] Install latest IPOPT and check it
;[[Image:full_bullet.png]] Reinstall iCub on Cortex 1-5, for user icub (had to wipe a whole lot of old libraries)


== cortex6 ==
== cortex6 ==


;[[Image:full_bullet.png]] Update OS packages on Cortex 6 :
;[[Image:full_bullet.png]] Update OS packages on Cortex 6
;[[Image:WIP_bullet.png]] Upgrade OS release on Cortex 6? current is 8.04.2:
;[[Image:full_bullet.png]] Upgrade OS release on Cortex 6 from 8.04.2 to 10.04.1
;[[Image:empty_bullet.png]] Update YARP on Cortex 6, for user icub:
;[[Image:full_bullet.png]] Delete user yarp and the old installation of YARP (backed up in /home/icub/svn_yarp2_nov2010_backup)
;[[Image:empty_bullet.png]] Update iCub on Cortex 6, for user icub:
;[[Image:full_bullet.png]] Backup old iCub installation to svn_iCub_nov2010_backup/
;[[Image:full_bullet.png]] Reinstall YARP on Cortex 6, for user icub
;[[Image:full_bullet.png]] Install latest IPOPT and check it
;[[Image:full_bullet.png]] Reinstall iCub on Cortex 6, for user icub.
There used to be this error, it seems to be gone now:
  Linking CXX executable ../../../bin/salience
  ../../../lib/libiCubVis.a(OptFlowEMD.cpp.o): In function `iCub::vis::OptFlowEMD::calculate_flow(_IplImage*, _IplImage*, _IplImage*, _IplImage*, _IplImage*)':
  OptFlowEMD.cpp:(.text+0xd8f): undefined reference to `cv::error(cv::Exception const&)'
  OptFlowEMD.cpp:(.text+0xe7e): undefined reference to `cv::error(cv::Exception const&)'
  collect2: ld returned 1 exit status
  make[2]: *** [bin/salience] Error 1
  make[1]: *** [src/modules/salience/CMakeFiles/salience.dir/all] Error 2
  make: *** [all] Error 2


== icubsrv ==
== icubsrv and pc104 ==


;[[Image:full_bullet.png]] Update OS packages on icubsrv :
;[[Image:full_bullet.png]] Update OS packages on icubsrv
;[[Image:full_bullet.png]] [[Update YARP on icubsrv|Update YARP on icubsrv]], under the path /exports/code-pc104 and, if you will, the local 64bits version:
;[[Image:full_bullet.png]] [[Temp 2010-11 iCub system update/Update YARP on icubsrv|Update YARP on icubsrv]], under the path /exports/code-pc104 and, if you will, the local 64bits version
;[[Image:full_bullet.png]] [[Update YARP on icubsrv|Update iCub on icubsrv]], under the path /exports/code-pc104 and, if you will, the local 64bits version:
;[[Image:full_bullet.png]] [[Temp 2010-11 iCub system update/Update iCub on icubsrv|Update iCub on icubsrv]], under the path /exports/code-pc104 and, if you will, the local 64bits version
;[[Image:empty_bullet.png]] Check the scripts that are mounted from icubsrv to pc104 still work:
;[[Image:empty_bullet.png]] Check that the scripts that are mounted from icubsrv to pc104 still work


= Once everything builds =
= Once everything builds =


;[[Image:empty_bullet.png]] Check that each demo works:
;[[Image:empty_bullet.png]] Check that each demo works
 
;[[Image:empty_bullet.png]] Update iCubLisboa01 scripts (.xml and .sh) on chico3 in a clean way (no hardcoded paths, etc.)
;[[Image:empty_bullet.png]] Commit updated scripts to iCub repository iCubLisboa01 directory
;[[Image:empty_bullet.png]] Clean up (backup) unused stuff on iCubLisboa01 directory
;[[Image:empty_bullet.png]] In main/app/pf3dTracker/conf, we should end up having two files - pf3dTracker_iCubLisboa01_left.ini and pf3dTracker_iCubLisboa01_right.ini
;[[Image:full_bullet.png]] Note that our robot files were moved from app/iCubLisboa01 to main/app/robots/iCubLisboa01. Update the repository used by pc104 again (see Lorenzo's email from 2010-11-24)


= Useful bits of code =
= Helper commands =


* Update packages
* Update packages
Line 68: Line 91:


* Start the upgrade:
* Start the upgrade:
   sudo do-release-upgrade  
   sudo do-release-upgrade
 
[[Category:Vislab]]

Latest revision as of 14:00, 24 October 2016

2016 note: this page is obsolete and can be deleted!

Legend

To be done.
Work in progress.
Done!

To do

Chico3

Update OS packages on Chico3
Run disk check on Chico3 (the OS wanted to do it since some time)
Upgrade OS release on Chico3, from 8.04 to 10.04
Update YARP on Chico3
Update iCub on Chico3

icubbrain1

Update OS packages on iCubBrain 1
Upgrade OS release on iCubBrain 1 from 8.04.2 to 10.04? Two problems - (1) only boots with nolapic option; (2) shows only one core. For now, we re-installed 8.04 64 bit
Reboot iCubBrain 1 to use new kernel
Update YARP on iCubBrain 1
Install latest IPOPT and check it
Update iCub on iCubBrain 1

icubbrain2

Update OS packages on iCubBrain 2
Upgrade OS release on iCubBrain 2 from 8.04.2 to 10.04.1
Reboot iCubBrain 2 to use new kernel
Update YARP on iCubBrain 2
Install latest IPOPT and check it
Update iCub on iCubBrain 2

cortex1-5

Update OS packages on Cortex 1-5
Upgrade OS release on Cortex 1-5 from 8.04.2 to 10.04.1
Reboot each Cortex1-5 (there were problems with mounting /home automatically, and with correct permissions, now solved)
Delete user yarp and the old installation of YARP (backed up in /home/icub/svn_yarp2_nov2010_backup)
Backup old iCub installation to svn_iCub_nov2010_backup/
Reinstall YARP on Cortex 1-5, for user icub
Install latest IPOPT and check it
Reinstall iCub on Cortex 1-5, for user icub (had to wipe a whole lot of old libraries)

cortex6

Update OS packages on Cortex 6
Upgrade OS release on Cortex 6 from 8.04.2 to 10.04.1
Delete user yarp and the old installation of YARP (backed up in /home/icub/svn_yarp2_nov2010_backup)
Backup old iCub installation to svn_iCub_nov2010_backup/
Reinstall YARP on Cortex 6, for user icub
Install latest IPOPT and check it
Reinstall iCub on Cortex 6, for user icub.

There used to be this error, it seems to be gone now:

 Linking CXX executable ../../../bin/salience
 ../../../lib/libiCubVis.a(OptFlowEMD.cpp.o): In function `iCub::vis::OptFlowEMD::calculate_flow(_IplImage*, _IplImage*, _IplImage*, _IplImage*, _IplImage*)':
 OptFlowEMD.cpp:(.text+0xd8f): undefined reference to `cv::error(cv::Exception const&)'
 OptFlowEMD.cpp:(.text+0xe7e): undefined reference to `cv::error(cv::Exception const&)'
 collect2: ld returned 1 exit status
 make[2]: *** [bin/salience] Error 1
 make[1]: *** [src/modules/salience/CMakeFiles/salience.dir/all] Error 2
 make: *** [all] Error 2

icubsrv and pc104

Update OS packages on icubsrv
Update YARP on icubsrv, under the path /exports/code-pc104 and, if you will, the local 64bits version
Update iCub on icubsrv, under the path /exports/code-pc104 and, if you will, the local 64bits version
Check that the scripts that are mounted from icubsrv to pc104 still work

Once everything builds

Check that each demo works
Update iCubLisboa01 scripts (.xml and .sh) on chico3 in a clean way (no hardcoded paths, etc.)
Commit updated scripts to iCub repository iCubLisboa01 directory
Clean up (backup) unused stuff on iCubLisboa01 directory
In main/app/pf3dTracker/conf, we should end up having two files - pf3dTracker_iCubLisboa01_left.ini and pf3dTracker_iCubLisboa01_right.ini
Note that our robot files were moved from app/iCubLisboa01 to main/app/robots/iCubLisboa01. Update the repository used by pc104 again (see Lorenzo's email from 2010-11-24)

Helper commands

  • Update packages
  sudo aptitude

then click on u, U and g.

  • Check which is the version of the OS that will be installed through an upgrade:
  nano /etc/update-manager/release-upgrades
  • Start the upgrade:
  sudo do-release-upgrade