LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2008, 04:06 AM   #1
vijays
LQ Newbie
 
Registered: Apr 2008
Posts: 5

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


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 issue... RexCoeus Linux - Networking 1 04-25-2008 06:25 AM
Booting a SPARC machine off a Linux NFS server uFu Linux - Networking 0 02-20-2007 09:52 PM
A linux booting issue. wolfe bane Linux - General 4 02-16-2006 02:00 PM
Linux booting issue... rrfish72 Linux - General 2 12-15-2004 11:32 AM
booting issue (addressed to linux experts) cmandan Linux - General 3 09-29-2003 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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