SD card automount and autoPNDscan not working


dmarschal

Member
Joined
Feb 13, 2009
Messages
116
Location
Hungary
Website
www.marschalgrips.com
I have issues with my SD cards.

Nothing happens when I insert an SD card into my GC Pandora. The card is not mounted and PND's don't show up on screen/menu. It does not matter what slot is being used.

It's mounted and sometimes PNDs show up when I put my Pandora into sleep and wake it up.

All my SD cards are working fine with a Ghz unit. (automount and PND-scan).

edit: all cards are working fine with an USB-SD adapter.

Is there a script or a command line utility to automount and re-scan SD cards?
 
Last edited by a moderator:

WizardStan

Mega GP Mania
Joined
May 24, 2008
Messages
16,733
Insert your card and run "dmesg" on a command line, see if there are any messages towards the end relating to "mmc" devices (mmcblk0p1, etc...). If possible, copy and paste those messages here.

Does this happen with all cards, just one card, or do you only have the one card to try?
 

frefol

Member
Joined
Apr 20, 2006
Messages
189
I had this problem with the right slot of my 1GHz Pandora.  In my case, it was a problem with the card detect switch.  It acted just like you said where I could put it to sleep and then wake it up to get it to detect the card.
 

dmarschal

Member
Joined
Feb 13, 2009
Messages
116
Location
Hungary
Website
www.marschalgrips.com
PANDORA WAKES UP
[119104.877777] Successfully put all powerdomains to target state
[119104.878509] PM: early resume of devices complete after 0.610 msecs
[119105.543090] PM: resume of devices complete after 664.398 msecs
[119105.543762] Restarting tasks ... done.
[119106.074493] gadget: using random self ethernet address
[119106.074554] gadget: using random host ethernet address
[119106.079528] usb0: MAC fe:de:fb:9c:27:24
[119106.079559] usb0: HOST MAC 1e:80:5a:c6:ac:85
[119106.097625] gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[119106.097656] gadget: g_cdc ready
[119106.110443] musb-hdrc musb-hdrc: MUSB HDRC host driver
[119106.110595] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[119106.110748] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[119106.110748] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[119106.110778] usb usb1: Product: MUSB HDRC host driver
[119106.110778] usb usb1: Manufacturer: Linux 3.2.39 musb-hcd
[119106.110809] usb usb1: SerialNumber: musb-hdrc
[119106.114044] hub 1-0:1.0: USB hub found
[119106.114105] hub 1-0:1.0: 1 port detected
CARD 1 inserted
[119151.860321] mmcblk1: error -110 sending status command, retrying
[119151.860595] mmcblk1: error -110 sending status command, retrying
[119151.860748] mmcblk1: error -110 sending status command, aborting
[119151.860961] end_request: I/O error, dev mmcblk1, sector 0
[119151.861114] quiet_error: 2 callbacks suppressed
[119151.861114] Buffer I/O error on device mmcblk1, logical block 0
[119151.861358] end_request: I/O error, dev mmcblk1, sector 8
[119151.861480] Buffer I/O error on device mmcblk1, logical block 1
[119151.861694] end_request: I/O error, dev mmcblk1, sector 16
[119151.861816] Buffer I/O error on device mmcblk1, logical block 2
[119151.862060] end_request: I/O error, dev mmcblk1, sector 24
[119151.862182] Buffer I/O error on device mmcblk1, logical block 3
[119151.862609] mmcblk1: error -110 sending status command, retrying
[119151.862792] mmcblk1: error -110 sending status command, retrying
[119151.863006] mmcblk1: error -110 sending status command, aborting
[119151.863159] end_request: I/O error, dev mmcblk1, sector 0
[119151.863372] Buffer I/O error on device mmcblk1, logical block 0
[119151.863800] mmcblk1: error -110 sending status command, retrying
[119151.864044] mmcblk1: error -110 sending status command, retrying
[119151.864196] mmcblk1: error -110 sending status command, aborting
[119151.864440] end_request: I/O error, dev mmcblk1, sector 7882744
[119151.864562] Buffer I/O error on device mmcblk1, logical block 985343
[119151.864837] mmcblk1: error -110 sending status command, retrying
[119151.865081] mmcblk1: error -110 sending status command, retrying
[119151.865234] mmcblk1: error -110 sending status command, aborting
[119151.865447] end_request: I/O error, dev mmcblk1, sector 7882744
[119151.865570] Buffer I/O error on device mmcblk1, logical block 985343
[119151.866302] mmcblk1: error -110 sending status command, retrying
[119151.866455] mmcblk1: error -110 sending status command, retrying
[119151.866699] mmcblk1: error -110 sending status command, aborting
[119151.866821] end_request: I/O error, dev mmcblk1, sector 0
[119151.867034] Buffer I/O error on device mmcblk1, logical block 0
[119151.867187] end_request: I/O error, dev mmcblk1, sector 8
[119151.867401] Buffer I/O error on device mmcblk1, logical block 1
[119151.867523] end_request: I/O error, dev mmcblk1, sector 16
[119151.867767] Buffer I/O error on device mmcblk1, logical block 2
[119151.867889] end_request: I/O error, dev mmcblk1, sector 24
[119151.868316] mmcblk1: error -110 sending status command, retrying
[119151.868469] mmcblk1: error -110 sending status command, retrying
[119151.868713] mmcblk1: error -110 sending status command, aborting
[119151.868927] end_request: I/O error, dev mmcblk1, sector 0

