I'm trying to upgrade a stock redhat7 machine to 2.2.17:
Here's exactly what I've done.

downloaded 2.2.17, and the idepatch.
cd /usr/src/linux
tar -czvf ~/oldkernelsourcebackup.tgz linux
rm -fR linux 2.2.16*
tar -xzvf ~/linux.2.2.17.tgz
cd linux
patch -p1 < ~/idepatch
edited Makefile to change:

CC=kgcc
#HOSTCC          =gcc
HOSTCC          =kgcc
#CC     =$(CROSS_COMPILE)cc -D__KERNEL__ -I$(HPATH)
CC =$(CROSS_COMPILE)kgcc -D__KERNEL__ -I$(HPATH)

make mrproper
make clean
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install

cd /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.17
cp /usr/src/linux/System.map /boot/System.map-2.2.17
rm -f /boot/initrd-2.2.17.img
/sbin/mkinitrd initrd-2.2.17.img 2.2.17

mkinitrd dies here with

"No module aic7xxx found for kernel 2.2.17"

I had specified that aic7xxx be compiled directly into it:

CONFIG_SCSI_AHA152X=y
CONFIG_SCSI_AHA1542=y
CONFIG_SCSI_AHA1740=y
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_TCQ_ON_BY_DEFAULT=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_PROC_STATS=y
CONFIG_AIC7XXX_RESET_DELAY=5

Ok, so I start over, specifying that it's compiled as a module.
(I really don't want this, /dev/sda1 is off the scsi card, but
I'll try anything at this point).

mkinitrd again dies here with

"No module aic7xxx found for kernel 2.2.17"

I've tried doing the make modules && make modules_install *both*
after the make bzImage and immediately before

/sbin/mkinitrd initrd-2.2.17.img 2.2.17

thinking that maybe I had to place the .img and system.map files
there while the modules were installed in /lib/modules.

Doing this didn't help - mkinitrd still complained.

Any suggestions?




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to