- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I donwloaded the uClinux kernel on my development board and I am trying to mount host pc using the following command but its not working. it says "Mount failed : Invalid argument" mount -t nfs 192.168.4.9:/ext_disk/home/sony /mnt/nfs I tried to telnet to another machine running linux on my network and I am able to login successfully. Can anyone suggest what may be the problem. Thanx in advance sonyLink Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
add "-o nolock" for mount option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Jun 1 2006, 09:58 AM add "-o nolock" for mount option.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15768)
--- quote end ---
--- Quote End --- Hi hippo, I already tried that option but i get the error as "wrong number of arguments for mount" I have followed the following link to build my kernel: http://nioswiki.jot.com/wikihome/%c2%b5clinux (http://nioswiki.jot.com/wikihome/%c2%b5clinux) with few modification like adding the SMC91111 device driver for networking . I also tried to enable the mount option in the busybox when I enable "Customize Vendor/User Settings". I dont know if I am making any error. Please help - sony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by sony_sony+jun 2 2006, 04:23 pm--><div class='quotetop'>quote (sony_sony @ jun 2 2006, 04:23 pm)</div>
--- quote start ---
<!--quotebegin-hippo@Jun 1 2006, 09:58 AM add "-o nolock" for mount option.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15768)
--- quote end ---
--- Quote End --- Hi hippo, I already tried that option but i get the error as "wrong number of arguments for mount" I have followed the following link to build my kernel: http://nioswiki.jot.com/wikihome/%c2%b5clinux (http://nioswiki.jot.com/wikihome/%c2%b5clinux) with few modification like adding the SMC91111 device driver for networking . I also tried to enable the mount option in the busybox when I enable "Customize Vendor/User Settings". I dont know if I am making any error. Please help - sony <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15788)</div> [/b] --- Quote End --- Please read the section about nfs in the coldfire uclinux note, http://www.uclinux.org/ports/coldfire/notes.html (http://www.uclinux.org/ports/coldfire/notes.html) You may use the busybox mount, and enable the nfs support in busybox mount. You need to clean up, with "make -C user/busybox clean" , and "make subdirs" "make romfs" again. You may also try stand-alone mount in File system utility of uCLinux-dist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hippo,
thanx for your reply but it seems nothing is working. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif ( I tried to compile according to the link you mentioned in your last msg but i cannot run Portmap. it says "Bad comman or filename" Can you please tell me what this portmap is? I tried the way you mentioned but still no success. I tried to mount using "busybox mount " but it gives an error that "mount:applet not found" stand alone "mount" doesnt compile. I am working on Altera stratix device. is it that on Altera devices this is not support. just asking a question as i dont know why its not working. Also when i look inthe "romfs/bin" directory then I can find busybox links to all the routines I enabled while running "make menuconfig" eg., busybox cat -> busybox hostname -> busybox inetd init kill -> busybox ls -> busybox mkdir -> busybox mount -> busybox mv -> busybox netstat -> busybox ping -> busybox rm -> busybox sh telnetd touch -> busybox umount -> busybox but when I download the kernel on the development board and i look into the "bin" directory I cant find all there.. just the ping and netstat I also tried changing the default vendor settings in ~/uClinux-dist-test/vendors/Altera/nios2nommu/config.vendor and enabled the CONFIG_USER_BUSYBOX_MOUNT, but still nothing. I enabled the sh shell in the busybox option in menuconfig in the hope it will work but when I type "sh" after downloading the kernel to the development board it doesnt appear that I am getting the sh shell. Can you tell me how will i get to know that i got the sh shell. Please help .... Thanks in advance -sony- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the standalone mount can't not compile.
You have to use busybox mount. The dependency list does not work well in uCinux-dist. So you need "make -C user/busybox clean" to cleanup the busybox. Then "make" "make romfs" and "make linux image" . We use sash shell, it is smaller than busybox and take less memory. You don't need sh in busybox. You can check what is in busybox, by running "busybox" on uClinux. You can check what is in sash, by "help" . You don't need portmap, if you use "-o nolock" mount flag.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hippo,
I built everything from scrap today and everything is working perfectly. thanx for your help. - sony
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page