ECO/7.1.2

From OLPC
< ECO
Revision as of 21:00, 15 January 2008 by Walter (talk | contribs) (→‎Comments)
Jump to navigation Jump to search
  This page is monitored by the OLPC team.

Software ECO, 2008-01-02

Title: Memory over-run; touchpad issues; include OFW


Trac items:

Comments

Comments/discussion

Description

  1. If you create a large file that effectively fills the NAND memory, you will not be able to boot the laptop.
    • Critical bug as data is lost
    • Root cause: The proximate cause is the Journal copying a large file to NAND, a bug we are addressing elsewhere. But that the system react so badly as to become unable to boot adds insult to injury. We are only trying to fix the boot piece of this problem for Ship.2, with other fixes in Update.1 for the complex scenario of events (Journal, jffs2, etc.).
  2. Sometimes when you touch the touchpad, the mouse will jump to the lower right of the display. (Note that this bug fix will not fix ALL problems with jumpy mouse or touchpad issues).
    • Some laptops touchpads are so sensitive as to be unusable.
    • Root cause: The touchpad erroneously reports 0,0 coordinates when it should not. The patch ignores reported 0,0 coordinates.
  3. We inadvertently included an earlier version of the firmware with the OS image in 653; so this build will include the latest firmware, which helps to recover if the internal battery is dislodged.
    • When the laptop is moved or shipped there is a possibility that the battery will be dislodged and the laptop will no longer boot.

Proposed Fix(es)

Patches for Memory and Touchpad issues are included in the trac items.

Reviewers should include: Bernie, Andres, Jim, Scott, Dave Woodhouse, Tomeu, WMB, Ivan


Testing:

  1. Specific tests include creating the NAND memory problem following the description in the Trac item.
  2. The touchpad must continue to work after upgrade; and should NOT show any jumping to lower right of display. This can only be a negative test since it is not possible to force this behavior.
  3. Automated upgrading - this needs to be tested on a small number of laptops in house and then on a larger number of developers laptops; then finally rolled out, possibly in a controlled fashion.
    • Set the timezone and language parameters from sugar-control-panel before upgrade; ensure they are still there after
    • Use activities that save files before upgrade; ensure they are still there after
    • Download flash before upgrade: Adobe_Flash; ensure that it is still there after
    • Install/test a printer before upgrading: Enabling_CUPS; is it still there afterwards
  4. The build must be installed on MP and B4 systems
  5. Upgrades from the previous release.
  6. A Fresh install (as mfg).
  7. 1 Hour Smoke Test both using a fresh installation and an upgraded installation, looking specifically for regressions from the release reports.
  8. More than one SKU and keyboard type are to be used during this testing, to catch regressions in keyboard identification.

Rollout:

In manufacturing this should be dropped in as quickly as possible.
In the field this should be part of an automated upgrade when released.

Test Results

NAND Memory test

  1. Following the same steps as found in track 5719, on build 653 first.
    • I was not able to shutdown after filling NAND. I held the power button to shut it down.
    • On boot up, it was not successful in booting sugar and the final text msg was: 'No space left on device'. I could not get a prompt or do anything else other than cleaninstall. I believe on a WP laptop this would have looked like a hang in boot up.
    • I repeated the test after cleaninstall to 656, and had to use the power button to shut down the laptop in the same way.
    • On boot up, it failed to boot into sugar, but cycled on restarting X. When it got tired of that I was able to get a linux prompt with Ctl-Alt-mesh, which I believe would be the same response on a WP laptop, but I can't test that since 656 is not signed.
    • Next I removed the files in /home/olpc/.sugar/default/data and rebooted. Now boots into sugar and the data is still available in the journal.

Touchpad

  1. So far no problems seen with touchpads. I have about 5 laptops running 656.

Upgrades

  1. Cleaninstall boots up properly on MP and B4; connects to open AP and WPA AP; loads and runs activities.
  2. Network upgrade: I successfully upgraded from the network on 2 laptops.
  3. Automated upgrade:
    • Some laptops at 650, some at 653, some write protected, some not wp, one laptop at joyride build

Generic Tests

  1. One hour smoke test: pretty much the same results as 653: Group Release Notes
  2. Laptops with Spanish keyboard comes up in Spanish. Please see keyboard/language test results for ship2.2 here: test results

Sign off

Security Signoff - to create signed build

Item Comments Version Sign off
OS Version Virtual Terminal os656
olpcrd rpm -qi olpcrd olpcrd-0.39-0.src.rpm
Firmware: OFW /ofw/openprom/model CL1 Q2D07 Q2D
Firmware: EC /ofw/ec-name PQD05
Kernel Virtual Terminal 2.6.22-20071231.2.olpc.83e061da83a269


USR Signoff - for release

Item Version MD5sum Sign off
OS Version OS656
Firmware Q2D07