#7607 NORM 8.2.0 (: OpenFirmware jffs2 hang on boot

Zarro Boogs per Child bugtracker at laptop.org
Wed Jul 23 16:02:19 EDT 2008


#7607: OpenFirmware jffs2 hang on boot
-----------------------------------+----------------------------------------
   Reporter:  dsd                  |       Owner:  wmb at firmworks.com   
       Type:  defect               |      Status:  closed              
   Priority:  normal               |   Milestone:  8.2.0 (was Update.2)
  Component:  ofw - open firmware  |     Version:                      
 Resolution:  fixed                |    Keywords:  q2e11:-             
Next_action:  never set            |    Verified:  0                   
  Blockedby:                       |    Blocking:                      
-----------------------------------+----------------------------------------
Changes (by wmb at firmworks.com):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 The NAND image cited above contains a partially-written erase block.  A
 JFFS2 dirent node spans a page boundary where the second page is all ff's,
 as if the power were turned off in the middle of a write sequence.

 There was a bug in the OFW JFFS2 code that caused an infinite loop in that
 case.

 Fixed by svn 858.  The fix will appear in q2e12.

 That checkin also adds a new OFW command "debug-jffs2" that will turn on
 warnings about bad nodes:

 ok debug-jffs2  dir nand:\

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


More information about the Bugs mailing list