LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 04-12-2011, 10:56 PM   #1
J_K_L
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Failed to mount NFS


Hi all, I'm working with the OK6410 with 4.3" LCD from http://www.arm9board.net, the board come with ready-to-go uboot, linux2.6.36 and root filesystem with qtopia, which make it very nice.

I'm trying to boot the root fielsystem via NFS, according to the OK6410 manual, all what I need to do is to setup the Ubuntu NFS service and configure the u-boot bootargs to
Code:
setenv bootargs "root=/dev/nfs nfsroot=192.168.0.231:/ok6410/root ip=192.168.0.232:192.168.0.231:192.168.0.201:255.255.255.0:arm9board.net:eth0:off console=ttySAC0,115200"
Well I did those. However, while trying to boot the Linux I got the following error in the serial console:
Code:
rpcbind: server 192.168.1.105 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.105
rpcbind: server 192.168.1.105 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -101 while mounting /home/sz/my/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0 (driver?)
1f01            3840 mtdblock1 (driver?)
1f02            3072 mtdblock2 (driver?)
1f03           61440 mtdblock3 (driver?)
1f04           61440 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[<c002b8b4>] (unwind_backtrace+0x0/0xdc) from [<c02e7b38>] (panic+0x40/0x120)
[<c02e7b38>] (panic+0x40/0x120) from [<c0008fb4>] (mount_block_root+0x1d0/0x210)

[<c0008fb4>] (mount_block_root+0x1d0/0x210) from [<c0009240>] (prepare_namespace
+0x158/0x1b0)
[<c0009240>] (prepare_namespace+0x158/0x1b0) from [<c00085bc>] (kernel_init+0xd8
/0x10c)
[<c00085bc>] (kernel_init+0xd8/0x10c) from [<c0026e54>] (kernel_thread_exit+0x0/
0x8)
Is here someone happens to be using the OK6410 too and has any idea about such error? Any information will be much appreciated, thanks in advance!
 
Old 04-13-2011, 02:06 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
silly but worth asking:
1. is /etc/exports edited and the clients allowed to mount the dir you are passing for mount ?
2. is iptables running ? can u stop iptables and try ... looks like rpcinfo is failing ...
3. is portmap running on the ubuntu machine (/etc/init.d/nfs restart)

Last edited by bhaslinux; 04-13-2011 at 02:09 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount.nfs: mount to NFS server 'rpcbind' failed w1k0 Slackware 4 03-30-2010 03:45 PM
mount: mount to NFS server '192.168.15.2' failed: System Error: No route to host. mohammedahmed86 Linux - Networking 4 11-05-2009 10:48 AM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. fakie_flip Linux - Server 1 04-10-2008 12:28 AM
nfs over ssh : mount failed oudoubah Linux - Networking 1 01-08-2007 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration