Gallery/music application is detecting the content of sdcard on panda android JB build but playback of playback of video and music files not work

Bug #1033953 reported by Amit Khare
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
Low
Axel Fagerstedt

Bug Description

observed on panda android JB build
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/#build=16

even though sdcard is mounted gallery/music application dont show the content.

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 449M 68K 449M 4096
/mnt/asec 449M 0K 449M 4096
/mnt/obb 449M 0K 449M 4096
/system 509M 340M 169M 4096
/cache 253M 15M 237M 1024
/data 508M 77M 431M 1024
/mnt/sdcard 6G 43M 6G 4096
/mnt/secure/asec 6G 43M 6G 4096

Also observed with these builds:

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=28

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/#build=38

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=44

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=49

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob-12.09-release/#build=4

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=69

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=75

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=82

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=106

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=115

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=161

Tags: qa-services
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :

Also observed with panda JB android bild
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=28

The sd card is not mounted

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 474M 68K 474M 4096
/mnt/asec 474M 0K 474M 4096
/mnt/obb 474M 0K 474M 4096
/system 509M 351M 158M 4096
/cache 253M 15M 237M 1024
/data 508M 78M 430M 1024

Revision history for this message
Amit Khare (amit-khare) wrote :

Observed with panda JB android build
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/#build=38

sdcard is mounted but gallery/music application dont recognize the content on it.

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 449M 68K 449M 4096
/mnt/asec 449M 0K 449M 4096
/mnt/obb 449M 0K 449M 4096
/system 509M 340M 169M 4096
/cache 253M 15M 237M 1024
/data 508M 75M 433M 1024
/mnt/sdcard 6G 43M 6G 4096
/mnt/secure/asec 6G 43M 6G 4096

Revision history for this message
Alexandre BELLONI (abelloni) wrote :

Hi,

This is due to a change of mount point for the firs sdcard between ICS and JB. JB is now looking at /storage/sdcard0 for the sdcard.

Following are two patches to fix that. The first one applies to platform/system/core, the second one to device/linaro/pandaboard.

I think you may want to also check other devices.

Revision history for this message
Alexandre BELLONI (abelloni) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :

Observed with panda android JB build.
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=44

Sd card not getting mounted

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 474M 68K 474M 4096
/mnt/asec 474M 0K 474M 4096
/mnt/obb 474M 0K 474M 4096
/system 509M 349M 160M 4096
/cache 253M 15M 237M 1024
/data 508M 72M 436M 1024

Revision history for this message
Amit Khare (amit-khare) wrote :

Also Observed with panda JB android build
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=49

Sd card gets mounted but content not detected in Gallery application

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 474M 68K 474M 4096
/mnt/asec 474M 0K 474M 4096
/mnt/obb 474M 0K 474M 4096
/system 509M 349M 160M 4096
/cache 253M 15M 237M 1024
/data 508M 99M 409M 1024
/mnt/sdcard 6G 64K 6G 4096
/mnt/secure/asec 6G 64K 6G 4096

Revision history for this message
Amit Khare (amit-khare) wrote :

Also Observed with panda JB android 12.09 release build
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob-12.09-release/#build=4

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 449M 68K 449M 4096
/mnt/asec 449M 0K 449M 4096
/mnt/obb 449M 0K 449M 4096
/system 509M 344M 165M 4096
/cache 253M 15M 237M 1024
/data 508M 159M 349M 1024
/mnt/sdcard 6G 43M 6G 4096
/mnt/secure/asec 6G 43M 6G 4096

Revision history for this message
Amit Khare (amit-khare) wrote :

Also Observed with panda JB android tracking-blob build
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=69

Sd card is mounted but gallery throws error - no external card detected.

Amit Khare (amit-khare)
description: updated
Amit Khare (amit-khare)
description: updated
Amit Khare (amit-khare)
description: updated
Revision history for this message
Soumya Basak (soumya-basak) wrote :

on Image
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=82
the output of "df" command shows the following
root@android:/ # df
Filesystem Size Used Free Blksize
/dev 474M 68K 474M 4096
/mnt/asec 474M 0K 474M 4096
/mnt/obb 474M 0K 474M 4096
/system 509M 352M 157M 4096
/cache 253M 15M 237M 1024
/data 508M 171M 337M 1024
/storage/sdcard0 6G 19M 6G 4096
/mnt/secure/asec 6G 19M 6G 4096

/mnt/sdcard partition is not available from above log output.

SD card content could not be accessible, playback of video files not work.

Revision history for this message
Soumya Basak (soumya-basak) wrote :

observed with Images
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob-12.10-release/#build=1

from the Gallery "the big_buck_bunny_1080p_surround.avi_006.AVI.MP4" is detected but cannot play throws error "Can't play this video",

