Linux-kernel mailing list archive 1999-51,: [PATCH] 2.3.34/pre-2.3.35-3 ramdisk/initrd NOT as a module in kernel

# [PATCH] 2.3.34/pre-2.3.35-3 ramdisk/initrd NOT as a module in kernel

Frank Bernard (fb@fbit.de)
Fri, 24 Dec 1999 13:48:24 +0100 (CET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Andi Kleen: "Re: Idle loop in driver - attempt 2"
- Previous message: Tim Waugh: "parport patch"

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--8323584-173146977-946039704=:11485
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE

As B.D.Elliot and Richard B. Johnson pointed out before, the kernel has to
be patched to compile ramdisk and initrd _NOT_ as a module but into the
kernel (e.g. for boot floppies). As with pre-2.3.35-3 it's not in the
kernel sources, and there is also no maintainer for those parts.

I only made the references corroct for 2.3.34.
Please apply the patch in some of the next sources.

Mit freundlichen Gr=FC=DFen / kind regards

Frank Bernard

Frank Bernard Informationstechnik GmbH =20
vanity +49 700 FIREWALL (0700 FIREWALL) phone : +49 69 477169
Dipl.-Inform. Frank Bernard fax : +49 69 47885616 =20
Wehrheimerstr. 9 email : fb@fbit.de
60389 Frankfurt www : http://www.fbit.de
Germany http://www.linuxwall.de

--8323584-173146977-946039704=:11485
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="rdpatch-2.3.34"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.9912241348240.11485@frankb.ipf.de>
Content-Description: Ramdisk and initrd patch
Content-Disposition: attachment; filename="rdpatch-2.3.34"

ZGlmZiAtdXIgbGludXgtMi4zLjM0L2FyY2gvaTM4Ni9rZXJuZWwvc2V0dXAu
YyBsaW51eC9hcmNoL2kzODYva2VybmVsL3NldHVwLmMNCi0tLSBsaW51eC0y
LjMuMzQvYXJjaC9pMzg2L2tlcm5lbC9zZXR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
KwkJCQkgICAgcmJoLT5iX3NpemUpOw0KKwkJCWVsc2UNCisJCQkJQlVHKCk7
CS8qIE5vIGJ1ZmZlciwgd2hhdCB0byBkbyBoZXJlPyAqLw0KKwkJfQ0KKwl9
DQorCWlmIChyYmgpIHsNCisgCQlzZXRfYml0KEJIX1Byb3RlY3RlZCwgJnJi
aC0+Yl9zdGF0ZSk7DQorCQlicmVsc2UocmJoKTsNCisJfQ0KIA0KIAllbmRf
cmVxdWVzdCgxKTsNCiAJZ290byByZXBlYXQ7DQpkaWZmIC11ciBsaW51eC0y
LjMuMzQvaW5pdC9tYWluLmMgbGludXgvaW5pdC9tYWluLmMNCi0tLSBsaW51
eC0yLjMuMzQvaW5pdC9tYWluLmMJU2F0IE5vdiAyMCAxOTowOTowNSAxOTk5
DQorKysgbGludXgvaW5pdC9tYWluLmMJRnJpIERlYyAyNCAxMjo0NTo0OCAx
OTk5DQpAQCAtNDg0LDYgKzQ4NCw3IEBADQogCWttZW1fY2FjaGVfaW5pdCgp
Ow0KIAlzdGkoKTsNCiAJY2FsaWJyYXRlX2RlbGF5KCk7DQorI2lmIDAwMDAN
CiAjaWZkZWYgQ09ORklHX0JMS19ERVZfSU5JVFJEDQogCS8vIEZJWE1FLCB1
c2UgdGhlIGJvb3RtZW0uaCBpbnRlcmZhY2UuDQogCWlmIChpbml0cmRfc3Rh
cnQgJiYgIWluaXRyZF9iZWxvd19zdGFydF9vayAmJiBpbml0cmRfc3RhcnQg
PCBtZW1vcnlfc3RhcnQpIHsNCkBAIC00OTIsNiArNDkzLDcgQEANCiAJCWlu
aXRyZF9zdGFydCA9IDA7DQogCX0NCiAjZW5kaWYNCisjZW5kaWYgLyogMDAw
MCAqLw0KIAltZW1faW5pdCgpOw0KIAlrbWVtX2NhY2hlX3NpemVzX2luaXQo
KTsNCiAjaWZkZWYgQ09ORklHX1BST0NfRlMNCg==
--8323584-173146977-946039704=:11485--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Andi Kleen: "Re: Idle loop in driver - attempt 2"
- Previous message: Tim Waugh: "parport patch"