LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why the RPC request return error? (https://www.linuxquestions.org/questions/linux-newbie-8/why-the-rpc-request-return-error-214102/)

liyuheu 08-06-2004 12:39 AM

Why the RPC request return error?
 
hi,everybody,
I have compile the linux-2.6.6 for vpb926ejs developing board, I want to use NFS as the filesystem. I set the /etc/exports right, and the portmap, nfs service run ok, as follow:

# service nfs status //nfsd run ok
rpc.mountd is running
nfsd is running
rpc.rquotad is running

# iptables -nL //fireway disabled
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination

When the linux kernel in target boots, it shows :
___________________________________________
<5>Looking up port of RPC 100003/2 on 10.18.16.255
<5>RPC: sendmsg returned error 13
portmap: RPC call returned error 13
<3>Root-NFS: Unable to get nfsd port number from server, using default
<5>Looking up port of RPC 100005/1 on 10.18.16.255
<5>RPC: sendmsg returned error 13
portmap: RPC call returned error 13
<3>Root-NFS: Unable to get mountd port number from server, using default
<5>RPC: sendmsg returned error 13
mount: RPC call returned error 13
<3>Root-NFS: Server returned error -13 while mounting /home/wuliyu/eldk/arm_920T
DI
<3>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
<0>Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)
<6>eth0: link down

I found the error 13 means "permission denied", how can I resolve it?
Please help me , thanks!

btmiller 08-06-2004 01:03 AM

Do you have the portmapper running and accessible on the remote machine? Sounds like it's having trouble getting the port numbers.

liyuheu 08-06-2004 01:17 AM

In host pc, the portmapper service is running, the linux-2.6.6 kernel is booting, when It access the NFS, it goes wrong! I have compile the RPC and NFS support in the kernel, I don't know where is wrong ?

# /etc/init.d/portmap status
portmap (pid 1938) is running...
# vi /etc/hosts
127.0.0.1 wuliyu localhost.localdomain localhost
10.18.16.12 arm arm arm //10.18.16.12 is the ip address of remote machine
# vi /etc/exports
/home/wuliyu/eldk/arm_920TDI * (rw,no_root_squash,sync)

I think host and target has connected, but it can not access the host special port, I don't know I should check host or target setting?

liyuheu 08-06-2004 11:31 PM

Thanks all,
I have resolved it!


All times are GMT -5. The time now is 11:56 AM.