From: Andreas Steinmetz <ast@domdv.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] BOOTP Standalone Floppy Boot (2.4.13pre6)
Date: Tue, 23 Oct 2001 13:20:50 +0200 (CEST) [thread overview]
Message-ID: <XFMail.20011023132050.ast@domdv.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 625 bytes --]
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
[-- Attachment #2: ipconfig1.patch --]
[-- Type: text/plain, Size: 398 bytes --]
--- linux/net/ipv4/ipconfig.c Tue Oct 23 12:58:28 2001
+++ linux-fixed/net/ipv4/ipconfig.c Tue Oct 23 12:55:02 2001
@@ -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
next reply other threads:[~2001-10-23 11:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-23 11:20 Andreas Steinmetz [this message]
2001-10-23 17:48 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=XFMail.20011023132050.ast@domdv.de \
--to=ast@domdv.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®