BOOTP Standalone Floppy Boot (2.4.13pre6)
Subsystems (2)
PATCH 1/1 BOOTP Standalone Floppy Boot (2.4.13pre6)
If using 2.4.x standalone floppy boot (i.e. dd if=vmlinuz of=/dev/fd0, then booting from this floppy) with a BOOTP/NFS root enabled kernel fails. This behaviour is different from 2.2.x. 2.4.x uses:
__setup("ip=", ip_auto_config_setup);__setup("nfsaddrs=", nfsaddrs_config_setup);
None of these are called when there are no boot parameters. In case of standalone floppy boot there are NO boot parameters. This results in no BOOTP and NFS root configuration done and thus boot failure.
The fix is to set ic_enable to 1 as the default to get the same beaviour as for 2.2.x.
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
net/ipv4/ipconfig.c +1 -1
@@ -100,7 +100,7 @@*/ int ic_set_manually__initdata =0 ;/* IPconfig parameters set manually */ -int ic_enable__initdata =0 ;/* IP config enabled? */ +int ic_enable__initdata =1 ;/* IP config enabled? */ /* Protocol choice */ int ic_proto_enabled__initdata =0
Quoted 3 lines
If using 2.4.x standalone floppy boot (i.e. dd if=vmlinuz of=/dev/fd0, then booting from this floppy) with a BOOTP/NFS root enabled kernel fails. This behaviour is different from 2.2.x. 2.4.x uses:
Standalone floppy boot is purely historic interest, and likely to go away Stick lilo or similar on the floppy