Originally Posted by oreaba
I have just installed the Red Hat Enterprise Linux ES with the kernel version 18.104.22.168-EL and i need to upgrade to the Kernel version 22.214.171.124-EL to be compatible with a driver for a telecom card.
Amr, you're actually downgrading your kernel (from release 42 to release 5), not upgrading it. While this will work in 99.9% of cases, it is generally considered a bad idea to downgrade software (especially a kernel) unless you really have to. This is because there is more chance that some drivers will break or (worse) some subtle security holes will be opened up that may leave you vunerable to attack later on.
It's slightly more work but you may be better off trying to keep your existing kernel and getting the driver to work with that. In most cases, something like this will load a module compiled for a different kernel release:
insmod /lib/modules/path/to/module.ko --force
Have you tried contacting the maintainers of the driver and explaining your problem to them? For closed-source drivers this is often fruitless, but at least they will know that the demand is there.
Alternatively, there may be an open-source driver for your card, which you could compile from source yourself in order to exactly match whichever kernel version you are using. This is slightly more hastle, but is most likely to work.
Hope that helps,
—Robert J Lee