#12657 NORM 13.2.0: Fix btmrvl/mwifiex suspend interactions

Zarro Boogs per Child bugtracker at laptop.org
Thu May 23 15:25:32 EDT 2013

#12657: Fix btmrvl/mwifiex suspend interactions
           Reporter:  dsd     |       Owner:  pgf          
               Type:  defect  |      Status:  new          
           Priority:  normal  |   Milestone:  13.2.0       
          Component:  kernel  |     Version:  not specified
         Resolution:          |    Keywords:               
        Next_action:  code    |    Verified:  0            
Deployment_affected:          |   Blockedby:               
           Blocking:          |  

Comment(by dsd):

 With some sleeps and printks I found a semi-reliable way to reproduce the
 hang on demand, with no_console_suspend available.

 By hooking up show_state() to the power button I found the issue. The
 btmrvl bluetooth driver is waiting for its main thread to stop. There is a
 race here meaning that the thread will not always be stopped when
 requested. And evidently this race becomes a lot more likely to happen
 when the mwifiex interrupt storm happens at the same time.

 Pushed as b572bafeb49

 Also pushed the mwifiex fix to stop ignoring interrupts as 523009baf7204

 However testing further I can still reproduce a hang :( even with
 no_console_suspend enabled though, so I should be able to use the same
 debugging approach...

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

More information about the Bugs mailing list