[Trac #1348] JFFS2 boot up issue?

Zarro Boogs per Child bugtracker at laptop.org
Tue Apr 17 16:31:17 EDT 2007


#1348: JFFS2 boot up issue?
--------------------+-------------------------------------------------------
 Reporter:  mlj     |        Owner:  dwmw2    
     Type:  defect  |       Status:  new      
 Priority:  normal  |    Milestone:  Untriaged
Component:  distro  |   Resolution:           
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by dilinger):

 This machine also gives a strange error when you attempt to touch
 /dev/nvram; 'cat /dev/nvram >/dev/null' results in an EIO.  The only
 kernel code that would trigger such a thing is the checksum code:

 {{{
 static int
 pc_check_checksum(void)
 {
         int i;
         unsigned short sum = 0;
         unsigned short expect;

         for (i = PC_CKS_RANGE_START; i <= PC_CKS_RANGE_END; ++i)
                 sum += __nvram_read_byte(i);
         expect = __nvram_read_byte(PC_CKS_LOC)<<8 |
             __nvram_read_byte(PC_CKS_LOC+1);
         return ((sum & 0xffff) == expect);
 }
 }}}

 The checksum check failing would cause dd to fail, which would keep the
 dcon check from finding the dcon, which would cause X to fail to start.

-- 
Ticket URL: <http://dev.laptop.org/ticket/1348#comment:3>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list