AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080402112850.77e6615b@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<sripal.surendiran@onstor.com>,<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	47F3CEB3.2010401@onstor.com
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 2 Apr 2008 11:28:59 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Sripal <sripal.surendiran@onstor.com>
Cc: Larry Scheer <larry.scheer@onstor.com>
Subject: Re: I could not boot Cougar filer as NFS root
Message-ID: <20080402112859.14dec10b@ripper.onstor.net>
In-Reply-To: <47F3CEB3.2010401@onstor.com>
References: <47F3CEB3.2010401@onstor.com>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 02 Apr 2008 23:51:39 +0530 Sripal
<sripal.surendiran@onstor.com> wrote:

> Larry,
> 
> I just followed steps in wiki to create NFS root. I get following
> error when I boot my system using tftp server.


You cut off the IP initialization section...probably the important part.

> sd 0:0:0:0: [sda] 2060352 512-byte hardware sectors (1055 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't 
> support DPO or FUA
> sd 0:0:0:0: [sda] 2060352 512-byte hardware sectors (1055 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't 
> support DPO or FUA
>  sda: sda1 sda2 sda3 sda4
> sd 0:0:0:0: [sda] Attached SCSI removable disk
> Root-NFS: No NFS server available, giving up.
> 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:
> 0800    1030176 sda driver: sd
>   0801     712624 sda1
>   0802      30240 sda2
>   0803     174384 sda3
>   0804     112896 sda4
> Kernel panic - not syncing: VFS: Unable to mount root fs on 
> unknown-block(2,0)
> Rebooting in 5 seconds..
> *
> DHCP configuration*
> host g7r10.onstor.lab {
>         hardware ethernet 00:07:34:10:00:00;
>         fixed-address 10.2.10.7;
>         next-server 10.0.0.143;
>         option root-path "10.0.0.143:/var/nfsroot/g7r10";
>         option host-name "g7r10";
>         option subnet-mask 255.255.0.0;
>         option routers 10.2.0.1;
>         filename "10.2.10.7/vmlinux.bin";
>         }
> 
> *Prom details*
> SSC-PROM> env view
> 
> Current Environment Settings:
>         autoload       = on         ( off on )
>         autoreboot     = off        ( off on )
>         load_src       = network    ( disk network )
>         load_opts      = mAt        ( m/s|A/a|d|t )
>         boot_dev       = sc0        ( sda1 sdb1 sc0 )
>         upgrade_prom   = yes        ( no yes )
>         env_reset      = no         ( no yes )
>         autolinkenable = f          (SP.0 enabled, SP.1 enabled, SP.2 
> enabled, SP.3 enabled)
>         hw_qt          = off        ( off on )
>         hw_ft          = off        ( off on )
>         hw_diag        = off        ( off on )
> 
> SSC-PROM> ver
> 
> PROM_SIBYTE_CG : Cougar-prom-1.0.5 : Tue Mar 18 11:08:26 2008
> 
> *Fstab entry:*
> [sripal@linux-compile rootfs]#cat etc/fstab.sav
> /dev/root   /       nfs     defaults 0 0
> proc        /proc   proc    defaults 0 0
> tmpfs       /tmp    tmpfs   defaults,size=12m 0 0
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/bin 
> /onstor/bin nfs defaults 0 0
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/lib 
> /onstor/lib nfs defaults 0 0
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/man 
> /onstor/man nfs defaults 0 0
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/web 
> /onstor/web nfs defaults 0 0

I doubt it's a good idea to mount your Cheetah build directories to a
Cougar.  And it should be etc/fstab, shouldn't
it?  /var/nfsroot/g7r10/etc/fstab?

> Whether I am missing something?
> 
> Sripal.
> 
> 
