#8301 BLOC 8.2.0 (: Fast suspend/resume cycle causes a libertas crash

Zarro Boogs per Child bugtracker at laptop.org
Fri Sep 5 17:49:09 EDT 2008


#8301: Fast suspend/resume cycle causes a libertas crash
------------------------+---------------------------------------------------
   Reporter:  cjb       |       Owner:  dsaxena                        
       Type:  defect    |      Status:  new                            
   Priority:  blocker   |   Milestone:  8.2.0 (was Update.2)           
  Component:  kernel    |     Version:  not specified                  
 Resolution:            |    Keywords:  blocks-:8.2.0 cjbfor8.2 relnote
Next_action:  diagnose  |    Verified:  0                              
  Blockedby:            |    Blocking:                                 
------------------------+---------------------------------------------------

Comment(by cjb):

 Cool, here we go.  Happened immediately on turning on loglevel 9 and
 closing the lid.  EC cmd 0x35 is the 8388 power down.

 {{{
 [  245.345392] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [  245.469350] libertas thread (INT): lbs_interrupt: intcounter=0
 [  245.479405] libertas thread: main-thread 222 (waking up): intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [  245.480099] libertas thread: main-thread 333: intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [  245.490401] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  245.498863] libertas thread: main-thread: cmd response ready
 [  245.501529] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  245.509955] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [  246.259117] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.262126] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.272131] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.282475] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=2
 [  246.291878] libertas thread (INT): lbs_interrupt: intcounter=0
 [  246.298089] libertas thread: main-thread 222 (waking up): intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [  246.302052] libertas thread: main-thread 333: intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [  246.312038] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.320497] libertas thread: main-thread: cmd response ready
 [  246.323247] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=2
 [  246.331863] libertas thread (INT): lbs_interrupt: intcounter=0
 [  246.338063] libertas thread: main-thread 222 (waking up): intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [  246.342044] libertas thread: main-thread 333: intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [  246.352038] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.360495] libertas thread: main-thread: cmd response ready
 [  246.362988] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.372767] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [  246.435664] olpc-ec:  running cmd 0x26
 [  246.440454] olpc-ec:  sending cmd arg 0x0
 [  246.571521] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.592848] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.620279] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  246.621995] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=2
 [  246.651104] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [  246.676459] olpc-ec:  running cmd 0x35
 [  246.681388] devpath 1 ep3in 3strikes
 [  246.685092] usb 2-1: USB disconnect, address 2
 [  246.707142] olpc-ec:  running cmd 0x1c
 [  246.711293] olpc-ec:  received 0xff
 [  246.711395] olpc-ec:  running cmd 0x1b
 [  246.718171] olpc-ec:  sending cmd arg 0xdf
 [  246.825085] olpc-ec:  running cmd 0x1c
 [  246.831293] olpc-ec:  received 0xdf
 [  246.831355] olpc-ec:  running cmd 0x1b
 [  246.836123] olpc-ec:  sending cmd arg 0xde
 [  246.972093] olpc-ec:  running cmd 0x1c
 [  246.978893] olpc-ec:  received 0xde
 [  246.981387] olpc-ec:  running cmd 0x1b
 [  246.986157] olpc-ec:  sending cmd arg 0x9e
 [  247.078694] olpc-ec:  running cmd 0x1c
 [  247.081293] olpc-ec:  received 0x9e
 [  247.081393] olpc-ec:  running cmd 0x1b
 [  247.086165] olpc-ec:  sending cmd arg 0x96
 [  247.151888] olpc-ec:  running cmd 0x1c
 [  247.158688] olpc-ec:  received 0x96
 [  247.161377] olpc-ec:  running cmd 0x1b
 [  247.166151] olpc-ec:  sending cmd arg 0x92
 [  247.258654] olpc-ec:  running cmd 0x1c
 [  247.261293] olpc-ec:  received 0x92
 [  247.261373] olpc-ec:  running cmd 0x1b
 [  247.266144] olpc-ec:  sending cmd arg 0x90
 [  247.321846] PM: Syncing filesystems ... done.
 [  247.361452] PM: Preparing system for mem sleep
 [  247.388221] Freezing user space processes ... (elapsed 0.01 seconds)
 done.
 [  247.417623] Freezing remaining freezable tasks ... <6>libertas: Command
 6 timed out
 [  256.614535] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  256.621524] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  256.631522] libertas thread: adapter removed; waiting to die...
 [  256.637459] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [  256.641532] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [  267.431686]
 [  267.433196] Freezing of tasks failed after 20.00 seconds (1 tasks
 refusing to freeze):
 [  267.441206]   task                PC stack   pid father
 [  267.441601] init          D cdd47b80  2388     1      0
 [  267.444354]        ce81f470 00000082 ce81f6d0 cdd47b80 9ada4511
 00000039 00c21078 ce817efb
 [  267.455704]        00000000 00000000 ce817fb8 ce817f10 c04324a5
 00000000 c041e0f2 ce817fb8
 [  267.467333]        ce817f90 ce81fa44 00000000 00000000 ce817fb8
 ce817000 c0402eaf 00000000
 [  267.471601] Call Trace:
 [  267.471697]  [<c04324a5>] refrigerator+0xaa/0xb5
 [  267.476368]  [<c041e0f2>] get_signal_to_deliver+0x31/0x2d8
 [  267.484682]  [<c0402eaf>] do_notify_resume+0x7e/0x692
 [  267.491702]  [<c05eda4c>] _spin_lock_irqsave+0x18/0x1d
 [  267.496895]  [<c0424140>] remove_wait_queue+0x16/0x22
 [  267.504234]  [<c05edba2>] _spin_unlock_irqrestore+0x14/0x29
 [  267.511681]  [<c0417cd1>] do_wait+0x86a/0x8ff
 [  267.516108]  [<c04dc0be>] copy_to_user+0x2f/0x45
 [  267.520864]  [<c0462372>] sys_select+0x156/0x17c
 [  267.521601]  [<c040387c>] work_notifysig+0x9/0x11
 [  267.523881]  =======================
 }}}

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


More information about the Bugs mailing list