#7303 BLOC 8.2.0 (: Libertas disconnects on resume with testing/master kernels.

Zarro Boogs per Child bugtracker at laptop.org
Fri Jun 27 20:35:49 EDT 2008


#7303: Libertas disconnects on resume with testing/master kernels.
-------------------------+--------------------------------------------------
   Reporter:  cjb        |       Owner:  jcardona            
       Type:  defect     |      Status:  new                 
   Priority:  blocker    |   Milestone:  8.2.0 (was Update.2)
  Component:  wireless   |     Version:  Update.1            
 Resolution:             |    Keywords:  8.2.0:?             
Next_action:  never set  |    Verified:  0                   
  Blockedby:             |    Blocking:                      
-------------------------+--------------------------------------------------

Comment(by jcardona):

 To start narrowing down this problem, we reverted to an older version of
 the firmware in which
 suspend/resume was working (5.110.17.p0) with the joyride build documented
 on this ticket (joyride-2075).  The results are the same:  the device goes
 away on resume.

 {{{
 [ 4786.022903] PM: Syncing filesystems ... done.
 [ 4786.025824] Freezing user space processes ... <7>libertas cmd:
 DNLD_CMD: sent
  command 0x0003, jiffies 436881
 [ 4786.045985] libertas: 00:17:c4:14:68:7a, fw 5.110.17p0, cap 0x000003a3
 [ 4786.056334] (elapsed 0.09 seconds) <7>libertas cmd: DNLD_CMD: sent
 command 0x
 0022, jiffies 436890
 [ 4786.069987] done.
 [ 4786.075895] Freezing remaining freezable tasks ... <6>libertas:
 PREP_CMD: com
 mand 0x00a3 failed: 2
 [ 4786.086892] libertas: PREP_CMD: command 0x00a3 failed: 2
 [ 4786.095947] libertas: eth0: Marvell WLAN 802.11 adapter
 [ 4786.108347] libertas: PREP_CMD: command 0x0074 failed: 2
 [ 4786.115707] usb8xxx: Firmware does not seem to support PS mode
 [ 4786.125830] (elapsed 0.13 seconds) done.
 [ 4786.135714] Suspending console(s)
 +r[ 4786.196819] olpc-dcon: The DCON has control
 [ 4786.231158] olpc_do_sleep!
 [ 4786.421680] usb usb1: root hub lost power or was reset
 [ 4786.434848] usb usb2: root hub lost power or was reset
 [ 4786.639725] olpc-dcon: The CPU has control
 [ 4786.999641] Restarting tasks ... done.
 [ 4787.139701] usb 2-1: USB disconnect, address 8   << !!!!!!
 bash-3.2# [ 4787.319838] hub_port_wait_reset: portstatus=503 portchange=10
 [ 4787.389641] usb 2-1: new high speed USB device using ehci_hcd and
 address 9
 [ 4787.459774] hub_port_wait_reset: portstatus=503 portchange=10
 [ 4787.564026] usb 2-1: configuration #1 chosen from 1 choice
 [ 4793.557198] usb_reset_device!
 [ 4793.560699] devpath 1 ep3in 3strikes
 [ 4793.612864] hub_port_wait_reset: portstatus=503 portchange=10
 }}}

 This leaves the following as possible causes for this problem:

  1. power loss at the device
  2. driver not issuing the EC command that initiates the GPIO handshake
  1. EC not executing the
 [http://www.laptop.org/teamwiki/index.php/Tech:Suspend_Resume_Protocol
 GPIO suspend/resume handshake]

 We'll focus on probable cause 2 for now.

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


More information about the Bugs mailing list