Skip to contentSkip to conversation

cannot mount NFS root fs

U-Boot-Users Laudney Ren 2 participants 2 messages Jan 15, 2003

lore
Share & tools
lore
#0 lore raw

Hi, all:
I used tftp to download kernel into SDRAM at 0x180000, and then went to boot the kernel. But error occurred when trying to mount root fs via NFS.

The whole message is in the attachment.

Signature · 6 lines
An expert is one who knows more and more about less and less
until he knows absolutely everything about nothing.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mail_nfs
Url: http://lists.denx.de/pipermail/u-boot/attachments/20030115/84a2d27c/attachment.txt 
#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

I used tftp to download kernel into SDRAM at 0x180000, and then went to boot the kernel. But error occurred when trying to mount root fs via NFS.

...

Quoted 2 lines

=>printenv
bootargs=root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off

This is wrong. As the variables are set, they should get substituted here. I guess you used an (bad) extra level of escaping the '$'s.

Quoted 6 lines

Linux version 2.4.18 (root at hi-jack) (gcc version 2.95.3 20010315 (release)) #1 Wed Jan 15 17:35:12 CST 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off

The problem should be obvious: you boot arguments are bogus.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
If something is different, it's either better or worse,  and  usually
both.                                                    - Larry Wall