CARD 2 inserted
[119279.083129] mmcblk1: error -110 sending status command, retrying
[119279.083435] mmcblk1: error -110 sending status command, retrying
[119279.083587] mmcblk1: error -110 sending status command, aborting
[119279.083801] end_request: I/O error, dev mmcblk1, sector 0
[119279.083953] quiet_error: 2 callbacks suppressed
[119279.083953] Buffer I/O error on device mmcblk1, logical block 0
[119279.084197] end_request: I/O error, dev mmcblk1, sector 8
[119279.084320] Buffer I/O error on device mmcblk1, logical block 1
[119279.084533] end_request: I/O error, dev mmcblk1, sector 16
[119279.084655] Buffer I/O error on device mmcblk1, logical block 2
[119279.084869] end_request: I/O error, dev mmcblk1, sector 24
[119279.085021] Buffer I/O error on device mmcblk1, logical block 3
[119279.094726] mmcblk1: error -110 sending status command, retrying
[119279.094909] mmcblk1: error -110 sending status command, retrying
[119279.095153] mmcblk1: error -110 sending status command, aborting
[119279.095275] end_request: I/O error, dev mmcblk1, sector 0
[119279.095520] Buffer I/O error on device mmcblk1, logical block 0
[119279.096069] mmcblk1: error -110 sending status command, retrying
[119279.096343] mmcblk1: error -110 sending status command, retrying
[119279.096466] mmcblk1: error -110 sending status command, aborting
[119279.096710] end_request: I/O error, dev mmcblk1, sector 7882744
[119279.096923] Buffer I/O error on device mmcblk1, logical block 985343
[119279.097229] mmcblk1: error -110 sending status command, retrying
[119279.097473] mmcblk1: error -110 sending status command, retrying
[119279.097625] mmcblk1: error -110 sending status command, aborting
[119279.097869] end_request: I/O error, dev mmcblk1, sector 7882744
[119279.097991] Buffer I/O error on device mmcblk1, logical block 985343
[119279.098754] mmcblk1: error -110 sending status command, retrying
[119279.098937] mmcblk1: error -110 sending status command, retrying
[119279.099182] mmcblk1: error -110 sending status command, aborting
[119279.099304] end_request: I/O error, dev mmcblk1, sector 0
[119279.099517] Buffer I/O error on device mmcblk1, logical block 0
[119279.099670] end_request: I/O error, dev mmcblk1, sector 8
[119279.099884] Buffer I/O error on device mmcblk1, logical block 1
[119279.100006] end_request: I/O error, dev mmcblk1, sector 16
[119279.100250] Buffer I/O error on device mmcblk1, logical block 2
[119279.100372] end_request: I/O error, dev mmcblk1, sector 24
[119279.105621] mmcblk1: error -110 sending status command, retrying
[119279.105895] mmcblk1: error -110 sending status command, retrying
[119279.106048] mmcblk1: error -110 sending status command, aborting
[119279.106292] end_request: I/O error, dev mmcblk1, sector 0
CARD 3 removed
[119332.009155] mmc1: card b368 removed



Thank you WizardStan,

Here is the dmesg output including a wake-up message.

It that normal that it 'finds' an USB host? I rarely use USB host mode and I have it disabled but I always get this message after wake-up.

There are three card-related messages in the dump.

1/ card 1 inserted (sudo fdisk -l says nothing)

2/ card 2 inserted (sudo fdisk -l says nothing)

3/ card 3 removed. no message on dmesg when it was inserted. (sudo fdisk -l says nothing)

I have about 10 cards and all do the same trick.

On a Ghz pandora:

All mounts fine.

It complains only about the "bogus number of reserved sectors" and/or "can't find a valid FAT filesystem" and/or "invalid media value (0x00)" but all cards work fine.

Cards are

(microsdin adapter) Samsung 16Gb cl10,

(microsd in adapter) Sandisk 2Gb-16Gb cl2-10 and a

(full size sd) 32Gb that came with a Ghz bundle from ED.

I did a full flash 3 days ago so the OS is the latest.

I hope it helps.

Thank you!
 
Top