LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux 2.6 NFS Booting issue (https://www.linuxquestions.org/questions/linux-software-2/linux-2-6-nfs-booting-issue-647146/)

vijays 06-05-2008 04:06 AM

Linux 2.6 NFS Booting issue
 
Hi,

I am using linux-mips version 2.6.16.38 with ELDK 3.1.1.
I am trying to boot Linux using NFS server.
but unable to connect to server and getting following message.

--------------------------------------------------------------
io scheduler noop registered (default)
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
rtc: SRM (post-2000) epoch (2000) detected
Real Time Clock Driver v1.12a
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 21) is a ST16654
RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
loop: loaded (max 8 devices)
$Id: ftl.c,v 1.59 2005/11/29 14:48:31 gleixner Exp $
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
el_open getting called here.
IP-Config: Complete:
device=eth0, addr=192.168.202.20, mask=255.255.255.0, gw=192.168.202.1,
host=192.168.202.20, domain=, nis-domain=(none),
bootserver=192.168.202.22, rootserver=192.168.202.67, rootpath=

dev_name :sysfs
dir_name :/sys
type :sysfs

retval :: 0
<5>Looking up port of RPC 100003/2 on 192.168.202.67
Looking up port of RPC 100005/1 on 192.168.202.67

dev_name :/dev/root
dir_name :/root
type :nfs

retval :: 0

<7>Tx: bd=1, packaddr=0x810cec02, data len=82, bufaddr=1

After sys_mount ...............
VFS: Mounted root (nfs filesystem).

dev_name :.
dir_name :/
type :<NULL>

retval :: 0
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 144k freed
Warning: unable to open an initial console.
nfs: server 192.168.202.22 not responding, still trying
nfs: server 192.168.202.22 not responding, still trying
nfs: server 192.168.202.22 not responding, still trying
--------------------------------------------------------------

When i am capturing packet at NFS server I can see NFS packet coming in and out from the etho.

I have enabled the NFS support option as well as roootfs over nfs option in the Network file system option also BOOTP support kernel level auto configuration.

Using following Boot line parameter:

bootargs=root=/dev/nfs rw ip=192.168.202.20:192.168.202.22:192.168.202.1:255.255.255.0::eth0 nfsroot=192.168.202.22:/vijay/vkfs,rsize=1024,wsize=1024,timeo=20,retrans=10 mem=32M nofpu


When I debugged the code I found that it is getting hanged after the call of run_init_process("sbin/init"); in the file init/main.c file.

Is any thing else need to be configured which I am missing or something else is required.

Any suggestion ??

Thanks in advance ....

Regards
Vijay


All times are GMT -5. The time now is 08:59 AM.