linux-mips
[Top] [All Lists]

Re: Problems with NFS boot

To: bamakhrama@gmail.com
Subject: Re: Problems with NFS boot
From: ankur maheshwari <ankur_maheshwari@procsys.com>
Date: Wed, 08 Aug 2007 17:57:29 +0530
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <40378e40708080431h56f18f0bjb24d1cc60ed92de1@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <40378e40708080318w7dc0f0b7s4c94c98acd72ec2c@mail.gmail.com> <20070808103119.GB5622@linux-mips.org> <40378e40708080431h56f18f0bjb24d1cc60ed92de1@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Please try similar to this working example; I use it successfully in my case.

setenv bootargs root=/dev/nfs rw nfsroot=192.168.1.10:/opt/target ip=192.168.1.11:192.168.1.5:192.168.1.10:255.255.255.0:::off


If booting from u-boot I use this following
root=/dev/nfs rw nfsroot=\\$(serverip):/opt/target ip=\\$(ipaddr):\\$(serverip):\\$(gatewayip):\\$(netmask):\\$(hostname)::off


thanks
Ankur


Mohamed Bamakhrama wrote:
Hi Ralf,
I added the ":" at the end. It is still not working. I get the same error:

VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Do I have to set any special config. info in the the kernel config
beside the NFS support?



On 8/8/07, Ralf Baechle <ralf@linux-mips.org> wrote:
On Wed, Aug 08, 2007 at 12:18:51PM +0200, Mohamed Bamakhrama wrote:

Hi list,
I have a Malta board for which I was able to build the kernel, load it
and start it. The problem comes when it tries to boot through the NFS.

I start the kernel with the following command:
go . nfsroot=192.168.1.1/mnt/danube_rootfs ip=192.168.1.4:192.168.1.1:::
                        ^^ there should be a `:' following the IP.

 Ralf





<Prev in Thread] Current Thread [Next in Thread>