Re: kernel compilation (module mismatch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 10 Oct 2003 19:27:45 +0530, Nabin Limbu wrote:

> I have upgraded my kernel to 2.4.20-20.9 via up2date with no problem
> in RH9.  In this new kernel, I wanted to enable a cyclades card in
> kernel for which I complied this kernel as below: 
> - make menuconfig 
> - enabled Cyclades card in the menu 
> - make dep; make clean 
> - make bzImage 
> - make modules 
> - make modules_install 
> - cp /usr/src/linux.x.x./arch/i386/boot/bzimage  /boot/ 
> - Edit /etc/grub.conf 
> - Replaced /boot/vmlinuz-2.4.20-20.9 with /boot/bzImage
> - Rebooted
> 
> While trying to boot with this new kernel, I got following message:
> 
> loading jbd.o.module
> /lib/jbd.o: kernel-module version mismatch
> /lib/jbd.o was compiled for kernel version 2.4.20-20.9 while this
> kernel is version 2.4.20-20.0 custom ERROR : /bin/insmod exited
> abnormally
> 
> What might be the problem? How can I solve it? Please help. Is my
> process of compiling kernel correct or is there any change in RH 9.

You forgot to create the initrd image for your custom kernel. Instead,
you took over the old initrd for the 2.4.20-20.9 kernel.

man mkinitrd


- -- 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/hr0/0iMVcrivHFQRAm7RAJ4vdkKhs0TR2TWvR20hlG57sYq8fQCghx93
uEyG0F0CCralFMn3gvI37qg=
=/KXG
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux