From: ankur maheshwari <ankur_maheshwari@procsys.com>
To: bamakhrama@gmail.com
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: Problems with NFS boot
Date: Wed, 08 Aug 2007 17:57:29 +0530 [thread overview]
Message-ID: <46B9B6B1.3000704@procsys.com> (raw)
In-Reply-To: <40378e40708080431h56f18f0bjb24d1cc60ed92de1@mail.gmail.com>
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
>>
>>
>
>
>
next prev parent reply other threads:[~2007-08-08 12:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 10:18 Problems with NFS boot Mohamed Bamakhrama
2007-08-08 10:31 ` Ralf Baechle
2007-08-08 11:31 ` Mohamed Bamakhrama
2007-08-08 12:27 ` ankur maheshwari [this message]
2007-08-08 13:19 ` Steven J. Hill
2007-08-08 13:21 ` Steven J. Hill
2007-08-08 14:55 ` Mohamed Bamakhrama
2007-08-08 15:09 ` Ralf Baechle
2007-08-08 16:10 ` Mohamed Bamakhrama
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46B9B6B1.3000704@procsys.com \
--to=ankur_maheshwari@procsys.com \
--cc=bamakhrama@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox