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 1533950 - RFE: add version file to /sys/kvdo to track currently loaded kmod-kvdo version
Summary: RFE: add version file to /sys/kvdo to track currently loaded kmod-kvdo version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kmod-kvdo
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: sclafani
QA Contact: Jakub Krysl
URL:
Whiteboard:
Depends On:
Blocks: 1546181
TreeView+ depends on / blocked
 
Reported: 2018-01-12 15:52 UTC by Bryan Gurney
Modified: 2021-09-03 12:09 UTC (History)
2 users (show)

Fixed In Version: 6.1.1.85
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 09:38:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3094 0 None None None 2018-10-30 09:39:26 UTC

Description Bryan Gurney 2018-01-12 15:52:15 UTC
Description of problem:
As a result of bug 1510176, there's a possibility of confusion of which version of the kvdo kernel module is actually loaded.  Upgrading the kmod-kvdo package will install the new kvdo module, but currently will not run the equivalent of "rmmod kvdo" and "modprobe kvdo".  

Running "modinfo kvdo" will show the version number of the kernel module currently installed.  However, there's no simple way to find the version of the kvdo module currently loaded in memory.  

It may be possible to create a file in the root of the "/sys/kvdo" directory (which exists when the kvdo module is loaded) to indicate the version of the kvdo module, matching the string displayed by the syslog message after a successful "modprobe kvdo"

"kernel: kvdo: modprobe: loaded version 6.1.0.114"

In this case, the contents of "/sys/kvdo/version" would be "6.1.0.114".


Version-Release number of selected component (if applicable):
kmod-kvdo-6.1.0.114-11.el7.x86_64

How reproducible:
N/A (RFE)

Steps to Reproduce:
1.
2.
3.

Actual results:
The "/sys/kvdo/version" file does not exist when the kvdo module is loaded.

Expected results:
The "/sys/kvdo/version" file exists when the kvdo module is loaded, and contains a version string matching the contents of the "loaded version %s" message that is displayed after a successful "modprobe kvdo" command.

Additional info:

Comment 5 Jakub Krysl 2018-07-11 09:13:49 UTC
tested with kmod-kvdo-6.1.1.91 and kmod-kvdo-6.1.1.99. Loading the module always produces correct version in /sys/kvdo/version

# modprobe kvdo
# cat /sys/kvdo/version
6.1.1.99

Comment 7 errata-xmlrpc 2018-10-30 09:38:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3094


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