Last Comment Bug 765533 - Host fails to mount SD card on otoro when UMS is enabled
: Host fails to mount SD card on otoro when UMS is enabled
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: Trunk
: ARM Gonk (Firefox OS)
: -- normal (vote)
: ---
Assigned To: Dave Hylands [:dhylands]
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-16 19:02 PDT by Chris Jones [:cjones] inactive; ni?/f?/r? if you need me
Modified: 2012-07-24 13:35 PDT (History)
6 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---
+


Attachments

Description Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-06-16 19:02:07 PDT
I get the error

E/Vold    (   99): Unable to open ums lunfile (No such file or directory)
E/AutoMounter(  116): Command 'volume share sdcard ums' failed: 406 'volume operation failed (No such file or directory)'
Comment 1 Dave Hylands [:dhylands] 2012-06-16 22:44:26 PDT
I'll take a look at this as soon as my otoro arrives (expected Tuesday)
Comment 2 Dave Hylands [:dhylands] 2012-06-19 14:42:38 PDT
This is caused by a mismatch between vold (built for ICS) and the kernel (built for GB).

I've filed an issue in github:
https://github.com/mozilla-b2g/android-device-otoro/issues/2

and one possible solution:
https://github.com/mozilla-b2g/android-device-otoro/pull/3
Comment 3 Dave Hylands [:dhylands] 2012-06-21 22:31:57 PDT
The solution of grabbing vold from the phone has been implemented.

If you've already run ./config.sh otoro, you'll need to do it again to cause the correct vold to be updated.
Comment 4 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-06-22 15:50:28 PDT
Do you mind posting a note about this to dev-b2g?  Thanks for fixing!
Comment 5 Dave Hylands [:dhylands] 2012-06-22 18:41:55 PDT
I posted the following to dev-b2g:

Fundamentally, the phone is running a GB kernel, but we're building an ICS userspace.

You need to update the phone to use the GB based vold that came with it, rather than the ICS based vold that we build.

1 - If you have a build environment setup, you need to update the vold that is in your build tree.
    There are 3 ways that you can do this:
    - ANDROIDFS_DIR=parent-of-place-you-saved-your-system-backup ./config.sh otoro
    - cp parent-of-place-you-saved-your-system-backup/system/bin/vold ./vendor/qcom/common/proprietary/vold
    - I stashed a copy at http://people.mozilla.com/~dhylands/vold

2 - You can then do ./build.sh && ./flash.sh
    Or you can do: adb push vold /system/bin

If you don't have a build environment, just grab the vold that I stashed (see above) and adb push it to the phone (see 2 above)

Reboot the phone, and USB mass storage should be working.

Note You need to log in before you can comment on or make changes to this bug.