RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2059183 - [rhel9] kABI policy change
Summary: [rhel9] kABI policy change
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: doc-Release_Notes-9-en-US
Version: 9.0
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: 9.0
Assignee: Lenka Špačková
QA Contact: RHEL DPM
Jaroslav Klech
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-28 12:48 UTC by Jaroslav Klech
Modified: 2022-05-19 05:55 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
.Red Hat protects kernel symbols only for minor releases Red Hat guarantees that a kernel module will continue to load in all future updates within an Extended Update Support (EUS) release, only if you compile the kernel module using protected kernel symbols. There is no kernel Application Binary Interface (ABI) guarantee between minor releases of RHEL 9.
Clone Of:
Environment:
Last Closed: 2022-05-19 05:55:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-113992 0 None None None 2022-02-28 12:51:14 UTC

Comment 6 Neal Gompa 2022-05-13 20:08:43 UTC
Is there some context here? I'm confused about why this policy is changing.

In particular, the CentOS Kmods SIG intends to build kmods for RHEL 9 once it's available on CentOS Community Build Service, and it would be helpful to have some guidance for the SIG to be able to continue supporting drivers and such on the RHEL 9 kernel as it evolves.

Comment 7 Phil Perry 2022-05-13 22:51:42 UTC
(In reply to Neal Gompa from comment #6)
> Is there some context here? I'm confused about why this policy is changing.
> 
> In particular, the CentOS Kmods SIG intends to build kmods for RHEL 9 once
> it's available on CentOS Community Build Service, and it would be helpful to
> have some guidance for the SIG to be able to continue supporting drivers and
> such on the RHEL 9 kernel as it evolves.

For RHEL, I don't see it makes much practical difference when the vast majority of drivers need rebuilding for a minor point release anyway due to ABI changes in symbols not on the kABI-stablelist. In this context, the kABI stablelist adds little value moving between one minor point release and the next - the value comes from maintaining a stable kABI within a point release so we do not need to recompile drivers for each and every kernel release.

As Stream has not concept of point releases or stable kABI, there is no impact whatsoever to CentOS.

Comment 10 Peter Georg 2022-05-16 09:35:52 UTC
(In reply to Neal Gompa from comment #6)
> In particular, the CentOS Kmods SIG intends to build kmods for RHEL 9 once
> it's available on CentOS Community Build Service, and it would be helpful to
> have some guidance for the SIG to be able to continue supporting drivers and
> such on the RHEL 9 kernel as it evolves.

Thanks for the notification about this change. I have limited access to this bug, hence the following is based on the assumption that after this change the kABI stablelist is only valid for a minor release and not for a major release anymore as it used to be.

Concerning the work of the Kmods SIG, this change very likely has only a low impact if at all.
As Phil already mentioned, most kABI tracking kernel modules must be rebuilt for each minor release anyway as there is barely any kernel module which only requires symbols on the kABI stablelist.
Some kernel modules even need to be rebuilt for the same minor release.
Hence concerning building kernel modules for RHEL 9 it is very likely that this changed policy has only limited impact.

Concerning Stream 9: The changed policy might lead to more frequent changes of the Stream 9's kABI as there is now no guarantee about kABI stability for Stream 9 anymore at all.
Before this change at least the symbols on the kABI stablelist were not allowed to be changed.
This again has little effect as long as the changes can be automatically detected, i.e., if a symbol is changed in a non-compatible way, the checksum has to be changed.
We need to detect required rebuilds for Stream automatically anyway due to the frequently changed symbols not on the stable list and higher frequency of kernel release.
How often a kernel module actually needs to be rebuilt at the end does not really matter.

However all of the above is only true if the kABI changes only require rebuilds of external kernel modules. If the changed policy also leads to more frequently required source code changes of external kernel modules this will obviously lead to an increased workload. However, considering how few symbols are actually on the kABI stablelist I doubt that anybody will actually notice a difference.

Comment 11 Stanislav Kozina 2022-05-16 15:55:36 UTC
Thank you all for your thoughts on this change.
I agree with Peter's Comment#10, there might be a more frequent changes in Stream 9's kABI. The actual mechanics (symbol checksums generated with CONFIG_MODVERSIONS) will remain enabled, so the changes can be detected like they can be today with CentOS Stream 8.
We don't expect any increase of necessary changes to the kernel module source codes. Note that even today there's no commitment on stability of kernel source code interfaces (aka API).


Note You need to log in before you can comment on or make changes to this bug.