2001-10-23 11:23:42

by Andreas Steinmetz

[permalink] [raw]
Subject: [PATCH] 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


Attachments:
ipconfig1.patch (398.00 B)
ipconfig1.patch

2001-10-23 17:41:43

by Alan

[permalink] [raw]
Subject: Re: [PATCH] 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:

Standalone floppy boot is purely historic interest, and likely to go away
Stick lilo or similar on the floppy