#8566 HIGH 9.1.0: Improved crash and hang diagnosis tools.

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 23 19:49:04 EDT 2008


#8566: Improved crash and hang diagnosis tools.
----------------------------+-----------------------------------------------
   Reporter:  mstone        |       Owner:  JordanCrouse 
       Type:  defect        |      Status:  new          
   Priority:  high          |   Milestone:  9.1.0        
  Component:  not assigned  |     Version:  not specified
 Resolution:                |    Keywords:               
Next_action:  design        |    Verified:  0            
  Blockedby:                |    Blocking:               
----------------------------+-----------------------------------------------

Comment(by JordanCrouse):

 I am attaching a very untested patch - it does nearly everything we need,
 except for verify that we're running on an OLPC and not overwriting random
 hardware.  It uses two pages of memory - both pages have a small header on
 the top with the head and tail of the buffer, plus a signature and a
 sequence number.  The sequence number and signature should match on both,
 and should indicate which buffer is to be used for the current boot (and
 by extension, which one should be groked for the previous log).  New
 activity is printed in the current log, and the previous log is outputted
 if you cat /sys/platform/xolog/prevlog.

 All we need is OFW to ignore the block, and probably communicate it to us
 through the device tree.

 Please give it a look and comment - keep in mind that it is probably rife
 with bugs, so flame on.

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


More information about the Bugs mailing list