maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   memory card corrupted (MicroSD) (https://talk.maemo.org/showthread.php?t=49431)

Rob1n 2010-04-08 08:23

Re: memory card corrupted (MicroSD)
 
You can try using sfdisk to partition the card, but it's not the most user-friendly of fdisk programs (it's designed more for scriptability). You can dig out the manual pages online and give it a go though.

oddish2211 2010-04-08 09:27

Re: memory card corrupted (MicroSD)
 
sfdisk: read error on /dev/mmcblk1 - cannot read sector 0
/dev/mmcblk1: unrecognized partition table type
No partitions found

this is what i get when i list all the partitions.
is it possible that the whole card reader isn't working right?
i'll try flashing back to the default kernel this afternoon

jakiman 2010-04-08 09:31

Re: memory card corrupted (MicroSD)
 
Flash the stock kernel back then try again. or even perform a full re-flash.
There is a remote possibility of hw damage caused by overclocking but it would be extremely rare.

MohammadAG 2010-04-08 10:39

Re: memory card corrupted (MicroSD)
 
Quote:

Originally Posted by oddish2211 (Post 600731)
sfdisk: read error on /dev/mmcblk1 - cannot read sector 0
/dev/mmcblk1: unrecognized partition table type
No partitions found

this is what i get when i list all the partitions.
is it possible that the whole card reader isn't working right?
i'll try flashing back to the default kernel this afternoon

Plug it into a PC and use gparted to create a new partition table.
If that doesn't work I'm guessing your card is dead.

oddish2211 2010-04-08 10:50

Re: memory card corrupted (MicroSD)
 
i'll try that this afternoon.
but the card isn't dead, i tested it through my pc

GameboyRMH 2010-04-08 12:25

Re: memory card corrupted (MicroSD)
 
Do you have any other microsd cards you can try? You said it works fine in everything except your N900...could be that your N900 has a problem.

oddish2211 2010-04-08 13:04

Re: memory card corrupted (MicroSD)
 
i have the N900 for about 1 month, i've flashed the 900MHz firmware 3 days ago, i don't know if the memory card problems started before or after i flashed it.

i'll try to reflash it in a minute

edit:
i'm installing ubuntu in a VM, so it'll take more than a few minutes. but should i reflash everything? even the emmc?

Rob1n 2010-04-08 13:53

Re: memory card corrupted (MicroSD)
 
Quote:

Originally Posted by oddish2211 (Post 600934)
i'm installing ubuntu in a VM, so it'll take more than a few minutes. but should i reflash everything? even the emmc?

The eMMC shouldn't affect the SD card at all, so I'd try just doing the firmware first. If that still doesn't work, then do both.

oddish2211 2010-04-08 18:51

Re: memory card corrupted (MicroSD)
 
i've been trough a lot of trouble, and i finally did it.
i've had to flash the os and the emmc. but now my microsd card works again. thanks for all the help

damion 2010-04-08 19:13

Re: memory card corrupted (MicroSD)
 
Other than reflashing, did you also do the repartitioning?

I ask because DOS/Windows will happily and annoyingly transparently, use a partitionless block device (disk) as a drive, say E: or some other letter. You can find out, but it's not immediately obvious that it's not a partition on the SDcard.

Linux/bsd/etc can all do this but you tend to notice. The n900 is looking for /dev/mmcblk1p1 as a fat(32) partition. It won't try the whole device nor accept non fat.

So when you say the MicroSD worked, you might have seen it using /dev/mmcblk1 (or whatever terminology Windows uses to mean whole disk).


All times are GMT. The time now is 22:17.

vBulletin® Version 3.8.8