netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 20772] New: ip= nfsaddrs= stopped working
       [not found] <bug-20772-10286@https.bugzilla.kernel.org/>
@ 2010-10-19 19:09 ` Andrew Morton
  2010-10-27 22:31   ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2010-10-19 19:09 UTC (permalink / raw)
  To: netdev; +Cc: bugzilla-daemon, bugme-daemon, mpetersen


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Tue, 19 Oct 2010 18:20:15 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=20772
> 
>            Summary: ip= nfsaddrs= stopped working
>            Product: Networking
>            Version: 2.5
>     Kernel Version: 2.6.33, 2.6.32, 2.6.26
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: high
>           Priority: P1
>          Component: IPV4
>         AssignedTo: shemminger@linux-foundation.org
>         ReportedBy: mpetersen@peak6.com
>         Regression: Yes
> 
> 
> I can no longer set a static IP address using either ip= or nfsaddr=, ie
> ip=192.168.0.42:192.168.0.69:255.255.255.0:testhost:eth0:none has no effect,
> and DHCP is still attempted.
> 
> Even if I undefine IP_PNP_DHCP IP_PNP_BOOTP and IP_PNP_RARP in the config (but
> leave IP_PNP,) the kernel seems to ignore the static IP settings and try to get
> a an IP address with DHCP somehow.
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bugme-new] [Bug 20772] New: ip= nfsaddrs= stopped working
  2010-10-19 19:09 ` [Bugme-new] [Bug 20772] New: ip= nfsaddrs= stopped working Andrew Morton
@ 2010-10-27 22:31   ` Simon Horman
  2010-10-28 14:32     ` Chuck Lever
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2010-10-27 22:31 UTC (permalink / raw)
  To: Andrew Morton; +Cc: netdev, bugzilla-daemon, bugme-daemon, mpetersen

On Tue, Oct 19, 2010 at 12:09:38PM -0700, Andrew Morton wrote:
> 
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Tue, 19 Oct 2010 18:20:15 GMT
> bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> > https://bugzilla.kernel.org/show_bug.cgi?id=20772
> > 
> >            Summary: ip= nfsaddrs= stopped working
> >            Product: Networking
> >            Version: 2.5
> >     Kernel Version: 2.6.33, 2.6.32, 2.6.26
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: high
> >           Priority: P1
> >          Component: IPV4
> >         AssignedTo: shemminger@linux-foundation.org
> >         ReportedBy: mpetersen@peak6.com
> >         Regression: Yes
> > 
> > 
> > I can no longer set a static IP address using either ip= or nfsaddr=,
> > ie ip=192.168.0.42:192.168.0.69:255.255.255.0:testhost:eth0:none has no
> > effect, and DHCP is still attempted.
> > 
> > Even if I undefine IP_PNP_DHCP IP_PNP_BOOTP and IP_PNP_RARP in the
> > config (but leave IP_PNP,) the kernel seems to ignore the static IP
> > settings and try to get a an IP address with DHCP somehow.

Hi,

I believe that the problem is that there is a minor syntax error in the
configuration parameter. Specifically there should be two colons between
192.168.0.69 and 255.255.255.0 or between 192.168.0.42 and 192.168.0.69.

As it stands the settings are:

	my address	192.168.0.42
	server address	192.168.0.69
	gateway		255.255.255.0
	netmask		testhost
	hostname	eth0
	interface	none

I believe it is the interface=none that is killing any IP configuration
by the kernel as no such interface exists.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bugme-new] [Bug 20772] New: ip= nfsaddrs= stopped working
  2010-10-27 22:31   ` Simon Horman
@ 2010-10-28 14:32     ` Chuck Lever
  2010-10-28 14:51       ` Chuck Lever
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Lever @ 2010-10-28 14:32 UTC (permalink / raw)
  To: Simon Horman
  Cc: Andrew Morton, netdev, bugzilla-daemon, bugme-daemon, mpetersen


On Oct 27, 2010, at 6:31 PM, Simon Horman wrote:

> On Tue, Oct 19, 2010 at 12:09:38PM -0700, Andrew Morton wrote:
>> 
>> (switched to email.  Please respond via emailed reply-to-all, not via the
>> bugzilla web interface).
>> 
>> On Tue, 19 Oct 2010 18:20:15 GMT
>> bugzilla-daemon@bugzilla.kernel.org wrote:
>> 
>>> https://bugzilla.kernel.org/show_bug.cgi?id=20772
>>> 
>>>           Summary: ip= nfsaddrs= stopped working
>>>           Product: Networking
>>>           Version: 2.5
>>>    Kernel Version: 2.6.33, 2.6.32, 2.6.26
>>>          Platform: All
>>>        OS/Version: Linux
>>>              Tree: Mainline
>>>            Status: NEW
>>>          Severity: high
>>>          Priority: P1
>>>         Component: IPV4
>>>        AssignedTo: shemminger@linux-foundation.org
>>>        ReportedBy: mpetersen@peak6.com
>>>        Regression: Yes
>>> 
>>> 
>>> I can no longer set a static IP address using either ip= or nfsaddr=,
>>> ie ip=192.168.0.42:192.168.0.69:255.255.255.0:testhost:eth0:none has no
>>> effect, and DHCP is still attempted.
>>> 
>>> Even if I undefine IP_PNP_DHCP IP_PNP_BOOTP and IP_PNP_RARP in the
>>> config (but leave IP_PNP,) the kernel seems to ignore the static IP
>>> settings and try to get a an IP address with DHCP somehow.
> 
> Hi,
> 
> I believe that the problem is that there is a minor syntax error in the
> configuration parameter. Specifically there should be two colons between
> 192.168.0.69 and 255.255.255.0 or between 192.168.0.42 and 192.168.0.69.
> 
> As it stands the settings are:
> 
> 	my address	192.168.0.42
> 	server address	192.168.0.69
> 	gateway		255.255.255.0
> 	netmask		testhost
> 	hostname	eth0
> 	interface	none
> 
> I believe it is the interface=none that is killing any IP configuration
> by the kernel as no such interface exists.

Did "interface=none" work in 2.6.36 and earlier?

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bugme-new] [Bug 20772] New: ip= nfsaddrs= stopped working
  2010-10-28 14:32     ` Chuck Lever
@ 2010-10-28 14:51       ` Chuck Lever
  0 siblings, 0 replies; 4+ messages in thread
From: Chuck Lever @ 2010-10-28 14:51 UTC (permalink / raw)
  To: Simon Horman
  Cc: Andrew Morton, netdev, bugzilla-daemon, bugme-daemon, mpetersen


On Oct 28, 2010, at 10:32 AM, Chuck Lever wrote:

> 
> On Oct 27, 2010, at 6:31 PM, Simon Horman wrote:
> 
>> On Tue, Oct 19, 2010 at 12:09:38PM -0700, Andrew Morton wrote:
>>> 
>>> (switched to email.  Please respond via emailed reply-to-all, not via the
>>> bugzilla web interface).
>>> 
>>> On Tue, 19 Oct 2010 18:20:15 GMT
>>> bugzilla-daemon@bugzilla.kernel.org wrote:
>>> 
>>>> https://bugzilla.kernel.org/show_bug.cgi?id=20772
>>>> 
>>>>          Summary: ip= nfsaddrs= stopped working
>>>>          Product: Networking
>>>>          Version: 2.5
>>>>   Kernel Version: 2.6.33, 2.6.32, 2.6.26
>>>>         Platform: All
>>>>       OS/Version: Linux
>>>>             Tree: Mainline
>>>>           Status: NEW
>>>>         Severity: high
>>>>         Priority: P1
>>>>        Component: IPV4
>>>>       AssignedTo: shemminger@linux-foundation.org
>>>>       ReportedBy: mpetersen@peak6.com
>>>>       Regression: Yes
>>>> 
>>>> 
>>>> I can no longer set a static IP address using either ip= or nfsaddr=,
>>>> ie ip=192.168.0.42:192.168.0.69:255.255.255.0:testhost:eth0:none has no
>>>> effect, and DHCP is still attempted.
>>>> 
>>>> Even if I undefine IP_PNP_DHCP IP_PNP_BOOTP and IP_PNP_RARP in the
>>>> config (but leave IP_PNP,) the kernel seems to ignore the static IP
>>>> settings and try to get a an IP address with DHCP somehow.
>> 
>> Hi,
>> 
>> I believe that the problem is that there is a minor syntax error in the
>> configuration parameter. Specifically there should be two colons between
>> 192.168.0.69 and 255.255.255.0 or between 192.168.0.42 and 192.168.0.69.
>> 
>> As it stands the settings are:
>> 
>> 	my address	192.168.0.42
>> 	server address	192.168.0.69
>> 	gateway		255.255.255.0
>> 	netmask		testhost
>> 	hostname	eth0
>> 	interface	none
>> 
>> I believe it is the interface=none that is killing any IP configuration
>> by the kernel as no such interface exists.
> 
> Did "interface=none" work in 2.6.36 and earlier?

OK, I see that's a dumb question.

I made changes to this area of code in 2.6.37.  I was responding to the bug report above, and not Simon's observation that there was possibly a syntax error.

Sorry for the noise.

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-28 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-20772-10286@https.bugzilla.kernel.org/>
2010-10-19 19:09 ` [Bugme-new] [Bug 20772] New: ip= nfsaddrs= stopped working Andrew Morton
2010-10-27 22:31   ` Simon Horman
2010-10-28 14:32     ` Chuck Lever
2010-10-28 14:51       ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).