Can I load a non-Red Hat kernel module built against a different kernel?

Solution Verified - Updated -

Issue

  • I need to test a kernel patch but the kernel version changed in the test kernel and we have non-Red Hat kernel modules.
  • Can I have a test kernel without the kernel version change?
  • Are there any tricks to get our kernel modules to load against a different kernel without rebuilding them?
  • Is force-loading kernel modules supported?

Environment

  • Red Hat Enterprise Linux (all versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content