Temp 2010-11 iCub system update: Difference between revisions

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


Line 21: Line 23:
;[[Image:empty_bullet.png]] Reboot iCubBrain 1 to use new kernel
;[[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:full_bullet.png]] Install latest IPOPT and check it
;[[Image:full_bullet.png]] Update iCub on iCubBrain 1
;[[Image:full_bullet.png]] Update iCub on iCubBrain 1


Line 29: Line 32:
;[[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:full_bullet.png]] Update iCub on iCubBrain 2, including IPOPT 3.9.0
;[[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]] PROBLEM: the /home directory is not mounted automatically... for now, it is sufficient that one user issues the command "mount /home" after a system reboot, but we should fix this problem.
;[[Image:full_bullet.png]] Delete user yarp and the old installation of YARP (backed up in /home/icub/svn_yarp2_nov2010_backup)
;[[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:full_bullet.png]] Delete user yarp and the old installation of YARP (backed up in /home/icub/svn_yarp2_nov2010_backup)
;[[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 6, for user icub
;[[Image:full_bullet.png]] Backup old iCub installation to svn_iCub_nov2010_backup/
;[[Image:empty_bullet.png]] Update iCub on Cortex 6, for user icub
;[[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 and pc104 ==
== icubsrv and pc104 ==
Line 63: Line 79:
;[[Image:empty_bullet.png]] Clean up (backup) unused stuff on 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: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:empty_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)
;[[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)


= Helper commands =
= Helper commands =
Line 75: 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