Problems with bootp and self-compiled kernels

Robert Rakowicz Robert.Rakowicz at rjap.de
Fri Jan 18 20:48:59 CET 2002


Phil <pbi at cartel-info.fr> writes:
Hi,

> Hi all!
> 
> I wanted to add aic7xxx support in the boot kernel (I don't know if it
> should have been loaded automatically as a module, but it did not do so)
> but I was not able to boot because the kernel did not send any bootp
> requests.

have You this problem solved ? I had same problem. I found a "litle" Bug
in kernels 2.2.18,2.2.19,2.2.20
Here is a patch for kernel-2.2.[18-20]

--- linux-2.2.20/net/ipv4/ipconfig.c    Sun Mar  25 18:31:12 2001
+++ linux-2.2.20.rr/net/ipv4/ipconfig.c Fri Jan  18 00:00:00 2002
@@ -87,8 +87,12 @@
  * Public IP configuration
  */
 
-int ic_enable __initdata = 0;                  /* IP config enabled? */
-
+#ifdef CONFIG_IP_PNP
+       int ic_enable __initdata = 1;           /* IP config enabled? */
+#else
+       int ic_enable __initdata = 0;           /* IP config enabled? */
+#endif
+
 /* Protocol choice */
 static int ic_proto_enabled __initdata = 0
 #ifdef IPCONFIG_BOOTP

P.S Sorry for my englisch. Isn't my native language 

Pozdrawiam/Gruß/Regards
Robert Rakowicz
-- 
Robert Rakowicz
E-Mail:	Robert.Rakowicz at rjap.de
URL:	www.rjap.de



More information about the linux-fai mailing list