Open2X Dr7 And Problems Detecting Sd Card


darionapole

Member
Joined
Jul 10, 2008
Messages
221
I had this problem yesterday, i don't know if this is because of some dirt or someting silly, but just posting because it could be a driver bug.

Well, i inserted my 8GB Transcend SDHC Class 6 card and everything froze up. Tried several times, being always the same result. Until i removed the card, and it gave me and I/O Error and unfroze.

Here's the serial output:

Code:
sh-3.2# SD Card: Card Detected
error is again
SD Card:
 Manufactuer ID : 0x1c
 OEM ID : 0x5356
 Product Name : SDC
 Product Revision : 16
 Product S/N : 0x00006bcd
 Manufacturing Data : 2008/06
SD Card: SDHC card detected
 mmcsd/disc0/disc:SD insertion/removal detected, reloading links & background
Pausing two seconds before reloading menu..
###[mmcsd_slot_mmsp2.c:296]->sdi_interrupt: SDIDSTA_TOUT
Read Time out :0
SD Card: Ejected
Read error => cmd->nSectors:1
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 0
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 2
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 4
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 6
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 0
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 2
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 4
CMD17 failed, ret = -19
end_request: I/O error, dev 3c:00 (mmcsd), sector 6
 unable to read partition table
Register SD: 7647MsB
mount...1
mount...2:
mount... error
del...1
del_mmcsd_device: umount /mnt/sd...-22
del...2
SD insertion/removal detected, reloading links & background
Pausing two seconds before reloading menu..

...trying again.....

Code:
SD Card: Card Detected
error is again
SD Card:
 Manufactuer ID : 0x1c
 OEM ID : 0x5356
 Product Name : SDC
 Product Revision : 16
 Product S/N : 0x00006bcd
 Manufacturing Data : 2008/06
SD Card: SDHC card detected
 mmcsd/disc0/disc:SD Card: Ejected
SD Card: Card Detected
SD Card: Ejected
SD Card: Card Detected
SD Card: Ejected

...and it completely crashed.

Rebooted and it worked...
Code:
SD Card: Card Detected
SD Card:
 Manufactuer ID : 0x1c
 OEM ID : 0x5356
 Product Name : SDC
 Product Revision : 16
 Product S/N : 0x00006bcd
 Manufacturing Data : 2008/06
SD Card: SDHC card detected
Partition check:
 mmcsda: p1
Register SD: 7647MsB
mount...1
mount...2:
SD insertion/removal detected, reloading links & background
Pausing two seconds before reloading menu..

This is the second time this has happened to me in the month
Is this important or it's only some gp2x randomness? :unsure:
 
Welp, I actually use a Transcend 8GB SDHC card so it is probably not the driver, though the driver is not perfect.

Are you safely unmounting the previous card by pressing "X" in GMenu2X, waiting a few seconds, removing the card, waiting a few seconds, and inserting the new one? If not, try doing that of course.

Sometimes Linux on the GP2X just doesn't want to let go of a filesystem. So you'll try to unmount it and nothing happens to the icon on the bottom left. Then, if you try to insert a new SD card anyways, it won't work because now Linux is thoroughly upset and you need to reboot the GP2X. There's not much I can do about that, I spent quite a while working out how to do it best and I think this might be the best it'll get.
 
Yes, always unmount before removing, and every now and then, i check it with fsck just to be sure that it's not corrupted or something, but haven't got a problem since 2 months ago.

Now it's working but i'll try cleaning it with iso alcohol anyways
 
Back
Top