* alpha patches against 2.0.33
@ 1998-02-24 16:50 Hugo van der Kooij
0 siblings, 0 replies; 2+ messages in thread
From: Hugo van der Kooij @ 1998-02-24 16:50 UTC (permalink / raw)
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.
---1463811839-864135347-888339049=:25328
Content-Type: TEXT/PLAIN; charset=US-ASCII
I have bundled all patches to gettehr I have so far and created a patchkit
for 2.0.33 kernels.
It can be found on ftp.nllgg.nl in /pub/linux/alpha for the moment.
The instructions below (and enclosed) can be found on:
http://www.nllgg/nl/linux/Alpha/RHL5kernel.html
Enjoy,
Hugo.
PS: The various hints have been incorporated in the patch file and the
document.
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
______________________________________________________________________
Fixing Red Hat Linux 5.0 for the Alpha with a newer kernel
Hugo van der Kooij <hvdkooij@caiw.nl>
Version 1.1; dated: Februari 24, 1998
In the process of trying to get C++ code compiling properly on a Red
Hat Linux 5.0 Alpha system I had lots of problems. Eventually I
upgraded the system to a newer kernel and most problems were solved.
This document will give you a quick tour on how to to fix this your-
self.
______________________________________________________________________
1. Getting the proper kernel and fixes
1.1 Kernel
1.2 Alpha patches
2. Rolling your own kernel
2.1 Move over the old one
2.2 Install the new kernel
2.3 Patching the kernel
2.4 Cleaning up
3. Remarks
______________________________________________________________________
1. Getting the proper kernel and fixes
We need to get the newer kernel and the proper Alpha patches first.
1.1. Kernel
We get the kernel sources from ftp.kernel.org and I used:
ftp://ftp.kernel.org/pub/linux/kernel/v2.0/linux-2.0.33.tar.bz2
In case you don't have bzip2 you can use the larger gzip version:
ftp://ftp.kernel.org/pub/linux/kernel/v2.0/linux-2.0.33.tar.gz
1.2. Alpha patches
We need a patch file from ftp.nllgg.nl:
ftp://ftp.nllgg.nl/pub/linux/alpha/alpha-patches-2.0.33-0.1.gz
It should go to gatekeeper.dec.com for this kernel:
ftp://gatekeeper.dec.com/pub/DEC/Linux-Alpha/Kernels/alpha-
patches-2.0.33-0.1.gz
You may make a bookmark for the following URL as there is plenty of
stuff there: ftp://gatekeeper.dec.com/pub/DEC/Linux-Alpha/
2. Rolling your own kernel
2.1. Move over the old one
We move over the old one by removing a symbolic link.
cd /usr/src/
rm linux
2.2. Install the new kernel
We install the new kernel by unpacking the tar file
If you use the linux-2.0.33.tar.gz file you can do:
cd /usr/src
tar -xvzf linux-2.0.33.tar.gz
2.3. Patching the kernel
Now we are going to apply that patch.
cd /usr/src/linux
gzip -d < alpha-patches-2.0.33-0.1.gz | patch -p1
2.4. Cleaning up
To clean up the lot we will make it clean properly.
cd /usr/src/linux
make distclean
And we store it under the proper kernel version with a decent link.
cd /usr/src
mv linux linux-2.0.33
ln -s linux-2.0.33 linux
3. Remarks
Just some remarks to finish it off:
o Don't try to run make menuconfig or make xconfig as these are
(partialy) broken. Always use make config to configure the kernel.
o If you link /usr/src/linux to the old kernel (2.0.30) you will get
an awfull lot of problems with compiling gcc c++ code!
o Remember to optimize your kernel for the machine.
o And don't forget that although this worked fine for me and
apparantly for plenty of others it may not work for you.
o I did test it quite extensively on a Digital Alpha XL 300 (Alpha-
XLT) so other system may not work as well with this procedure.
Enjoy, Hugo.
---1463811839-864135347-888339049=:25328
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="RHL5kernel.sgml"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.980224175049.25328B@hvdkooij.dyn.ml.org>
Content-Description:
PCFkb2N0eXBlIGxpbnV4ZG9jIHN5c3RlbT4NCjxhcnRpY2xlPg0KDQo8dGl0
bGU+Rml4aW5nIFJlZCBIYXQgTGludXggNS4wIGZvciB0aGUgQWxwaGEgd2l0
aCBhIG5ld2VyIGt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J3QgZm9yZ2V0IHRoYXQgYWx0aG91Z2ggdGhpcyB3b3JrZWQgZmlu
ZSBmb3IgbWUgYW5kIGFwcGFyYW50bHkgZm9yIHBsZW50eSBvZiBvdGhlcnMg
aXQgbWF5IG5vdCB3b3JrIGZvciB5b3UuDQo8aXRlbT5JIGRpZCB0ZXN0IGl0
IHF1aXRlIGV4dGVuc2l2ZWx5IG9uIGEgRGlnaXRhbCBBbHBoYSBYTCAzMDAg
KEFscGhhLVhMVCkgc28gb3RoZXIgc3lzdGVtIG1heSBub3Qgd29yayBhcyB3
ZWxsIHdpdGggdGhpcyBwcm9jZWR1cmUuDQo8L2l0ZW1pemU+DQoNCkVuam95
LA0KSHVnby4NCg0KPC9hcnRpY2xlPg0K
---1463811839-864135347-888339049=:25328--
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: alpha patches against 2.0.33
@ 1998-02-25 10:14 warp
0 siblings, 0 replies; 2+ messages in thread
From: warp @ 1998-02-25 10:14 UTC (permalink / raw)
Hugo van der Kooij wrote:
[...]
> The instructions below (and enclosed) can be found on:
> http://www.nllgg/nl/linux/Alpha/RHL5kernel.html
I think http://www.nllgg.nl/linux/Alpha/RHL5kernel.html
works better ;-)
Kind regards,
Antoine
website..: http://www.alpha.kimitsu.com - Alpha/Linux Mirror
email....: warp@warped.xs4all.nl & warp@alpha.kimitsu.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-02-25 10:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-25 10:14 alpha patches against 2.0.33 warp
-- strict thread matches above, loose matches on Subject: below --
1998-02-24 16:50 Hugo van der Kooij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox