#11359 HIGH 1.75-so: Psmouse kernel panic on shutdown

Zarro Boogs per Child bugtracker at laptop.org
Fri Oct 28 16:12:10 EDT 2011

#11359: Psmouse kernel panic on shutdown
           Reporter:  greenfeld  |       Owner:  pgf                              
               Type:  defect     |      Status:  new                              
           Priority:  high       |   Milestone:  1.75-software                    
          Component:  kernel     |     Version:  Development build as of this date
         Resolution:             |    Keywords:                                   
        Next_action:  diagnose   |    Verified:  0                                
Deployment_affected:             |   Blockedby:                                   
           Blocking:             |  

Comment(by pgf):

 i think this is the initial cause of this crash:


 [  670.415331] Finger Sensing Pad, hw: 13.2.1, sw: 1.0.0-K, buttons: 4
 [  670.721453] psmouse serio1: Unable to enable 4 bytes packet format.


 if the call to fsp_activate_protocol() fails, psmouse->private is freed
 and NULLed, and fsp_init() will return failure.

 i haven't quite figured out the circumstances in which we'll fail the init
 and still install the driver, but i also can't convince myself that it
 can't happen.  if it does, then psmouse->private will be null, and we'll
 crash on cleanup.  note also that fsp_init() will have skipped the
 creation of the sysfs nodes, which may affect tap-to-click control?

 regardless, with more debugging i'm starting to think that when we clean
 up the miscommunication that's happening to the keyboard, most of our
 psmouse and keyboard bugs will go away.

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

More information about the Bugs mailing list