Hi Hayden Huang , Were you able to get some clue to resolve the below discussed issue.
If someone else has seen the similar issue, please help us. Regards, Sreedhar On Thu, Nov 12, 2009 at 9:32 PM, sreedhar b <[email protected]> wrote: > Hi All, > > I have generated a detailed log on my sdcard mount issue with vold and is > given below. > Please let me know how to overcome this issue. > > # I/vold ( 621): Android Volume Daemon version 2.0 > D/vold ( 621): volmgr_configure_volume(volume_sdcard): > D/vold ( 621): volmgr_add_mediapath_to_volume(0x131c8, > /devices/MMC/mmc_host/mmc1): > D/vold ( 621): bootstrap_controller(/sys/class/mmc_host/mmc0): > D/vold ( 621): bootstrap_card(/sys/class/mmc_host/mmc0/mmc0:0001): > D/vold ( 621): [UEVENT] Sq: 0 S: mmc A: 0 P: > /devices/EMMC/mmc_host/mmc0/mmc0:0001 > D/vold ( 621): DEVPATH=/devices/EMMC/mmc_host/mmc0/mmc0:0001 > D/vold ( 621): MMC_TYPE=MMC > D/vold ( 621): MMC_NAME=MMC08G > I/vold ( 621): New MMC card 'MMC08G' (serial 520946106) added @ > /devices/EMMC/mmc_host/mmc0/mmc0:0001 > D/vold ( 621): > mmc_bootstrap_block(/devices/EMMC/mmc_host/mmc0/mmc0:0001/block): > D/vold ( 621): > mmc_bootstrap_mmcblk(/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0): > D/vold ( 621): > mmc_bootstrap_mmcblk_partition(/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0): > D/vold ( 621): [UEVENT] Sq: 0 S: block A: 0 P: > /devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0 > D/vold ( 621): > DEVPATH=/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0 > D/vold ( 621): DEVTYPE=disk > D/vold ( 621): MAJOR=179 > D/vold ( 621): MINOR=0 > I/DEBUG ( 622): debuggerd: Nov 10 2009 13:18:22 > I/vold ( 621): Disk (blkdev 179:0), 15638528 secs (7636 MB) 4 > partitions > I/vold ( 621): New blkdev 179.0 on media MMC08G, media path > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 4 > D/vold ( 621): > mmc_bootstrap_mmcblk_partition(/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p1): > D/vold ( 621): [UEVENT] Sq: 0 S: block A: 0 P: > /devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p1 > D/vold ( 621): > DEVPATH=/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p1 > D/vold ( 621): DEVTYPE=partition > D/vold ( 621): MAJOR=179 > D/vold ( 621): MINOR=1 > I/vold ( 621): Partition (blkdev 179:1), 16384 secs (8 MB) type 0x83 > I/vold ( 621): New blkdev 179.1 on media MMC08G, media path > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 3 > D/vold ( 621): > mmc_bootstrap_mmcblk_partition(/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p2): > D/vold ( 621): [UEVENT] Sq: 0 S: block A: 0 P: > /devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p2 > D/vold ( 621): > DEVPATH=/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p2 > D/vold ( 621): DEVTYPE=partition > D/vold ( 621): MAJOR=179 > D/vold ( 621): MINOR=2 > I/vold ( 621): Partition (blkdev 179:2), 524288 secs (256 MB) type 0x83 > I/vold ( 621): New blkdev 179.2 on media MMC08G, media path > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 2 > D/vold ( 621): > mmc_bootstrap_mmcblk_partition(/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p3): > D/vold ( 621): [UEVENT] Sq: 0 S: block A: 0 P: > /devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p3 > D/vold ( 621): > DEVPATH=/devices/EMMC/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p3 > D/vold ( 621): DEVTYPE=partition > D/vold ( 621): MAJOR=179 > D/vold ( 621): MINOR=3 > I/vold ( 621): Partition (blkdev 179:3), 2277376 secs (1112 MB) type > 0x83 > I/vold ( 621): New blkdev 179.3 on media MMC08G, media path > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 1 > D/vold ( 621): bootstrap_controller(/sys/class/mmc_host/mmc1): > D/vold ( 621): bootstrap_card(/sys/class/mmc_host/mmc1/mmc1:bf0a): > D/vold ( 621): [UEVENT] Sq: 0 S: mmc A: 0 P: > /devices/MMC/mmc_host/mmc1/mmc1:bf0a > D/vold ( 621): DEVPATH=/devices/MMC/mmc_host/mmc1/mmc1:bf0a > D/vold ( 621): MMC_TYPE=SD > D/vold ( 621): MMC_NAME=SU02G > I/vold ( 621): New MMC card 'SU02G > I/vold ( 621): ' (serial 821168021) added @ > /devices/MMC/mmc_host/mmc1/mmc1:bf0a > D/vold ( 621): > mmc_bootstrap_block(/devices/MMC/mmc_host/mmc1/mmc1:bf0a/block): > D/vold ( 621): > mmc_bootstrap_mmcblk(/devices/MMC/mmc_host/mmc1/mmc1:bf0a/block/mmcblk1): > D/vold ( 621): > mmc_bootstrap_mmcblk_partition(/devices/MMC/mmc_host/mmc1/mmc1:bf0a/block/mmcblk1): > D/vold ( 621): [UEVENT] Sq: 0 S: block A: 0 P: > /devices/MMC/mmc_host/mmc1/mmc1:bf0a/block/mmcblk1 > D/vold ( 621): > DEVPATH=/devices/MMC/mmc_host/mmc1/mmc1:bf0a/block/mmcblk1 > D/vold ( 621): DEVTYPE=disk > D/vold ( 621): MAJOR=179 > D/vold ( 621): MINOR=8 > I/vold ( 621): Disk (blkdev 179:8), 3862528 secs (1886 MB) 4 partitions > I/vold ( 621): New blkdev 179.8 on media SU02G > I/vold ( 621): , media path /devices/MMC/mmc_host/mmc1/mmc1:bf0a, Dpp 1 > D/vold ( 621): > mmc_bootstrap_mmcblk_partition(/devices/MMC/mmc_host/mmc1/mmc1:bf0a/block/mmcblk1/mmcblk1p1): > D/vold ( 621): [UEVENT] Sq: 0 S: block A: 0 P: > /devices/MMC/mmc_host/mmc1/mmc1:bf0a/block/mmcblk1/mmcblk1p1 > D/vold ( 621): > DEVPATH=/devices/MMC/mmc_host/mmc1/mmc1:bf0a/block/mmcblk1/mmcblk1p1 > D/vold ( 621): DEVTYPE=partition > D/vold ( 621): MAJOR=179 > D/vold ( 621): MINOR=9 > W/vold ( 621): Skipping partition 8 > I/vold ( 621): Partition (blkdev 179:9), 3858489 secs (1884 MB) type > 0x0 > I/vold ( 621): New blkdev 179.9 on media SU02G > I/vold ( 621): , media path /devices/MMC/mmc_host/mmc1/mmc1:bf0a, Dpp 0 > D/vold ( 621): Bootstrapping complete > D/vold ( 621): [UEVENT] Sq: 591 S: uids A: 0 P: /kernel/uids/1017 > D/vold ( 621): DEVPATH=/kernel/uids/1017 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------------------------------ > D/vold ( 621): [UEVENT] Sq: 592 S: vc A: 0 P: /devices/virtual/vc/vcs1 > D/vold ( 621): DEVPATH=/devices/virtual/vc/vcs1 > D/vold ( 621): MAJOR=7 > D/vold ( 621): MINOR=1 > D/vold ( 621): No uevent handlers registered for 'vc' subsystem > D/vold ( 621): [UEVENT] Sq: 593 S: vc A: 0 P: /devices/virtual/vc/vcsa1 > D/vold ( 621): DEVPATH=/devices/virtual/vc/vcsa1 > D/vold ( 621): MAJOR=7 > D/vold ( 621): MINOR=129 > D/vold ( 621): No uevent handlers registered for 'vc' subsystem > D/vold ( 621): [UEVENT] Sq: 594 S: vc A: 1 P: /devices/virtual/vc/vcs1 > D/vold ( 621): DEVPATH=/devices/virtual/vc/vcs1 > D/vold ( 621): MAJOR=7 > D/vold ( 621): MINOR=1 > D/vold ( 621): No uevent handlers registered for 'vc' subsystem > D/vold ( 621): [UEVENT] Sq: 595 S: vc A: 1 P: /devices/virtual/vc/vcsa1 > D/vold ( 621): DEVPATH=/devices/virtual/vc/vcsa1 > D/vold ( 621): MAJOR=7 > D/vold ( 621): MINOR=129 > D/vold ( 621): No uevent handlers registered for 'vc' subsystem > D/vold ( 621): [UEVENT] Sq: 596 S: vc A: 0 P: /devices/virtual/vc/vcs7 > D/vold ( 621): DEVPATH=/devices/virtual/vc/vcs7 > D/vold ( 621): MAJOR=7 > D/vold ( 621): MINOR=7 > D/vold ( 621): No uevent handlers registered for 'vc' subsystem > D/vold ( 621): [UEVENT] Sq: 597 S: vc A: 0 P: /devices/virtual/vc/vcsa7 > D/vold ( 621): DEVPATH=/devices/virtual/vc/vcsa7 > D/vold ( 621): MAJOR=7 > D/vold ( 621): MINOR=135 > D/vold ( 621): No uevent handlers registered for 'vc' subsystem > > -------------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 598 S: uids A: 0 P: /kernel/uids/1003 > D/vold ( 621): DEVPATH=/kernel/uids/1003 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > ---------------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 599 S: uids A: 0 P: /kernel/uids/1001 > D/vold ( 621): DEVPATH=/kernel/uids/1001 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 600 S: uids A: 0 P: /kernel/uids/10003 > D/vold ( 621): DEVPATH=/kernel/uids/10003 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 601 S: uids A: 0 P: /kernel/uids/10002 > D/vold ( 621): DEVPATH=/kernel/uids/10002 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 602 S: uids A: 1 P: /kernel/uids/1003 > D/vold ( 621): DEVPATH=/kernel/uids/1003 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > D/dalvikvm( 637): GC freed 5037 objects / 229584 bytes in 105ms > D/vold ( 621): Accepted connection from framework > D/vold ( 621): dispatch_cmd(send_ums_status): > D/vold ( 621): ums_send_status(): > D/vold ( 621): dispatch_cmd(mount_volume:/sdcard): > E/vold ( 621): Cannot start volume '/sdcard' (volume is not bound) > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 603 S: uids A: 0 P: /kernel/uids/10008 > D/vold ( 621): DEVPATH=/kernel/uids/10008 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 604 S: uids A: 0 P: /kernel/uids/10013 > D/vold ( 621): DEVPATH=/kernel/uids/10013 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 605 S: uids A: 0 P: /kernel/uids/10010 > D/vold ( 621): DEVPATH=/kernel/uids/10010 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > D/vold ( 621): [UEVENT] Sq: 606 S: uids A: 0 P: /kernel/uids/10005 > D/vold ( 621): DEVPATH=/kernel/uids/10005 > D/vold ( 621): No uevent handlers registered for 'uids' subsystem > > -------------------------------------------------------------------------------------------------- > > -------------------------------------------------------------------------------------------------- > > Regards, > Sreedhar > > > > > > > > > > > > > > > > > > > > > On Thu, Nov 12, 2009 at 9:25 PM, sreedhar b <[email protected]> wrote: > >> Hi Srikant, >> >> In my system, i have something like this, >> >> # ls -l /sys/class/mmc_host/mmc1/ >> lrwxrwxrwx 1 0 0 0 Jan 1 00:00 device -> >> ../../../MMC >> drwxr-xr-x 4 0 0 0 Jan 1 00:00 mmc1:bf0a >> drwxr-xr-x 2 0 0 0 Jan 1 00:00 power >> lrwxrwxrwx 1 0 0 0 Jan 1 00:00 subsystem -> >> ../../../../class/mmc_host >> -rw-r--r-- 1 0 0 4096 Jan 1 00:00 uevent >> # ls -l /sys/class/mmc_host/mmc0 >> lrwxrwxrwx 1 0 0 0 Jan 1 00:00 >> /sys/class/mmc_host/mmc0 -> ../../devices/EMMC/mmc_host/mmc0 >> # >> >> >> >> >> #ls /sys/devices/platform >> >> it shows uevent and some other components specific to my platform and no >> MMC components. >> >> But i have something like this, >> >> # ls /sys/devices/MMC >> driver irq0 power subsystem >> id mmc_host resource uevent >> # ls /sys/devices/MMC/mmc_host >> mmc1 >> # ls /sys/devices/MMC/mmc_host/mmc1 >> device mmc1:bf0a power subsystem uevent >> That is why i have choosen the media path in vold.conf as below: >> >> ## vold configuration file for the emulator/SDK >> volume_sdcard { >> ## This is the direct uevent device path to the SD slot on the device >> >> media_path /devices/MMC/mmc_host/mmc1 >> media_type mmc >> mount_point /sdcard >> ums_path /devices/platform/usb_mass_storage/lun0 >> } >> >> Please let me know if this is not fine. >> >> Regards, >> Sreedhar >> >> >> On Wed, Nov 11, 2009 at 3:08 PM, Srikant <[email protected]> wrote: >> >>> Change your development/data/etc/vold.conf file "media_path" to the >>> correct path as per your device file system from the adb shell and >>> find /class/mmc/mmc0 or similar exists. >>> >>> Then build it and see. >>> >>> On Nov 10, 11:24 am, sreedhar b <[email protected]> wrote: >>> > I have seen this problem in cupcake versions also where vold is >>> involved. >>> > Sdcard was not an issue with mountd earlier. >>> > >>> > >>> > >>> > On Mon, Nov 9, 2009 at 10:30 AM, Hayden Huang <[email protected]> >>> wrote: >>> > > I am having exactly same problem here. >>> > > is it caused by the donut release or it can work before? >>> > >>> > > On Nov 4, 10:41 pm, sreedhar b <[email protected]> wrote: >>> > > > Hi All, >>> > >>> > > > Iam seeing the SDcard mount issue with the donut release 1.6_r1. >>> > >>> > > > This uses vold. >>> > >>> > > > Please see the below log portion for details: >>> > >>> > > > # I/vold ( 620): Android Volume Daemon version 2.0 >>> > > > I/vold ( 620): New MMC card 'MMC08G' (serial 520946106) added @ >>> > > > /devices/EMMC/mmc_host/mmc0/mmc0:0001 >>> > > > I/vold ( 620): Disk (blkdev 179:0), 15638528 secs (7636 MB) 4 >>> > > partitions >>> > > > I/vold ( 620): New blkdev 179.0 on media MMC08G, media path >>> > > > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 4 >>> > > > I/vold ( 620): Partition (blkdev 179:1), 16384 secs (8 MB) type >>> 0x83 >>> > > > I/vold ( 620): New blkdev 179.1 on media MMC08G, media path >>> > > > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 3 >>> > > > I/vold ( 620): Partition (blkdev 179:2), 524288 secs (256 MB) >>> type >>> > > 0x83 >>> > > > I/vold ( 620): New blkdev 179.2 on media MMC08G, media path >>> > > > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 2 >>> > > > I/vold ( 620): Partition (blkdev 179:3), 2277376 secs (1112 MB) >>> type >>> > > > 0x83 >>> > > > I/vold ( 620): New blkdev 179.3 on media MMC08G, media path >>> > > > /devices/EMMC/mmc_host/mmc0/mmc0:0001, Dpp 1 >>> > > > I/vold ( 620): New MMC card 'SU02G >>> > > > I/vold ( 620): ' (serial 821168021) added @ >>> > > > /devices/MMC/mmc_host/mmc1/mmc1:bf0a >>> > > > I/vold ( 620): Disk (blkdev 179:8), 3862528 secs (1886 MB) 4 >>> > > partitions >>> > > > I/vold ( 620): New blkdev 179.8 on media SU02G >>> > > > I/vold ( 620): , media path >>> /devices/MMC/mmc_host/mmc1/mmc1:bf0a, Dpp >>> > > 1 >>> > > > W/vold ( 620): Skipping partition 8 >>> > > > I/vold ( 620): Partition (blkdev 179:9), 3858489 secs (1884 MB) >>> type >>> > > 0x0 >>> > > > I/vold ( 620): New blkdev 179.9 on media SU02G >>> > > > I/vold ( 620): , media path >>> /devices/MMC/mmc_host/mmc1/mmc1:bf0a, Dpp >>> > > 0 >>> > > > E/vold ( 620): Unable to open '/sys/class/switch' (No such file >>> or >>> > > > directory) >>> > > > D/vold ( 620): Bootstrapping complete >>> > >>> > > > ------------------------------------------------------------------- >>> > >>> > > > D/vold ( 620): Accepted connection from framework >>> > > > D/vold ( 620): dispatch_cmd(send_ums_status): >>> > > > D/dalvikvm( 636): GC freed 4588 objects / 209768 bytes in 105ms >>> > > > D/MountListener( 636): handleEvent volume_nomedia:/sdcard >>> > > > D/vold ( 620): dispatch_cmd(mount_volume:/sdcard): >>> > > > E/vold ( 620): Cannot start volume '/sdcard' (volume is not >>> bound) >>> > >>> > > > The log gives some error like this >>> > > > E/vold ( 620): Unable to open '/sys/class/switch' (No such file >>> or >>> > > > directory) >>> > > > E/vold ( 620): Cannot start volume '/sdcard' (volume is not >>> bound) >>> > >>> > > > Please let me know if someone already has seen this issue and how >>> to >>> > > > overcome the same. >>> > >>> > > > If i manually run the following command, >>> > > > $mount -t vfat /dev/block/mmcblk1p1 /sdcard >>> > >>> > > > then i am able to see inside the /sdcard my SDCard contents. >>> > >>> > > > Regards, >>> > > > Sreedhar >>> > >>> > > -- >>> > > unsubscribe: >>> > > [email protected]<android-porting%[email protected]> >>> <android-porting%2bunsubscr...@googlegroups.com> >>> > > website:http://groups.google.com/group/android-porting- Hide quoted >>> text - >>> > >>> > - Show quoted text - >>> >>> -- >>> unsubscribe: >>> [email protected]<android-porting%[email protected]> >>> website: http://groups.google.com/group/android-porting >>> >> >> > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
