strange problem with Intenso 4GB SDHC card

David Meder-Marouelli openmoko at
Thu Jul 24 14:25:44 CEST 2008

Hi Stefan,

maybe it turn out to be the same problem that I also have.

After the the card settles (see above in this thread), i can do the

1) fdisk -l /dev/mmcblk0
    Result: error
2) fdisk -l /dev/mmcblk0
    Result: empty partition table!!!
3) fdisk -l /dev/mmcblk0
    Result: correct full partition table!!!

[Note: nothing else changed in between]

To re-ead the partition table just start "fdisk /dev/mmcblk0", verify
that partition table is ok with "p", re-write unaltered partition table
with "w". After that it's re-read by the kernel and the Frerunner
recognises it.



Stefan Fröbe schrieb:
> Hi all,
> I can now reliably reproduce the issue, as dd'ing the mbr back to the
> card so far restores sane behaviour :
> If sd_drive is set to "0", then after a resume from "sync && apm -s"
> the MBR of my 4GB SanDisk is wiped - so far I haven't noticed any
> other errors, but have not looked very closely.
> To recover, I use the following commands:
> ---------------
> # re-write MBR
> dd if=mmcblk0_512_1.dump of=/dev/mmcblk0
> # recognize partitions again
> echo "1">/sys/module/glamo_mci/parameters/sd_drive
> apm -s
> ----------------
> So it looks as if the sd_drive parameter does have a role in this -
> any suggestions on what else I should try, or what logs you guys need ?
> Unmounting the card before suspend should help, and I'll also gladly
> try another kernel and other partitions setup if I find the time.
> Btw, this all happens on a 4GB SanDisk with 4 primary partitions:
> 20M vfat + (196M +196M +3.2G ) ext2 and kernel om-gta02 2.6.24 Wed Jul
> 23 06:34:19
> Stefan
> PS: Can somebody please tell me how to re-initialize the card without
> going through another suspend/resume cycle ?
> On Thu, Jul 24, 2008 at 9:53 AM, arne anka <openmoko at
> <mailto:openmoko at>> wrote:
>     > Everybody, get a Micro-SD card and stick it in your Neo.  Put some
>     should that apply to multiboot or to _every_ use of the sd card?
>     i use suspend/resume more or less successfully for a week or 10
>     days now
>     and the files on my sd card (4gb, how do i determine the exact
>     name from a
>     running system?) still are unharmed.
>     gta02, 2007.2, upgrade every or every second day.
>     _______________________________________________
>     Openmoko community mailing list
>     community at <mailto:community at>
> ------------------------------------------------------------------------
> _______________________________________________
> Openmoko community mailing list
> community at

More information about the community mailing list