From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) by sourceware.org (Postfix) with ESMTPS id 8368C3858425 for ; Sun, 3 Dec 2023 18:03:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8368C3858425 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8368C3858425 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::92b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701626610; cv=none; b=xUHqM3HI14M0ytFHrgecLzVpqKLZUim1RVWZtesfQuVoSp/EgXLcjF3mbJzDartwkamR1sYMue+/c2RyL1v8RlJBe0vbnrpOg2bxjYHEk7gi5HOZTF4y5Nz5nxEoG7MRvWG5vWR9vNHF2AL43G/mG9UTp5CWL2fHOyEBijMd5Us= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701626610; c=relaxed/simple; bh=Cd1u+opoVRLNxYdDceiIdHtL3NUCnOuiIvKAAFM9ekc=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=DchvaRKiLpXAQhLWWqY4SSixYBE1XzrqDsBSI5QF2eDiM+CNlTg0w5JtetuJTUxczI8OD/fupoYsOdJ+g4FtS9IonqyzHRlN9Y5tfeRn3Iw3UFsliFWwD9sy3zFNQ7z1phOUhk9i/nd5ttE/iJYET53fI9IMNy7ZMwX+dWAqt8g= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ua1-x92b.google.com with SMTP id a1e0cc1a2514c-7c59ac49f12so773903241.1 for ; Sun, 03 Dec 2023 10:03:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701626608; x=1702231408; darn=sourceware.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=T16Z2mFHCGMh8uIzF6dB07LMk+PZqenJ2nzkWin8vkk=; b=Tc/0KhRS+d+EwML+6UyZW7NhvtQm+cHHSB6QchLNwrwnT6g8+Kj9mPuuzG7r63dEkf w+5tiDoVb83aRiyl6zmVDhVEC5/A9EwkcSF9WI3OY4kGkaILm7aY0QFu6QrOaxM067L7 XDTVb31bc8rU6kk2jeYJ9pIghDR9sVjq78KoA2x5i4Y5L4GNe2TpZKLMAwcvv5SmfAuP C/K5MPjM+1IrR8/GGCFnmmzoSttrxWpMTuZkmLheKty5ZO2f49OxGGBRexRu3xAxNUsM h6T0+zEGUP6/BUHl+3zJE6/jqnjI7YpwN7Yo+bhcvtnIRuoK2G3adSWD9FC/oYcqbbTb xipA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701626608; x=1702231408; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=T16Z2mFHCGMh8uIzF6dB07LMk+PZqenJ2nzkWin8vkk=; b=Tk5wLSjE2KizNpazMokQ0NqaHZjkCvlEB9iwT6Kd0XshT6n+Mn/eOZyCx6yN3AjitR 9H6tZsBhd7mIc/1Ge527yYVa7iYJf1oePl193xXfGxXW49YIaSgbC7jV0Re/8cvXLU1C yRnMYj3QPrJNQ8KomZyBL1F3nhmIL65XwW1rIJGwYbjGsRE3uYxGUXetfJxC/ne2Kfj/ +kpuf2/aA4pU1Xb9BVPc5oQBZM154ZVxUKwU/8aQGJyvQX9sfaMNh6evwi66UdXEPFvG XqaSYI2QR4RQMGHi14p9Nm7+jG8ljlkbM5kTfgWx+XyC1GfcnSC+SqW/2kx8NcA9dHg+ 25JA== X-Gm-Message-State: AOJu0YxcpTyzS5J0IPQiHbU4qvfyrtW1dsWUQ0q2ZP0u0wmAFtjkA37Y Gz+cqglfwpGJl3F5H9N7C0NeN7dvakM57RFNPG3wOrzwJL4+2A== X-Google-Smtp-Source: AGHT+IF63G8J9aL35Sx2GAI4pVdR78XJtTvVaOg2ilbY3Mrl7e6ZjTTgMzJ+rRHIFZuRKhuZhzR7qAsx+w4gpOimd6c= X-Received: by 2002:a05:6122:3190:b0:4b2:c554:cd05 with SMTP id ch16-20020a056122319000b004b2c554cd05mr2112031vkb.17.1701626608425; Sun, 03 Dec 2023 10:03:28 -0800 (PST) MIME-Version: 1.0 From: Lee Eric Date: Sun, 3 Dec 2023 13:03:17 -0500 Message-ID: Subject: stap server is not able to use To: systemtap@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, I just noticed my stap scripts need to run via stap-server and I followed the doc link https://sourceware.org/systemtap/wiki/SecureBoot to set up stap server. However, I feel like the error messages from the stap command is really odd: # stap --list-server=all ... host=thinkpad01.local address=127.0.0.1 port=44621 sysinfo="6.5.10-300.fc39.x86_64 x86_64" version=5.0 certinfo="00:c1:73:c9:a1" host=thinkpad01.local address=127.0.0.1 port=44621 sysinfo="6.5.10-200.fc38.x86_64 x86_64" version=5.0 certinfo="00:c1:73:c9:a1" host=thinkpad01.local address=127.0.0.1 port=44621 sysinfo="6.3.8-200.fc38.x86_64 x86_64" version=5.0 certinfo="00:c1:73:c9:a1" host=thinkpad01.local address=127.0.0.1 port=44621 sysinfo="6.3.8-100.fc37.x86_64 x86_64" version=5.0 certinfo="00:c1:73:c9:a1" host=thinkpad01.local address=127.0.0.1 port=44621 sysinfo="6.3.12-200.fc38.x86_64 x86_64" version=5.0 certinfo="00:c1:73:c9:a1" host=thinkpad01.local address=127.0.0.1 port=44621 sysinfo="6.5.9-200.fc38.x86_64 x86_64" version=5.0 certinfo="00:c1:73:c9:a1" ... And I'm using Fedora 39, so I would like to test if stap can connect to a server regardless the stap command ONLY accepting hostname/ip/cert serial which they are all the same. # stap -vvv --use-server=127.0.0.1:44621 -e 'probe begin { exit() }' ... Session arch: x86_64 release: 6.5.10-300.fc39.x86_64 Build tree: "/lib/modules/6.5.10-300.fc39.x86_64/build" Using a compile server. Running sh -c cd '/tmp/stapvTSXTA/client' && zip -qr '/tmp/stapvTSXTA/client.zip' * Spawn waitpid result (0x0): 0 Servers matching 127.0.0.1:44621: host=unknown address=127.0.0.1 port=44621 sysinfo="unknown" version=unknown certinfo="unknown" All specified servers: host=unknown address=127.0.0.1 port=44621 sysinfo="unknown" version=unknown certinfo="unknown" Unable to connect to a server. Passes: via server ? using 264956virt/19200res/16128shr/2424data kb, in 0usr/0sys/4real 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] ... What's the meaning of that error exactly? Why stap cannot match one server in this case? I also did wireshark and I'm sure stap didn't talk to the tcp port 44621 Is there any clue about this usage? Any help would be appreciated. Thanks. Eric