LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2009, 03:16 AM   #1
Eva2002
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
NFS mounting


Hi all,

I apologise if I posted in the wrong thread as I am not sure which category this falls under.

I am trying to get my arm board to obtain it root file system from the host my laptop but I encounter lots of problem and require some help.

what I have done:

- my arm board ip = 192.168.0.38 (interface to host => ethernet cable and serial port)

- host Ethernet address = 192.168.0.123

On host
- added in /etc/hosts.allow

portmap: 192.168.0.38
lockd: 192.168.0.38
mountd: 192.168.0.38
rquotad: 192.168.0.38
statd: 192.168.0.38

- added in /etc/hosts.deny

portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

- added in /etc/exports

=> /home/EVA/Desktop/Project 192.168.0.38(rw,sync,crossmnt)

- under system services:
turn on netfs, nfs, nfslock, rpcbind
turn off iptables
firewall disabled

chkconfig --list iptables
iptables 0: off 1: off 2: off 3: off 4: off 5: off 6: off

chkconfig --list ipchains
error reading information on service ipchains: No such file or directory

For client

- under linux kernel Kconfig
=> enabled NFS client support with NFS version 3 client protocol
=> enable “Root File System on NFS”

Kernel Commandline =
console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.0.123:/home/EVA/,nolock ip=192.168.0.38:192.168.0.123::::: off

Problem:

When I run my kernel on the arm board it gives me the following

...
Kernel command line: console=ttyS0,115200 root=/dev/nfs/ rw nfsroot=192.168.0.123:/home/EVA,nolock ip=192.168.0.38:192.168.0.123::::: off
...
IP-Config: Failed to open eth0
IP-Config: No network devices available.
Looking up port of RPC 100003/2 on 192.168.0.123
rpcbind: server 192.168.0.123 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.0.123
rpcbind: server 192.168.0.123 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /home/EVA
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:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


Can someone tell me what's wrong with my setup?
Thx

Stanley
 
Old 10-19-2009, 02:53 PM   #2
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: OpenBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 440

Rep: Reputation: 57
That looks to me like the initial problem is the network card isn't starting up properly. Are you using the correct drivers?
 
  


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 mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM
mounting NFS crazy8 Linux - Newbie 6 01-11-2008 03:49 PM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
NFS mounting RH 7.3 suchi Linux - Networking 0 11-18-2003 04:41 AM
nfs mounting chrismiceli Linux - Networking 1 06-07-2003 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:00 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