Hi,
I'd like to compile kernel optimized for athlon. Currently my box runs 2.4.22-1.2110. My goal is to compile the same kernel (identical config) but optimized for athlon. 1. There are some default configs, but are they the same as for the precompiled kernel? 2. Is it enough to run make config, check the procesor architecture for athlon settings and quit? 3. If so - finally how to produce initrd image?
Thanks Szymon
Good luck, I am in the same boat, odds are the it will fail building on something. You can get their, but in my case it typically involved ripping out support I didn't need anyway. The default config is a good starting point and you may get lucky and it will build, but I am willing to wager that something will fail when you do a make modules :-)
mkinitrd is what you build the initrd image. I avoid this by not using modules for anything I need on boot anyway.
In my case I don't think I would ever be unloading my scsi driver or ext3 anyway :-)
Ted On Wed, 2003-10-29 at 05:19, Szymon Wilczyński wrote:
Hi,
I'd like to compile kernel optimized for athlon. Currently my box runs 2.4.22-1.2110. My goal is to compile the same kernel (identical config) but optimized for athlon.
- There are some default configs, but are they the same as for the
precompiled kernel? 2. Is it enough to run make config, check the procesor architecture for athlon settings and quit? 3. If so - finally how to produce initrd image?
Thanks Szymon
-- fedora-list mailing list fedora-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-list
On Wed, 2003-10-29 at 05:19, Szymon Wilczyński wrote:
Hi,
I'd like to compile kernel optimized for athlon. Currently my box runs 2.4.22-1.2110. My goal is to compile the same kernel (identical config) but optimized for athlon.
- There are some default configs, but are they the same as for the
precompiled kernel?
there are config files for from installed kernel packages in /boot. i.e., something like /boot/config-2.4.22-1.2110. Copy that to your .config in your source directory, *then* change processor (and anythign else you want to change).
Also make sure you're using the Red Hat sources, not stock sources, or you may end up with some problems.
- Is it enough to run make config, check the procesor architecture for
athlon settings and quit? 3. If so - finally how to produce initrd image?
Thanks Szymon
-- fedora-list mailing list fedora-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-list
W liście z śro, 29-10-2003, godz. 14:23, Dave Jones pisze:
On Wed, Oct 29, 2003 at 11:19:12AM +0100, Szymon Wilczyński wrote:
Hi,
I'd like to compile kernel optimized for athlon. Currently my box runs 2.4.22-1.2110.
We already include an Athlon optimized kernel.
Dave
I must have been blind. Yes indeed the kernel I'm running is optimized for athlon. Thanks to the others for hints.
Szymon