• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » OMAP™ Applications Processors » OMAP 4 Forum » NFS client on ICS
Share
OMAP™ Applications Processors
  • Forums
Options
  • Subscribe via RSS

Forums

NFS client on ICS

This question is answered
Alireza Kenarsari Anhari
Posted by Alireza Kenarsari Anhari
on Apr 13 2012 19:14 PM
Intellectual500 points

Hi,

I am trying to setup a build environment for OMAP blaze device which is running ice cream sandwich. I am trying to mount a folder from my Linux box (Ubuntu) to blaze using NFS. After setting up the server on Ubuntu I use the following command on omap to map the drive:

mount -t nfs IP_OF_UBUNTU_MACHINE:/SOME_DIR/ /sdcard/nfs/SOME_DIR_2

which returns with the following error message: "invalid argument". I already checked the following: (1) IP is correct as I can ping it (2) source and destination directories exist (3) after doing "make menconfig" in kernel's directory I noted that "NFS client support" is actually selected. Could anybody help me resolve this issue?

Thanks,

Alireza

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Manuel Contreras
    Posted by Manuel Contreras
    on Apr 13 2012 19:44 PM
    Expert8485 points

    By typing "man mount" in terminal the option nfs3 is not available try using nfs or nfs4;

    Mount options for nfs and nfs4
           See the options section of the nfs(5) man page (nfs-common package must be installed).

    A point to check is next link

    http://omapedia.org/wiki/Android_enabling_codecs#To_enable_with_external_access_point

    and adding some options to command line it could depend on how PC's NFS is configured
           defaults
                  Use default options: rw, suid, dev, exec, auto, nouser, and async.

    Please click the Verify Answer button on this post if it answers your question
    _______________________________________________________
    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alireza Kenarsari Anhari
    Posted by Alireza Kenarsari Anhari
    on Apr 13 2012 20:03 PM
    Intellectual500 points

    Yes I noted that and updated the post accordingly. Now I am using

    mount -t nfs ...

    which returns "invalid argument". On a side note. Please correct me if I am wrong. The "mount" utility on android is not the same as the linux one. i.e. "man mount" does not necessarily give me correct information. e.g. typing "mount --version " returns error on android.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Manuel Contreras
    Posted by Manuel Contreras
    on Apr 13 2012 20:29 PM
    Expert8485 points

    Right;

    I  just ran mount -t nfs4 and "invalid argument" error became "no such device" i used my PC's IP address that is not using a nfs server.

    try using nfs4

    source code for mount is in toolbox code, it has menu options

    ./27.IS.2/mydroid/system/core/toolbox/mount.c

    Please click the Verify Answer button on this post if it answers your question
    _______________________________________________________
    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alireza Kenarsari Anhari
    Posted by Alireza Kenarsari Anhari
    on Apr 13 2012 20:37 PM
    Intellectual500 points

    Thanks a lot for double checking. Yes using nfs4 returns "No such device" for me too. But this I would expect as nfs4 is not built as a part of ice cream sandwich release (i.e. default configuration of kernel excludes it). Still wondering how this could go wrong as I am pretty sure a lot of OMAP developers should rely on it for driver/software development. Hopefully someone would have an answer :)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Norman Wong
    Posted by Norman Wong
    on Apr 14 2012 01:32 AM
    Verified Answer
    Verified by Magdalena Iovescu
    Guru14930 points

    Your version of mount might not support NFS. See Xavier's post here:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/143416/517672.aspx#517672

    Check to see which mount program you are using by "which mount" on the target. You might be running "/bin/mount" or a symbolic link to "/bin/busybox".

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Manuel Contreras
    Posted by Manuel Contreras
    on Apr 16 2012 11:02 AM
    Expert8485 points

    one link for Busybox in Android is

    http://omapedia.org/wiki/Android_Installing_Busybox_Command_Line_Tools

    Please click the Verify Answer button on this post if it answers your question
    _______________________________________________________
    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use