How to build supported (externally supported of course) kernel for 15SP7

Hi all!

I’ve kernel module (module has not relation with some hardware and only has some manipulation with making control file – this is a test module) sources that I can build (make by make) and packing into .rpm/.deb package on different Linux, including SUSE.

And after installing this package (module saved into right directory and depmod executed) modprobe can load this module on my request and I can communicate with it as intended. Of course, I see a warning in the dmesq about tainting kernel but all working.

But on SUSE modprobe returns an error that this is an unsupported driver and can be load by modprobe only after allow_unsupported 1.

As far as I understand, I can build my own module (Kernel module package), which will be designated as externally supported.

There are articles about this on the SUSE website contains article about it, but it wrote for very old SUSE (12SP1) and even on this old build some steps not possible to do exactly as described.

Are there any more recent descriptions, or can someone describe how to do what I need?

Thanks,
Alex

Welcome to the openSUSE forums.

I might be confused about your request. Your Title includes a reference to “15SP7”. And in the body, you have 2-3 references to SUSE (and 12SP1).

This (where we are now) is specifically the “openSUSE Leap 15.6” forum category. Did you mean to post to a SUSE forum? Or are you trying to build a kernel for a SUSE install, using a Leap 15.6 installation.

SUSE Forums:

@Alex0Z Hi and welcome to the Forum :smile:
As indicated by @myswtest this is the incorrect forum, but there would be no support for the module as it’s not built/signed by SUSE.

You need to add that kernel boot option and support both the module and kernel. If you had an issue, you would need to remove that module and kernel option, duplicate and file a support request.

I also trying to build that kmp on the last openSUSE.

And I don’t need build kernel but module only.