Building IBM GPL module (5.0.5.14) fails with kernel version 4.18.0-372.19.1.el8_6

Solution In Progress - Updated -

Issue

  • When the kernel upgrades, IBM spectrum scale application requires a recompile at the compatibility layer. However, after patching to kernel 4.18.0-372.19.1.el8_6.x86_64, application cannot find the kernel sources to recompile the mmbuildgpl command and fails with error.

  • Building GPFS portability layer(GPL) module version 5.0.5.14 fails with kernel version 4.18.0-372.19.1.el8_6 .

$ mmbuildgpl --quiet
--------------------------------------------------------
mmbuildgpl: Building GPL (5.0.5.14) module begins at Fri Oct 21 16:24:24 ABC 2022.
--------------------------------------------------------
Verifying Kernel Header...
  kernel version = 41800372 (418000372019001, 4.18.0-372.19.1.el8_6.x86_64, 4.18.0-372.19.1) 
:::
:::
make[3]: *** [scripts/Makefile.build:316: /usr/lpp/mmfs/src/gpl-linux/tracelin.o] Error 1
make[2]: *** [Makefile:1577: _module_/usr/lpp/mmfs/src/gpl-linux] Error 2
make[2]: Leaving directory '/usr/src/kernels/4.18.0-372.19.1.el8_6.x86_64'
make[1]: *** [makefile:131: modules] Error 1
make[1]: Leaving directory '/usr/lpp/mmfs/src/gpl-linux'
make: *** [makefile:148: Modules] Error 1
--------------------------------------------------------
mmbuildgpl: Building GPL module failed at Fri Oct 21 16:24:27 ABC 2022.
--------------------------------------------------------
mmbuildgpl: Command failed. Examine previous error messages to determine cause

Environment

  • Red Hat Enterprise Linux 8.6
    • kernel 4.18.0-372.19.1.el8_6.x86_64
  • IBM Spectrum Scale
    • GPFS Portability Layer (GPL) version 5.0.5.14

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