NFS Booting

Submitted by Anonymous
on March 24, 2009 - 7:03am

Hello all,
I am having PPC7448 SBC running 2.6.16 Linux.
Ethernet device is TSI109. The board boots in ramdisk mode.
But NFS boot fails frequently,
First it will tell "NFS Server not responding" then "NFS SErver OK"
again it will tell "NFS Server not responding". Is this problem with driver or NFS server setting issue?

Thanks in advance.
Nash

network analyzer

strcmp
on
March 24, 2009 - 2:20pm

use a network analyzer like wireshark to see the client requests and server responses

when i used wire shark i was

Anonymous (not verified)
on
March 27, 2009 - 8:34pm

when i used wire shark i was able to see a lot of re transmissions, but it goes on re requesting and re transmitting. As if client has not got the packets from server

your finding

strcmp
on
March 28, 2009 - 3:57am

If you saw positive answers the client should expect (no error messages) from the server addressed to the client and the client didn't get the packets, you have at least answered your question: "Is this problem with driver or NFS server setting issue?"

Now you can focus on locating the problem on the client. Can you see, if the packets are received by the low level driver? I.e. is it a driver problem or are the packets thrown away later by the IP stack?

i gave some print statements

Anonymous (not verified)
on
March 30, 2009 - 7:09pm

i gave some print statements and found that the packets arrived in etherenet driver and delivered to the "\net\core\dev.c". my kernel is 2.6.16. The packet reached at least upto netif_recieve_skb function.

bootargs

getarunks
on
March 25, 2009 - 9:53pm

What is your bootargs?

console=ttyS0,115600

Anonymous (not verified)
on
March 27, 2009 - 8:30pm

console=ttyS0,115600 root=/dev/nfs nfsroot=192.168.103.100:/target-ppcfs ip=192.168.103.99:::::eth0

Try changing the protocol by

Anonymous (not verified)
on
March 29, 2009 - 4:24am

Try changing the protocol by using nfsroot=192.168.103.100:/target-ppcfs,proto=tcp or ...,proto=udp instead. Those are sensitive to different kinds of networking problems.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.