Hello Mamatha,

I had little exposure in the kernel development with respective to
android.

I hope it could be the problem of media scanning in the android
platform and check the permissions of the /mnt/sdcard or /mnt/
ext_sdcard directories.

Prior to the above checking you can mount the device(sdcard partition /
dev/block/mmcblk0p3 probably) onto some path like this...
mount -t vfat /dev/block/mmcblk0p3 /mnt/tmp (ex: tmp).
If you are able to find your data in the /mnt/tmp directory, hope it
could be the problem of media scanning in the android platform.
If you do not find your data then your sdcard partitioning or writing
data to that partition may be failed.

Hope it would  help you to move into further investigation...

Regards,
Bathala

On Mar 30, 2:53 pm, Mamatha K <[email protected]> wrote:
>     Hi,
>
>      I am new to Android Development.  I am using Android ICS  on
> blaze    eval board. Wearebooting using SD Card.    On SD card i had created 
> 2 FAT32 Partitions andoneEXT3
> partition.   oneofthe FAT32 partition is boot partition containing the MLO,
> UBoot    and Kernel binaries and the EXT3 partition consistsofandroid
> file
>     system. The 2nd FAT32  is created for holding the media file. But,
>     when trying to use the gallery app, in ics , the gallery is not
>     displaying any images I loaded on to SD card in an second FAT32
>     partition.
>
>     Can anyonetell me what might have went wrong and how to make
> gallery
>     app recognize the extra FAT32 partition present on my sdcard.
>
>     please find the log catofmy ics
>
>     D/Vold    (  110): Volume sdcard state changing -1 (Initializing) -> 0
>
>     (No-Media)
>     D/Vold    (  110): Volume sdcard state changing 0 (No-Media) -> 2
>     (Pending)
>     D/Vold    (  110): Volume sdcard state changing 2 (Pending) -> 1
> (Idle-
>     Unmounted)
>     D/MountService(  190): got storage path: /mnt/sdcard description:
>     Internal Storage primary: true removable: false emulated: true
>     mtpReserve: 0 allowMassStorage: false maxFileSize: 0
>     D/MountService(  190): got storage path: /mnt/ext_sdcard
> description:
>     SD Card primary: false removable: true emulated: false mtpReserve:
> 0
>     allowMassStorage: false maxFileSize: 0
>     D/MountService(  190): volume state changed for /mnt/ext_sdcard
> (null -
>     > unmounted)
>     D/VoldCmdListener(  110): volume mount /mnt/ext_sdcard
>     I/Vold    (  110): /dev/block/vold/179:25 being considered for
> volume
>     sdcard
>     D/Vold    (  110): Volume sdcard state changing 1 (Idle-Unmounted)
> ->
>     3 (Checking)
>     D/MountService(  190): volume state changed for /mnt/ext_sdcard
>     (unmounted -> checking)
>     D/MountService(  190): sendStorageIntent Intent
>     { act=android.intent.action.MEDIA_CHECKING dat=file:///mnt/
> ext_sdcard
>     (has extras) }    I/StorageNotification(  384): Media {/mnt/ext_sdcard} 
> state
> changed
>     from {unmounted} -> {checking}
>     I/Vold    (  110): Device /dev/block/vold/179:25, target /mnt/
>     ext_sdcard mounted @ /mnt/secure/staging
>     D/Vold    (  110): Volume sdcard state changing 3 (Checking) -> 4
>     (Mounted)
>     D/MountService(  190): volume state changed for /mnt/ext_sdcard
>     (checking -> mounted)
>     W/MountService(  190): Duplicate state transition (mounted ->
> mounted)
>     for /mnt/sdcard
>     D/MountService(  190): sendStorageIntent Intent
>     { act=android.intent.action.MEDIA_MOUNTED dat=file:///mnt/sdcard
> (has
>     extras) }
>     D/MountService(  190): sendStorageIntent Intent
>     { act=android.intent.action.MEDIA_MOUNTED dat=file:///mnt/
> ext_sdcard
>     (has extras) }    I/StorageNotification(  384): Media {/mnt/ext_sdcard} 
> state
> changed
>     from {checking} -> {mounted}
>     D/MediaScannerReceiver(  503): action:
>     android.intent.action.MEDIA_MOUNTED path: /mnt/sdcard
>     D/MediaScannerReceiver(  503): action:
>     android.intent.action.MEDIA_MOUNTED path: /mnt/ext_sdcard
>
>     Note:
>
>     In Android command prompt under /mnt/sdcard or under /mnt/
> ext_sdcard I
>     could not find the extra fat32 partition and its contents.
>
>     Best Regards,
>     Mamatha.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to