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

stap-prep doesn't work with kernel-rt

    • systemtap-5.1-3.el9
    • None
    • Low
    • 1
    • rhel-sst-pt-perf-debug
    • ssg_platform_tools
    • 10
    • 12
    • 1
    • Hide

      upstream commit 01d4f0da1778

      Show
      upstream commit 01d4f0da1778
    • False
    • Hide

      None

      Show
      None
    • No
    • Perf Debug Sprint 4
    • If docs needed, set a value
    • None

      Description of problem:

      When booted with kernel-rt, executing stap-prep script still tries to install non-existing packages:
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      1. uname -r
        5.14.0-162.6.1.rt21.168.el9_1.x86_64
      1. stap-prep
        Configuring for kernel release 5.14.0-162.6.1.rt21.168.el9_1.x86_64
        Debuginfo automatic downloading is not configured via $DEBUGINFOD_URLS
        Need to install the following packages:
        kernel-5.14.0-162.6.1.rt21.168.el9_1.x86_64
        kernel-devel-5.14.0-162.6.1.rt21.168.el9_1.x86_64
        kernel-debuginfo-5.14.0-162.6.1.rt21.168.el9_1.x86_64
        ...
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      The root cause is the naming which doesn't match what must be used in stap-prep script (but I didn't check the script at all).
      It searches for "kernel-" instead of "kernel-rt-", "kernel-debuginfo-" instead of "kernel-rt-debuginfo-" and "kernel-devel-" instead of "kernel-rt-devel-".

      Version-Release number of selected component (if applicable):

      systemtap-4.7-2.el9.x86_64

      How reproducible:

      Always

      Steps to Reproduce:
      1. Install kernel-rt and reboot
      2. Execute stap-prep

      Actual results:

      Can't find packages

      Expected results:

      Install proper packages

              rhtorsys Frank Eigler
              rhn-support-rmetrich Renaud Métrich
              Frank Eigler Frank Eigler
              Martin Cermak Martin Cermak
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: