LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Failed to mount NFS (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/failed-to-mount-nfs-874676/)

J_K_L 04-12-2011 10:56 PM

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!

bhaslinux 04-13-2011 02:06 AM

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)


All times are GMT -5. The time now is 04:50 AM.