Re: SD slot + suspend

2008-09-03 Thread Daniel Benoy
The workarounds seemed to work for me :)  Apparantly it has to do with the GPS 
interferance workarounds.. you need to turn the (GPS interfering) idle clock 
back on when you suspend or else corruption.

Thanks for the help, all :)

On Wednesday 03 September 2008 00:26:54 Doug Jones wrote:
> Daniel Benoy wrote:
> > I've been having trouble with my SD card ever since I upgraded my kernel 
> > (with 
> > the unstable feed) and turned on suspend... specifically, it got wiped out 
> > :(  
> > Multiple times.  I don't know if it's a coincidence or now.. I wonder if 
> > someone who's brave and doesn't have important data on their card could try 
> > reproducing this?   Mount a partition and/or run something like 
> > badblocks /dev/mmcblk0 and then while that's going suspsend... and see if 
> > your data goes poof.
> > 
> > Maybe it's just me.. possibly a defective SD card.
> > 
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> > 
> 
> 
> This is a known problem.  I'm still waiting for a definitive resolution 
> before I order my FR.
> 
> It's not just openmoko that's affected.  This same bug took down the SD 
> card in my OLPC laptop back in January.
> 
> There have been persistent rumors that there are people who understand 
> this problem and know how to fix it. But I still haven't seen any 
> announcement that the problem has actually, really, finally been 
> eliminated in any shipping software.
> 
> Apparently this bug doesn't affect cards of size 512MB and smaller.
> 
> Many people who are trying to do things that require SD cards are 
> working around the problem by disabling suspend.  Battery life suffers, 
> but at least development can happen.
> 
> 
> http://docs.openmoko.org/trac/ticket/1802
> 
> http://dev.laptop.org/ticket/6532
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 



-- 
Daniel Benoy
http://daniel.benoy.name

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SD slot + suspend

2008-09-03 Thread Sander van Grieken
> Daniel Benoy wrote:
>> I've been having trouble with my SD card ever since I upgraded my kernel 
>> (with
>> the unstable feed) and turned on suspend... specifically, it got wiped out :(
>
> This is a known problem.  I'm still waiting for a definitive resolution
> before I order my FR.
>
> Many people who are trying to do things that require SD cards are
> working around the problem by disabling suspend.  Battery life suffers,
> but at least development can happen.

No it has to do with the SD clock.

quoting solution:

Works for me. Two shell scripts:

/etc/apm/suspend.d/00sd_idleclk
which contains


#!/bin/sh

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

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


and
/etc/apm/resume.d/00sd_idleclk
which contains


#!/bin/sh

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


with that, suspend and resume works as expected.

-stacy



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SD slot + suspend

2008-09-02 Thread Doug Jones
Daniel Benoy wrote:
> I've been having trouble with my SD card ever since I upgraded my kernel 
> (with 
> the unstable feed) and turned on suspend... specifically, it got wiped out :( 
>  
> Multiple times.  I don't know if it's a coincidence or now.. I wonder if 
> someone who's brave and doesn't have important data on their card could try 
> reproducing this?   Mount a partition and/or run something like 
> badblocks /dev/mmcblk0 and then while that's going suspsend... and see if 
> your data goes poof.
> 
> Maybe it's just me.. possibly a defective SD card.
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 


This is a known problem.  I'm still waiting for a definitive resolution 
before I order my FR.

It's not just openmoko that's affected.  This same bug took down the SD 
card in my OLPC laptop back in January.

There have been persistent rumors that there are people who understand 
this problem and know how to fix it. But I still haven't seen any 
announcement that the problem has actually, really, finally been 
eliminated in any shipping software.

Apparently this bug doesn't affect cards of size 512MB and smaller.

Many people who are trying to do things that require SD cards are 
working around the problem by disabling suspend.  Battery life suffers, 
but at least development can happen.


http://docs.openmoko.org/trac/ticket/1802

http://dev.laptop.org/ticket/6532


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SD slot + suspend

2008-09-02 Thread Tim Erwin
On Wed, Sep 3, 2008 at 10:55 AM, Daniel Benoy <[EMAIL PROTECTED]> wrote:

> I've been having trouble with my SD card ever since I upgraded my kernel
> (with
> the unstable feed) and turned on suspend... specifically, it got wiped out
> :(
>

It is a know bug:

http://docs.openmoko.org/trac/ticket/1802

Some fixes are here:

http://wiki.openmoko.org/wiki/Debian#Suspend

Cheers,

Tim
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SD slot + suspend

2008-09-02 Thread Steven Kurylo
If you search the list, this is discussed to death with several work arounds.

On Tue, Sep 2, 2008 at 5:55 PM, Daniel Benoy <[EMAIL PROTECTED]> wrote:
> I've been having trouble with my SD card ever since I upgraded my kernel (with
> the unstable feed) and turned on suspend... specifically, it got wiped out :(
> Multiple times.  I don't know if it's a coincidence or now.. I wonder if
> someone who's brave and doesn't have important data on their card could try
> reproducing this?   Mount a partition and/or run something like
> badblocks /dev/mmcblk0 and then while that's going suspsend... and see if
> your data goes poof.
>
> Maybe it's just me.. possibly a defective SD card.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


SD slot + suspend

2008-09-02 Thread Daniel Benoy
I've been having trouble with my SD card ever since I upgraded my kernel (with 
the unstable feed) and turned on suspend... specifically, it got wiped out :(  
Multiple times.  I don't know if it's a coincidence or now.. I wonder if 
someone who's brave and doesn't have important data on their card could try 
reproducing this?   Mount a partition and/or run something like 
badblocks /dev/mmcblk0 and then while that's going suspsend... and see if 
your data goes poof.

Maybe it's just me.. possibly a defective SD card.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community