Do you have more than 4 partitions on the SD in all? If so... there is
an array overrun problem that is getting you. A fix is already in the
mainline:
    https://review.source.android.com/#change,15991

-Bruce

On Aug 13, 3:02 am, ran <[email protected]> wrote:
> I get success with this line in vold.fstab at my freerunner:
> dev_mount sdcard /mnt/sdcard 1 /block/mmcblk0
> But in addition I have done:
> 1) fsck.msdos for 1 partition on my SD at linux host
> 2) manually done : # mount -t vfat /dev/block/mmcblk0p1 /mnt/sdcard
>     and than         : # vdc volume list
>                          : 110 sdcard /mnt/sdcard 1
>                          :  200 Volumes listed.
>                          :  # vdc volume mount /mnt/sdcard
>                          :  605 Volume sdcard /mnt/sdcard state
> changed from 1 (Idle-Unmounted) to 4 (Mounted)
>                          :  200 volume operation succeeded
>                          :  #
>
> May be it help you,   Alexandre
>
> On 13 авг, 12:26, Anthony Russello <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I tried that too, but still no success. Vold just stays in Pending
> > status, and reports that the volume is busy if I try to mount via the
> > command line (vdc).
>
> > Thanks,
> > Anthony
>
> > On Aug 13, 2:11 pm, 邱建波 <[email protected]> wrote:
>
> > > try
> > > "dev_mount sdcard /mnt/sdcard auto /block/mmcblk0"
> > > in vold.fstab
>
> > > 2010/8/12 Anthony Russello <[email protected]>
>
> > > > Hi All,
>
> > > > I am currently working on bringing up Froyo on a device on which we
> > > > are booting to the sdcard. U-Boot, kernel, and root filesystem are all
> > > > there on separate partitions.
>
> > > > We have a partition, /dev/block/mmcblk0p1, which has a FAT32
> > > > filesystem to be used as /mnt/sdcard. In Eclair, this worked fine. But
> > > > with the new vold, we find that it fails.
>
> > > > I'm using the Freescale i.MX51 platform, my vold.fstab looks like
> > > > this:
>
> > > >   dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.0
>
> > > > I've also tried:
>
> > > >   dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.0/
> > > > mmc_host/mmc0
>
> > > >   dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.0/
> > > > mmc_host/mmc0/mmc0:b368
>
> > > > Niether of those worked either.
>
> > > > Here's the output I get while booting:
>
> > > >   I/Netd    ( 2041): Netd 1.0 starting
> > > >   I/Vold    ( 2040): Vold 2.1 (the revenge) firing up
> > > >   D/Vold    ( 2040): Volume sdcard state changing -1 (Initializing) -
> > > > > 0 (No-Media)
> > > >   D/DirectVolume( 2040): Dv::diskIns - waiting for 6 partitions (mask
> > > > 0x7e)
> > > >   D/Vold    ( 2040): Volume sdcard state changing 0 (No-Media) -> 2
> > > > (Pending)
> > > >   D/DirectVolume( 2040): Dv:partAdd: part_num = 1, minor = 1
> > > >   D/DirectVolume( 2040): Dv:partAdd: pending mask now = 0x7c
> > > >   D/DirectVolume( 2040): Dv:partAdd: part_num = 2, minor = 2
> > > >   D/DirectVolume( 2040): Dv:partAdd: pending mask now = 0x78
> > > >   D/DirectVolume( 2040): Dv:partAdd: part_num = 3, minor = 3
> > > >   D/DirectVolume( 2040): Dv:partAdd: pending mask now = 0x70
> > > >   D/DirectVolume( 2040): Dv:partAdd: part_num = 4, minor = 4
> > > >   D/DirectVolume( 2040): Dv:partAdd: pending mask now = 0x60
> > > >   D/DirectVolume( 2040): Dv:partAdd: part_num = 5, minor = 5
> > > >   D/DirectVolume( 2040): Dv:partAdd: pending mask now = 0x40
> > > >   D/DirectVolume( 2040): Dv:partAdd: part_num = 6, minor = 6
> > > >   D/DirectVolume( 2040): Dv:partAdd: pending mask now = 0x6
>
> > > > And here is some output from the vdc command line interface:
>
> > > >   # vdc volume list
> > > >   110 sdcard /mnt/sdcard 2
> > > >   200 Volumes listed.
> > > >   # vdc volume mount /mnt/sdcard
> > > >   405 volume operation failed (Device or resource busy)
>
> > > > I can manually mount the device using this command without any error:
>
> > > >   mount -t vfat /dev/block/mmcblk0p1 /mnt/sdcard
>
> > > > Any help with this would be appreciated.
>
> > > > Thanks,
> > > > Anthony
>
> > > > --
> > > > unsubscribe: 
> > > > [email protected]<android-porting%[email protected]>
> > > > website:http://groups.google.com/group/android-porting
>
> > > --
> > > ------
>
> > > Jianbo Qiu (邱建波)
>
> > > Mobile: 13681184653
>
> > > MSN:[email protected] <msn%[email protected]>
>
> > > ------- Hide quoted text -
>
> - Show quoted text -

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

Reply via email to