Skip to contentSkip to conversation

Kernel Panic while upgrading from 2.4.20 to 2.5.70

DISCUSSION Thomas Molina 1 participant 1 message Jun 18, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines
Quoted 3 lines · Sourabh Ladha (EED)

Hi,

[I know this has been discussed before but I tried the previous fixes

proposed without luck..so]

Quoted 2 lines
Quoted 2 lines

I was trying to upgrade my kernel from 2.4.20 to 2.5.70. (I am running

RedHat 9). After getting the sources I did:

Quoted 2 lines
Quoted 2 lines

make clean; make mrproper; make distclean; make menuconfig; make bzImage;

make modules; make modules_install; make install >(got past all of these)

Quoted 4 lines
Quoted 2 lines

The make install updated my grub.conf as well...

Just a wild guess: did you upgrade modutils to module-init-tools? 2.5.x

won't be happy

Quoted 1 line

until you do.

Actually, I have seen similar before. It happens when you install a new kernel on a RedHat system which requires an initrd to boot. It happens specifically because you upgrade module-init-tools. The upgraded module-init-tools replaces files used by the previous version of the utilities and creating links to them. It appears that the RedHat system fails to find the proper version of the files it needs to build the initrd image and therefor fails when it tries to load the ext3 modules. It then can't find the init on the disk because it can't read the filesystem and gives the error seen.

The two options are either build a kernel with everything required to boot built in rather than modular, or else reinstll the old module tools, install the new kernel (this allows RedHat to create a good initrd image), and then reinstall the new module init tools.