After upgrading Redhat 5.1 to 6.0, booting from harddrive fails with message: /lib/aic7xx.o kernel-module version mismatch compiled with 2.0.35 while we are 2.2.5-15 Then the root filesystem fails to mount, etc. The system boots fine from the boot diskette made during the upgrade to 6.0 and finds the SCSI drives, etc. How can I get a aic7xx.o built for 2.2.5-15? I didn't see the sources anywhere in the distribution...
changed architecture to i386
Take the aic7xxx.o out of your /lib directory - chances are that it doesn't belong to any RPM that's installed in 6.0
Actually the aic7xxx.o doesn't exist in /lib. The boot message right before the kernel version mismatch message says "Loading aic7xxx module". What does this mean?
I just noticed that in /boot I have a initrd-2.0.35-1.img but no initrd-2.2.5-15.img. My lilo.conf is pointing to the initrd-2.0.35- 1.img. Could this be the problem?
Yes. Make sure you have a line in your /etc/conf.modules that says: alias scsi_hostadapter aic7xxx and then try running 'mkinitrd /boot/initrd-2.2.5-15 2.2.5-15` and editing your lilo.conf appropriately.
That worked. The entry in /etc/conf.modules was already there so all I had to do was run mkinitrd and fix /etc/lilo.conf. Thanks for your quick reply.