Openmoko Bug #1802: Suspend/resume corrupts SD card's partition table

Openmoko Public Trac bugs at docs.openmoko.org
Wed Sep 3 12:57:08 CEST 2008


#1802: Suspend/resume corrupts SD card's partition table
-----------------------------+----------------------------------------------
 Reporter:  montgoss         |        Owner:  openmoko-kernel
     Type:  defect           |       Status:  new            
 Priority:  normal           |    Milestone:                 
Component:  System Software  |      Version:                 
 Severity:  critical         |   Resolution:                 
 Keywords:                   |    Blockedby:                 
 Blocking:                   |  
-----------------------------+----------------------------------------------

Comment(by Sander):

 Here's a solution that seems to work for everyone (?)

 '''/etc/apm/suspend.d/00sd_idleclk'''

 {{{
 #!/bin/sh

 echo 1 > /sys/module/glamo_mci/parameters/sd_idleclk

 touch /home/root/.profile
 sync;sync;sync

 }}}

 '''/etc/apm/resume.d/00sd_idleclk'''

 {{{
 #!/bin/sh

 echo 0 > /sys/module/glamo_mci/parameters/sd_idleclk
 }}}

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1802#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the openmoko-kernel mailing list