configuration of NFS root file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,everyone

I'm tring to use NFS.
My host IP is 192.168.0.7 and gateway is 192.168.0.1, netmask is 255.255.255.0
My host is debian, and I exported nfs directory in /etc/exports
The /etc/exports file contains following "/home/frog/nfs
192.168.0.8(rw,no_root_squash,sync)"
Then I run "exportfs -a" to activate nfs server.

My U-boot argment is following :
setenv bootargs root=/dev/nfs rw nfsroot=192.168.0.7:/home/frog/nfs
ip=192.168.0.8:192.168.0.7:192.168.0.1:255.255.255.0:eth0::off

When kernel boots, dedlock occurs as follows :
....
....
....
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
IP-Config: Complete:
     device=eth0, addr=192.168.0.8, mask=255.255.255.0, gw=192.168.0.1,
     host=eth0, domain=, nis-domain=(none),
     bootserver=192.168.0.7, rootserver=192.168.0.7, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.7
eth0: link up (100/Full)
Looking up port of RPC 100005/1 on 192.168.0.7
VFS: Mounted root (nfs filesystem).
Freeing init memory: 128K
Warning: unable to open an initial console.


How can I fix it?

Thanks in advance
Best Regards,
J.Hwan Kim

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux