Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-15 Thread H . J . Lu
> > The clean way to handle it, and I'll take a look it to have > root=/dev/nfs (and the rdev equivalent) to set ip=on if it isn't Yes. > already. The current 2.4.4 behavior of root=/dev/hda3 doing ip > autoconfig when the code is compiled into the kernel is just bad. Agreed. H.J. - To unsu

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-15 Thread Eric W. Biederman
David Woodhouse <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] said: > > There wasn't even DHCP support before so yes you did. As you can't > > get the nfs mount point from bootp. > > Wasn't there a default? The Indy behind me seems to try to mount > /tftpboot/172.16.18.195, so I put a file

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-14 Thread Russell King
On Mon, May 14, 2001 at 05:51:19PM +0100, David Woodhouse wrote: > Well, if it stops working and stays broken, I suppose I'll just have to > hack up a built-in command line option. ISTR ARM already has such an option. Indeed it does, because some platforms don't have any way to pass anything to

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-14 Thread David Woodhouse
[EMAIL PROTECTED] said: > There wasn't even DHCP support before so yes you did. As you can't > get the nfs mount point from bootp. Wasn't there a default? The Indy behind me seems to try to mount /tftpboot/172.16.18.195, so I put a filesystem there just to make it happy. It's a 2.4.3 kernel

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-14 Thread David Woodhouse
[EMAIL PROTECTED] said: > I hate config options that change how the core of the kernel boot > makes decisions. Things like "where is root", "what is my network > address or where do I get that information" have no reasonable > default. This is why the command line args are there. If you're to

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-14 Thread David Woodhouse
[EMAIL PROTECTED] said: > Since you have to set the command line anyway ip=dhcp is no extra > burden and it lets you use the same kernel to boot of the harddrive > etc. You don't have to set the command line anyway. At least you _didn't_. [EMAIL PROTECTED] said: > I boot diskless all of time

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-13 Thread David S. Miller
Eric W. Biederman writes: > Mostly I like the situation where I can compile it in and turn it on > when I need it, instead of having to do thing differently if it is > compiled in or not. > > ip=on is all it really takes. This is the main reason I like the current 2.4.x behavior. I hate c

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-13 Thread David S. Miller
H . J . Lu writes: > Have you tried ramdisk on diskless ... sparc .. booting > over network? I know that sparc works fine, what is your point though? All platforms ought to work with ramdisks just fine, in fact. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-13 Thread H . J . Lu
On Sun, May 13, 2001 at 07:24:31PM -0600, Eric W. Biederman wrote: > > I agree it isn't intuitive, and if nfsroot=xxx is specified it should > probably turn on if there is missing information. > > But if you have to select the command line anyway > > Mostly I like the situation where I can

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-13 Thread Eric W. Biederman
"H . J . Lu" <[EMAIL PROTECTED]> writes: > On Sun, May 13, 2001 at 01:24:18PM -0600, Eric W. Biederman wrote: > > "H . J . Lu" <[EMAIL PROTECTED]> writes: > > > > > It doesn't make any senses. When I specify CONFIG_IP_PNP and > > > BOOTP/DHCP, I want a kernel with IP config using BOOTP/DHCP. I w

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-13 Thread H . J . Lu
On Sun, May 13, 2001 at 01:24:18PM -0600, Eric W. Biederman wrote: > "H . J . Lu" <[EMAIL PROTECTED]> writes: > > > It doesn't make any senses. When I specify CONFIG_IP_PNP and > > BOOTP/DHCP, I want a kernel with IP config using BOOTP/DHCP. I would > > expect IP config is turned for BOOTP/DHCP b

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-13 Thread Eric W. Biederman
"H . J . Lu" <[EMAIL PROTECTED]> writes: > It doesn't make any senses. When I specify CONFIG_IP_PNP and > BOOTP/DHCP, I want a kernel with IP config using BOOTP/DHCP. I would > expect IP config is turned for BOOTP/DHCP by default. You can turn > it off by passing "ip=off" to kernel. Did I miss so

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-13 Thread Eric W. Biederman
"H . J . Lu" <[EMAIL PROTECTED]> writes: > On Fri, May 11, 2001 at 04:28:05PM -0700, David S. Miller wrote: > > > > H . J . Lu writes: > > > 2.4.4-ac8 disables IP auto config by default even if CONFIG_IP_PNP is > > > defined. Here is a patch. > > > > It doesn't make any sense to enable this

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-11 Thread H . J . Lu
On Fri, May 11, 2001 at 04:28:05PM -0700, David S. Miller wrote: > > H . J . Lu writes: > > 2.4.4-ac8 disables IP auto config by default even if CONFIG_IP_PNP is > > defined. Here is a patch. > > It doesn't make any sense to enable this unless parameters are > given to the kernel via the kern

Re: PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-11 Thread David S. Miller
H . J . Lu writes: > 2.4.4-ac8 disables IP auto config by default even if CONFIG_IP_PNP is > defined. Here is a patch. It doesn't make any sense to enable this unless parameters are given to the kernel via the kernel command line or from firmware settings. Later, David S. Miller [EMAIL PROTE

PATCH: Enable IP PNP for 2.4.4-ac8

2001-05-11 Thread H . J . Lu
2.4.4-ac8 disables IP auto config by default even if CONFIG_IP_PNP is defined. Here is a patch. H.J. --- --- linux-2.4.4-ac8/net/ipv4/ipconfig.c.autoFri May 11 14:02:32 2001 +++ linux-2.4.4-ac8/net/ipv4/ipconfig.c Fri May 11 15:26:25 2001 @@ -100,7 +100,11 @@ */ int ic_set_manually __ini