#12735 NORM Future : Wlan test may not run after ntp-set-clock, at least in graphical test run
Zarro Boogs per Child
bugtracker at laptop.org
Wed Aug 14 05:20:39 EDT 2013
#12735: Wlan test may not run after ntp-set-clock, at least in graphical test run
-------------------------------------------+--------------------------------
Reporter: greenfeld | Owner: Quozl
Type: defect | Status: new
Priority: normal | Milestone: Future Release
Component: ofw - open firmware | Version: Software Build 13.2.0-13
Resolution: | Keywords:
Next_action: package | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
-------------------------------------------+--------------------------------
Changes (by Quozl):
* next_action: diagnose => package
* milestone: Not Triaged => Future Release
Comment:
Reproducer:
{{{
ok essid open
ok ntp-set-clock
ok ping 8.8.8.8
deferred word not initialized
Can't open network device
}}}
The wireless indicator remains lit after ntp-set-clock, but it should not.
Diagnosis: ntp-set-clock does an SNTP query for a series of hosts:
* the host identified as ''ntp-server-ip'' by the DHCP server response,
* the host with name "time",
* the host with IP address 172.18.0.1,
* the host with name "0.pool.ntp.org", and so on.
The query for the host with name "time" did fail, and the abort left the
/wlan device open. This led to the symptoms.
Solution: handle the abort and close the device. Fixed in svn 3699. The
wireless indicator now correctly turns on for each SNTP query, and turns
off afterwards.
http://dev.laptop.org/~quozl/q3c16jd.rom
--
Ticket URL: <http://dev.laptop.org/ticket/12735#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list