Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7222

[Azure][ARM64][RHEL8] Should not be able to remove kernel module hv_utils

    • None
    • Low
    • rhel-sst-virtualization-cloud
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      On Azure RHEL8.8 ARM64 VMs, using below command to attempt to remove kernel module hv_utils yields no errors. hv_utils is then in fact not removed. dmesg seems to indicate a reload.

      1. modprobe -r hv_utils
      2. dmesg
        ...
        [258680.893062] hv_utils: De-Registered HyperV Utility Driver
        [258680.897060] hv_vmbus: unregistering driver hv_utils
        [258680.942819] hv_utils: Registering HyperV Utility Driver
        [258680.946193] hv_vmbus: registering driver hv_utils
        [258680.949546] hv_utils: Shutdown IC version 3.2
        [258682.902942] hv_utils: TimeSync IC version 4.0
        [258684.292599] hv_utils: Heartbeat IC version 3.0

      Version-Release number of selected component (if applicable):
      4.18.0-445.el8.aarch64

      1. modinfo hv_utils
        filename: /lib/modules/4.18.0-445.el8.aarch64/kernel/drivers/hv/hv_utils.ko.xz
        license: GPL
        description: Hyper-V Utilities
        rhelversion: 8.8
        srcversion: 3ACDFFE169B9A391A9356A5
        alias: vmbus:e34bd134e4dec8419ae76b174977c192
        alias: vmbus:292efa3523ea364296ae3a6ebacba440
        alias: vmbus:e7f4a0a9455a964db8278a841e8c03e6
        alias: vmbus:394f16571591784eab55382f3bd5422d
        alias: vmbus:30e62795aed07b49adcee80ab0175caf
        alias: vmbus:31600b0e13523449818b38d90ced39db
        depends: hv_vmbus
        intree: Y
        name: hv_utils
        vermagic: 4.18.0-445.el8.aarch64 SMP mod_unload modversions aarch64
        sig_id: PKCS#7
        signer: Red Hat Enterprise Linux kernel signing key
        sig_key: 11:C7:7C:4A:BF:36:06:48:50:8E:04:9F:FD:D1:94:36:2F:9F:89:C3
        sig_hashalgo: sha256
        ...

      How reproducible:
      100%

      Steps to Reproduce:
      1. # modprobe -r hv_utils or
      2. # rmmod hv_utils

      Actual results:
      No error messages but module is not removed. dmesg indicates a reload.

      Expected results:
      Either this module will be successfully removed. Or an error message indicating it's in use should prompt.

      Additional info:
      No such issue on x86. An error message indicating module is in use will prompt.

              virt-maint virt-maint
              litian@redhat.com Li Tian
              virt-maint virt-maint
              Li Tian Li Tian
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: