12757: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
== Solution ==
== Solution ==


Install a replacement kernel. Start the Terminal activity and type this:
For OLPC OS 13.2.0 or 12.1.0, install this fixed kernel. Start the Terminal activity and type this:


wget http://dev.laptop.org/~quozl/12757/kernel-3.3.8_xo1-20140212.0718.olpc.e98f01a.i686.rpm
wget http://dev.laptop.org/~quozl/12757/kernel-3.3.8_xo1-20140212.0718.olpc.e98f01a.i686.rpm
Line 14: Line 14:


This solution will be included in any future release of OLPC OS.
This solution will be included in any future release of OLPC OS.

For earlier releases of OLPC OS, please upgrade.


== Workaround ==
== Workaround ==

Revision as of 21:45, 11 February 2014

OLPC has identified and fixed a problem with the XO-1 wireless driver.

Problem

Access points are not shown in network neighbourhood, or take a long time to be shown, especially as the number of XO-1 laptops in a room increases. This prevents use of the network.

Solution

For OLPC OS 13.2.0 or 12.1.0, install this fixed kernel. Start the Terminal activity and type this:

wget http://dev.laptop.org/~quozl/12757/kernel-3.3.8_xo1-20140212.0718.olpc.e98f01a.i686.rpm
sudo rpm -U kernel-3.3.8_xo1-20140212.0718.olpc.e98f01a.i686.rpm
rm kernel-3.3.8_xo1-20140212.0718.olpc.e98f01a.i686.rpm
sudo reboot

This solution will be included in any future release of OLPC OS.

For earlier releases of OLPC OS, please upgrade.

Workaround

If the solution cannot be applied, there are two alternate workarounds:

  • On an affected laptop, repeat the scan using Terminal until the access point appears:
sudo iwlist eth0 scan
  • Disable mesh on all laptops within 300m. This may be impractical for some deployments, since mesh is often useful.

Diagnosis

Mesh probe responses that are sent by other XO-1s, and arrive at an XO-1 during a scan, cause the loss of scan results for access points that responded later. As the number of XO-1 laptops increases relative to the number of access points, the probability of failure increases. With one access point and nine XO-1 laptops the probability of failure can be as high as 90%. The probability of failure also depends on the collision detection backoff, which may depend on the MAC address of the access point.

Verification

Enable scan debugging and watch the kernel messages:

sudo su
echo 0x80 > /sys/module/libertas/parameters/libertas_debug
cat /proc/kmsg

Check if the message scan response: invalid IE fmt is shown. The message only appears if the problem occurs.

Credits

  • a microdeployment in Haiti,
  • a deployment in Nepal,
  • Terry Gillett of the Village Telco project for trying to figure out which access point models would work, only to find that any access point may not work,
  • James Cameron of OLPC, for finding the problem and fixing it,
  • Tim Moody for testing,

See Also