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

RHEL 10 systemtap execute error "Unable to find a suitable compile server."

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • systemtap
    • None
    • No
    • None
    • rhel-pt-perf-tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      root@RHEL10:~# cat /etc/redhat-release 

      Red Hat Enterprise Linux release 10.0 (Coughlan)

      root@RHEL10:~# rpm -qa |grep systemtap

      systemtap-runtime-5.2-2.el10.x86_64
      systemtap-client-5.2-2.el10.x86_64
      systemtap-devel-5.2-2.el10.x86_64
      systemtap-5.2-2.el10.x86_64

       

      root@RHEL10:~# uname -a
      Linux RHEL10 6.12.0-55.17.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun  9 02:17:02 EDT 2025 x86_64 GNU/Linux

      root@RHEL10:~# rpm -qa |grep kernel |grep debug

      kernel-debuginfo-common-x86_64-6.12.0-55.12.1.el10_0.x86_64
      kernel-debuginfo-6.12.0-55.12.1.el10_0.x86_64
      kernel-debuginfo-common-x86_64-6.12.0-55.17.1.el10_0.x86_64
      kernel-debuginfo-6.12.0-55.17.1.el10_0.x86_64

      root@RHEL10:~# stap-prep

      Configuring for kernel release 6.12.0-55.17.1.el10_0.x86_64
      Suggestion: consider configuring automatic debuginfo downloading via debuginfod.
      0

      root@RHEL10:~# stap -ve 'probe begin {printf("hello \n") exit()}'

      Using a compile server.
      Unable to find a suitable compile server.  [man stap-server]
      No servers online to select from.
      Passes: via server ? using 270544virt/16716res/13388shr/2480data kb, in 0usr/0sys/563real ms.
      Passes: via server failed.  Try again with another '-v' option.
      The kernel on your system requires modules to be signed for loading.
      The module created by compiling your script must be signed by a systemtap compile-server.  [man stap-server]
      --use-server was automatically selected in order to request compilation by a compile-server.

       

      Similar configuration works well with RHEL9.2

      [root@undercloud ~]# rpm -qa |grep systemtap
      systemtap-runtime-4.8-2.el9.x86_64
      systemtap-client-4.8-2.el9.x86_64
      systemtap-devel-4.8-2.el9.x86_64
      systemtap-4.8-2.el9.x86_64

      [root@undercloud ~]# rpm -qa |grep kernel | grep debug
      kernel-debuginfo-common-x86_64-5.14.0-284.115.1.el9_2.x86_64
      kernel-debuginfo-5.14.0-284.115.1.el9_2.x86_64

      [root@undercloud ~]# uname -a
      Linux undercloud.samleeosp17.com 5.14.0-284.115.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 25 02:57:40 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux
      [root@undercloud ~]# cat /etc/redhat-release 
      Red Hat Enterprise Linux release 9.2 (Plow)

       

      1. stap-prep 
        Configuring for kernel release 5.14.0-284.115.1.el9_2.x86_64
        Debuginfo automatic downloading is not configured via $DEBUGINFOD_URLS

        [root@undercloud ~]# stap -ve 'probe begin {printf("hello \n") exit()}'

      Pass 1: parsed user script and 493 library scripts using 186016virt/157944res/15420shr/142320data kb, in 510usr/100sys/913real ms.
      Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 190768virt/163704res/15940shr/147072data kb, in 50usr/0sys/53real ms.
      Pass 3: translated to C into "/tmp/stapkAhVTh/stap_922dca53e5070a47b5d4882df6054204_1030_src.c" using 190900virt/163704res/15940shr/147204data kb, in 0usr/0sys/0real ms.
      Pass 4: compiled C into "stap_922dca53e5070a47b5d4882df6054204_1030.ko" in 24600usr/4140sys/17630real ms.
      Pass 5: starting run.
      hello 
      Pass 5: run completed in 20usr/60sys/403real ms.

      What is the impact of this issue to you?

      stap cannot run in RHEL10

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      No error 

      Actual results

              rhtorsys Frank Eigler
              rhn-support-xili Xinhua Li
              Frank Eigler Frank Eigler
              Martin Cermak Martin Cermak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: