#12516 NORM Not Tri: Reimaging with fs-update fails if USB keyboard attached to other XO-4 USB port

Zarro Boogs per Child bugtracker at laptop.org
Fri Feb 1 00:48:05 EST 2013


#12516: Reimaging with fs-update fails if USB keyboard attached to other XO-4 USB
port
-------------------------------------------+--------------------------------
           Reporter:  greenfeld            |       Owner:  Quozl                            
               Type:  defect               |      Status:  new                              
           Priority:  normal               |   Milestone:  Not Triaged                      
          Component:  ofw - open firmware  |     Version:  Development build as of this date
         Resolution:                       |    Keywords:                                   
        Next_action:  diagnose             |    Verified:  0                                
Deployment_affected:                       |   Blockedby:                                   
           Blocking:                       |  
-------------------------------------------+--------------------------------

Comment(by Quozl):

 Thanks.

 I do not have a SanDisk 16 GB USB drive to test with, but I have tested
 with a SanDisk Cruzer Colors 4 GB USB drive, and a flexible USB keyboard.
 With a test build that fixes #12466 and avoids heap allocation in the USB
 keyboard interrupt driver, I have reproduced several symptom patterns:
  * a successful fs-update but with loss of USB keyboard response
 afterwards,
  * a "''Wrong expanded data length''",
  * a "''Short read of zdata file''" followed by loss of USB drive access,
 and;
  * a hang,

 But not your symptom.

 Could you please also try with the USB keyboard interrupt driver turned
 off?  (Theory: interference between the keyboard driver and the storage
 driver.)  It fixes the symptom for me, but I'd like to see if your device
 combination does the same.  Here is how I did it:

 {{{
 ok .alarms \ display the scheduled alarms
 Action                Ihandle  Interval  Remaining
 poll-tty                    0      a         3
 get-scan             fd9ffa60      1         1
 get-scan             fd9f77d0      a         3
 ok usb-keyboard-ih . \ check that the USB keyboard instance handler is in
 the list
 fd9f77d0
 ok usb-keyboard-ih iselect ' get-scan 0 alarm iunselect \ remove it
 ok .alarms \ check that it was removed
 Action                Ihandle  Interval  Remaining
 poll-tty                    0      a         9
 get-scan             fd9ffa60      1         1
 ok fs-update ...
 }}}

 If the above test does not pass without error, could you please also try
 with an external powered USB hub between the laptop and both USB devices?
 (Theory: USB power problems.)

-- 
Ticket URL: <http://dev.laptop.org/ticket/12516#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list