[U-Boot] NFS file system mounting problem
Wolfgang Denk
wd at denx.de
Wed Oct 14 21:30:22 CEST 2009
Dear "Heyendal, Carl",
In message <1D6034426110564DA0DEA9EE9793B38357C8A9AF6B at NBE-MBX01.americas.swk.pri> you wrote:
>
> First post, and also a U-Boot newbie.
Welcome, but...
> I'm working with a U-Boot configuration that I did not build myself. I'm ha=
> ving trouble getting U-Boot to mount an NFS root file system on my target p=
> latform.
First, please stick to the netiquette: please make sure your line
length does not exceed some 70 charcters or so - your lines are way
too long.
Second, your problem description is wrong - it's not U-Boot which
mounts the root file system, this is done by the Linux kernel instead.
Which points to the third problem: your question is not U-Boot related
at all, it is a Linux question. You're kind of off topic here.
> I have read the U-Boot manual regarding setting up 'bootargs' with all the =
> necessary NFS information, but Linux is ignoring the information and mounti=
> ng the resident file system that's on my target; which of course I'm trying=
> to bypass.
>
> From printenv:
> bootargs=console=ttyS0,115200 root=/dev/nfs rw nfsroot=10.10.1.16:/
> home/heyendal/buildroot/buildroot-2009.08/project_build_arm/ILS_CM/root ip
> =10.10.1.8:10.10.1.16:10.10.1.1:255.255.252.0:cm_carlh::off
> Below is the output that I get that clearly shows the correct NFS informati
> on is getting passed to Linux, however the subsequent messages after the fr
> eeing of memory is from my resident file system:
> NET: Registered protocol family 17
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> IP-Config: Complete:
> device=eth0, addr=10.10.1.8, mask=255.255.252.0, gw=10.10.1.1,
> host=cm_carlh, domain=, nis-domain=(none),
> bootserver=10.10.1.16, rootserver=10.10.1.16, rootpath=
You don't show the full boot messages, so we cannot see which command
line is actually seen by Linux.
We also cannot see what the kernel is trying to mount actually.
> Can someone help with my problem?
Given the fact that you don't provide any relevant information, we
cannot help you.
> This e-mail, including any attached files, is intended only for the person
> to whom or the entity to which it is addressed and may contain confidential
> and/or privileged material. Any review, retransmission, dissemination or o
> ther use of, or taking of any action in reliance upon, this information by
> persons or entities other than the intended recipient is prohibited. If you
> received this in error, please contact the sender and delete the material
> from any computer.
Please make sure NEVER to add such texts when posting to public
mailing lists. It's effectless, and stupid. You cannot delete a file
"from the Internet".
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is easier to change the specification to fit the program than vice
versa.
More information about the U-Boot
mailing list