LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2004, 01:39 AM   #1
liyuheu
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Rep: Reputation: 0
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!
 
Old 08-06-2004, 02:03 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Do you have the portmapper running and accessible on the remote machine? Sounds like it's having trouble getting the port numbers.
 
Old 08-06-2004, 02:17 AM   #3
liyuheu
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Original Poster
Rep: Reputation: 0
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?

Last edited by liyuheu; 08-06-2004 at 02:35 AM.
 
Old 08-07-2004, 12:31 AM   #4
liyuheu
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks all,
I have resolved it!
 
  


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
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 03:14 AM
struts: does the request die after I return from a ForwardAction? eantoranz Programming 8 03-04-2005 01:04 PM
Why the RPC request return error? liyuheu Red Hat 3 10-18-2004 12:38 AM
RPC error during shutdown dlester03 Linux - General 2 06-30-2004 10:15 PM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 01:10 AM


All times are GMT -5. The time now is 02:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration