Wondering if I did this right. I'm relatively new to doing things
within a RedHat framework; newly concerned with things like RPM
manageability, I'm somewhat paranoid. Any pointers or affirmations
would be greatly appreciated.
I needed functionality from the newer 2.4.x kernel (specifically, USB
support for my Clie), but RedHat only has 2.4.3-12 on their updates
site. So I downloaded and installed kernel-source-2.4.3-12.i386.rpm
and then downloaded and untar'd linux-2.4.12.tar.gz from ftp.us.kernel.org
(this was unpacked in /root to avoid confusion). I then copied
/usr/src/linux-2.4/configs/kernel-2.4.3-i686.config to /root/linux/.config
and ran `make config` which used .config for its defaults. I ran through
the config hitting 'enter' for pretty much everything, hoping the kernel
would be built more or less the way RedHat did so, with any additional
features being set to reasonably sane defaults.
I ran the usual litany of 'make clean / dep / bzImage / modules /
modules_install ', going back both to comment out CONFIG_SCSI_CPQFCTS=m
(apparently Alan Cox is aware of the 'brokeness' of this piece, and I'll never
need it), and also to edit drivers/parport/ieee1284_ops.c in accordance with
other instructions, to eliminate two hard errors that caused the build process
to fail. (Should a 'production' kernel have errors of this nature?)
Having built the kernel, I copied cp arch/i386/boot/bzImage to vmlinuz-2.4.12
in /boot and /boot_backup (different drives), built an initrd (I'm using
dev_md in RAID1 for everything but the pair of /boot partitions), edited
/etc/lilo.conf to create a new 'linux' image (renaming the default image
'linux-redhat') and ran `lilo`.
Hopefully, I have a system that isn't too "broken" as far as maintaining it
with RPM once RedHat catches up with the kernel tree.
Thoughts?
Thanks in advance!