on the otherhand the music application (.wav) file is not detected on Gallery.

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 449M 68K 449M 4096
/mnt/asec 449M 0K 449M 4096
/mnt/obb 449M 0K 449M 4096
/system 509M 344M 165M 4096
/cache 253M 15M 237M 1024
/data 508M 157M 351M 1024
/storage/sdcard0 6G 41M 5G 4096
/mnt/secure/asec 6G 41M 5G 4096

Revision history for this message
Soumya Basak (soumya-basak) wrote :

observed with Images
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob-12.10-release/#build=1

from the Gallery "the big_buck_bunny_1080p_surround.avi_006.AVI.MP4" is detected but cannot play throws error "Can't play this video",

on the music application (.wav) is detected but can't play the song.

Revision history for this message
Soumya Basak (soumya-basak) wrote :

observed with Panda jb images
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=100

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 474M 68K 474M 4096
/mnt/asec 474M 0K 474M 4096
/mnt/obb 474M 0K 474M 4096
/system 509M 349M 160M 4096
/cache 253M 15M 237M 1024
/data 508M 71M 436M 1024
/storage/sdcard0 6G 38M 5G 4096
/mnt/secure/asec 6G 38M 5G 4096

playback of video and music not work,
on the other hand Open some image files will work fine from gallery.

summary: - Gallery/music application not detecting the content on sdcard on panda
- android JB build
+ Gallery/music application is detecting the content on sdcard on panda
+ android JB build but playback of playback of video and music files not
+ work
summary: - Gallery/music application is detecting the content on sdcard on panda
+ Gallery/music application is detecting the content of sdcard on panda
android JB build but playback of playback of video and music files not
work
description: updated
description: updated
Revision history for this message
Soumya Basak (soumya-basak) wrote :

observed with panda android jb RC12.11 Release Build
https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob-12.11-release/#build=1

The Output of "df" command will not shown /mnt/sdcard partition

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 449M 68K 449M 4096
/mnt/secure 449M 0K 449M 4096
/mnt/asec 449M 0K 449M 4096
/mnt/obb 449M 0K 449M 4096
/system 509M 359M 150M 4096
/cache 253M 15M 237M 1024
/data 508M 179M 329M 1024
/mnt/shell/emulated 508M 179M 329M 1024

gallery will not shown any content on it.

Revision history for this message
Soumya Basak (soumya-basak) wrote :

observed with panda android jellybean 4.2 builds

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=127
content of sd-card is not detected from gallery.
on serial log "df" will not show /mnt/sdcard mounted.
log:
root@android:/ # df
Filesystem Size Used Free Blksize
/dev 474M 68K 474M 4096
/mnt/secure 474M 0K 474M 4096
/mnt/asec 474M 0K 474M 4096
/mnt/obb 474M 0K 474M 4096
/system 509M 364M 145M 4096
/cache 253M 15M 237M 1024
/data 508M 82M 426M 1024
/mnt/shell/emulated 508M 82M 426M 1024

system crashes when running speech-recorder apps.

Revision history for this message
vishal (vishalbhoj) wrote :

External sdcard partition is not getting mounted.

Changed in linaro-android:
assignee: nobody → Axel Fagerstedt (fagerstedt-axel)
importance: Undecided → Low
milestone: none → 12.12
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Axel will push this, this week but, it'll miss the release.

Changed in linaro-android:
milestone: 12.12 → 13.01
Revision history for this message
Soumya Basak (soumya-basak) wrote :

also observed with panda Linaro android jb 12.12 release builds

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob-12.12-release/

content of multimedia is not detect from Gallery.
"df" will not show sd-card partition.

but the "/sdcard" path still can be accessed. For example:

dmesg | busybox grep gcc > /sdcard/output.txt 2>&1 &

Then the file "output.txt" can be found under "/sdcard".

Revision history for this message
Axel Fagerstedt (fagerstedt-axel) wrote :

Reason is that panda board is currently using emulated storage. Will move it back to mounting the sdcard partition at /mnt/sdcard and use that for EXTERNAL_STORAGE.

Revision history for this message
Axel Fagerstedt (fagerstedt-axel) wrote :

SD card data partition should now mount ok since: http://review.android.git.linaro.org/#change,3213

description: updated
Revision history for this message
Soumya Basak (soumya-basak) wrote :

observed on panda Linaro android jellybean 4.2.1 builds

https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-tracking-blob/#build=168

SD card partition is mount but playback of video does not work.

Revision history for this message
HariGopal (harigopal-gollamudi) wrote :
Changed in linaro-android:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Soumya Basak (soumya-basak) wrote :

observed and verified with builds:

 https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/#build=174

sample video file: http://samplemedia.linaro.org/H264/big_buck_bunny_480p_H264_AAC_25fps_1800K.MP4

on panda-es playback of video file is worked fine.

its now conformed.

Changed in linaro-android:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.