[Linaro-validation] Using ip=dhpc is evil

Zygmunt Krynicki zygmunt.krynicki at linaro.org
Tue Mar 13 14:20:19 UTC 2012


W dniu 13.03.2012 14:49, Alexander Sack pisze:
> On Tue, Mar 13, 2012 at 2:37 PM, Zygmunt Krynicki
> <zygmunt.krynicki at linaro.org <mailto:zygmunt.krynicki at linaro.org>> wrote:
>
>     W dniu 13.03.2012 14:35, Loïc Minier pisze:
>
>         On Tue, Mar 13, 2012, Zygmunt Krynicki wrote:
>
>             I'm trying to use my snowball for development testing. It
>             seems that
>             having kernel command line specify ip=dhpc is evil as that
>             makes all
>             of the userspace network configuration not to happen.
>
>             When this happens ifup scripts are not executed and ntpdate
>             is never
>             invoked. I have not debugged this correctly yet but that
>             seems to be
>             the case for me.
>
>
>           ip=dhcp is typically meant for NFS root, or sometimes when
>         you're just
>           starting an initrd and would like the kernel to configure the
>         network
>           interface for you, but it's usually a bad idea for anything
>         else; would
>           be best to stop passing this and use the network setup of the
>         rootfs.
>
>
>     Right. I've found that this option is somehow provided by default on
>     my V1 (no typo here) snowball with the current desktop image. It
>     would be prudent to check if any other boards are affected.
>
>
> That's part of the hwpack meta info, no? If so, bark at Ricardo's tree
> (CCed) :). I agree that adding ip=dhcp by default feels incorrect, but I
> don't know the background...

I'll try to figure out where it comes from. If anyone wants to help have 
a look at this:

https://pastebin.linaro.org/433/

-- 
Zygmunt Krynicki
Linaro Validation Team



More information about the linaro-validation mailing list