<div dir="ltr">Hi all,<br><br>I can now reliably reproduce the issue, as dd&#39;ing the mbr back to the card so far restores sane behaviour :<br><br>If sd_drive is set to &quot;0&quot;, then after a resume from &quot;sync &amp;&amp; apm -s&quot; the MBR of my 4GB SanDisk is wiped - so far I haven&#39;t noticed any other errors, but have not looked very closely.<br>
<br>To recover, I use the following commands:<br>---------------<br># re-write MBR<br>dd if=mmcblk0_512_1.dump of=/dev/mmcblk0<br># recognize partitions again<br>echo &quot;1&quot;&gt;/sys/module/glamo_mci/parameters/sd_drive<br>
apm -s<br>----------------<br><br>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 ?<br><br>Unmounting the card before suspend should help, and I&#39;ll also gladly try another kernel and other partitions setup if I find the time.<br>
<br>Btw, this all happens on a 4GB SanDisk with 4 primary partitions:<br>20M vfat + (196M +196M +3.2G ) ext2 and kernel om-gta02 2.6.24 Wed Jul 23 06:34:19 <br><br>Stefan<br><br>PS: Can somebody please tell me how to re-initialize the card without going through another suspend/resume cycle ?<br>
<br><br><br><br><div class="gmail_quote">On Thu, Jul 24, 2008 at 9:53 AM, arne anka &lt;<a href="mailto:openmoko@ginguppin.de">openmoko@ginguppin.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">&gt; Everybody, get a Micro-SD card and stick it in your Neo. &nbsp;Put some<br>
<br>
</div>should that apply to multiboot or to _every_ use of the sd card?<br>
i use suspend/resume more or less successfully for a week or 10 days now<br>
and the files on my sd card (4gb, how do i determine the exact name from a<br>
running system?) still are unharmed.<br>
gta02, 2007.2, upgrade every or every second day.<br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br></div>