From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ObwoI2uelWbRqCcAWB0awg (envelope-from ) for ; Mon, 15 Jul 2024 18:10:51 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=mswAKLnl; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7C6951E0C3; Mon, 15 Jul 2024 18:10:51 -0400 (EDT) Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EB76A1E030 for ; Mon, 15 Jul 2024 18:10:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1721081448; bh=afyhdrpGavU4Y9GmR68MuL9+9z+MQ+V7XB7YGHjsGV8=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=mswAKLnl22mcPA4v+qpfpyWsgM20OmAe+O9bolsasJIKqaJ8QvUf3MfK4aewvPDwe 5LqB/5VLFSOm7tBOuPtlj4zejDreL9rgYzgulGR51ndLkV6tM2OF1fZ4QAm+8tLaLY 4iQy6e3JK2cG+nrgt5zEu0is6p6CeuFESduBnokkF95HFzstl2Br7l13AOIeeyljza ySRW7Yna0+yVhdrFS1V1isfTPrw3zX9nIms4ULjvBARLF/Wj0Hhyyi48dEB4rY4n2F TFgWzzDbxo6JxkNfhMtOReg4aegGBvf/hBLWX2xu55VSPkCIUsgiq0xjM6rLhzwKu3 9THv1L1ASmT4A== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4WNGc82Svnz11v0; Mon, 15 Jul 2024 18:10:48 -0400 (EDT) Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lists.lttng.org (Postfix) with ESMTPS id 4WNGc74QSzz11s9 for ; Mon, 15 Jul 2024 18:10:47 -0400 (EDT) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1fbda48631cso34282385ad.0 for ; Mon, 15 Jul 2024 15:10:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721081446; x=1721686246; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ioo+FCcpQvQr545OXoQryRSDoP1hO1nPvzFxAjZWGeo=; b=D2OpX6Ts+rwF/ztI/h26DOUb3jqFzZQNAsG4BMLsDMGhszDVvsNX593FB8Tn1FVyPz L5rrR90iTEMK42DMcoVUc8ZyvocMReM0sx3mJNvkJ4sHjeNrWo47MpCZfehxYaI4uBhC 3wFaSHraZq00eiq8YPxj3Mn1UsX6tmb3xvr83oRTM1Gx/7dC3EYMI0UaR6Q4i/NO4flf zFJd5vAh1Y8S2xjTK8xSLWUFpXdIlg10/uXpCVUTVrTMV3ga05b5UvD7be073Mdf+Z6u qVhfC7baDitMNPUcqAeJkn1y1xdgZn+yXbdy5uadKKcI5Zk/3SY1PNdU4VrYenLC9jVd jgEA== X-Gm-Message-State: AOJu0Ywnb/qNw0wjawNCqNcEZ2RXEAN2EzU87C8Mk0yMpIy/fEieckZE lXKbtbHPboJ+M3lE0erIa9ScIyp3o64UsD/aUTw7oGz5sQ0SCFXOJnXpq+0ntAmt70Nr58Yyplx pIKDKfuULTq3Fbc/Zo+/lO1jm4GT2CkFj X-Google-Smtp-Source: AGHT+IEFGNkRb1AJRrTg9VcpBUr8tRjCktGtYYX4PmRrdc7s4/Krtak/4BoBSO0jv9ZCTCCjTu8sS8NNgmePT+bbUfw= X-Received: by 2002:a17:903:2441:b0:1fb:8a0e:771b with SMTP id d9443c01a7336-1fc3d84c783mr3664395ad.29.1721081444766; Mon, 15 Jul 2024 15:10:44 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 15 Jul 2024 18:10:33 -0400 Message-ID: To: lttng-dev@lists.lttng.org Subject: [lttng-dev] loading modules with modprobe X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Fran=C3=A7ois_Belias_via_lttng-dev?= Reply-To: =?UTF-8?Q?Fran=C3=A7ois_Belias?= Content-Type: multipart/mixed; boundary="===============3063704448153002757==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============3063704448153002757== Content-Type: multipart/alternative; boundary="000000000000251d29061d5080ea" --000000000000251d29061d5080ea Content-Type: text/plain; charset="UTF-8" Hello, I'm currently running Linux kernel version 6.5.0-41-generic and attempting to install LTTng from source. Here are the steps I followed: - I cloned the LTTng git repository to my computer from [ https://github.com/lttng/lttng-modules.git](https://github.com/lttng/lttng-modules.git) . - Downloaded the kernel source tree corresponding to my kernel version to enable compilation. - Executed `make KERNELDIR=/path/to/my/linux/source`, which was completed successfully. - Ran `make KERNELDIR=/path/to/my/linux/source modules_install`, also without any issues. - Finally, I executed `sudo depmod -a`, which was completed successfully. However, when I attempt to load a module with commands like `sudo modprobe lttng-ketprobes` or "sudo modprobe lttng-tracer", I encounter the following errors: - For `lttng-ketprobes`: `modprobe: FATAL: Module lttng-ketprobes not found in directory /lib/modules/6.5.0-41-generic`. - For `lttng-tracer`: `modprobe: ERROR: could not insert 'lttng_tracer': Exec format error`. I've confirmed that the modules exist but can't load them. I'm unsure how to resolve these issues. Could someone please assist me? Thank you. --000000000000251d29061d5080ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'm currently running Linux kernel versi= on 6.5.0-41-generic and attempting to install LTTng from source. Here are t= he steps I followed:

=C2=A0- I cloned the LTTng git repository to my= computer from [https://github.com/lttng/lttng-mod= ules.git](https://github.com/lttng/lttng-modules.git).
- Downloaded = the kernel source tree corresponding to my kernel version to enable compila= tion.
- Executed `make KERNELDIR=3D/path/to/my/linux/source`, which was = completed successfully.
- Ran `make KERNELDIR=3D/path/to/my/linux/source= modules_install`, also without any issues.
- Finally, I executed `sudo = depmod -a`, which was completed successfully.

However, when I attemp= t to load a module with commands like `sudo modprobe lttng-ketprobes` or &q= uot;sudo modprobe lttng-tracer", I encounter the following errors:
=
- For `lttng-ketprobes`: `modprobe: FATAL: Module lttng-ketprobes not f= ound in directory /lib/modules/6.5.0-41-generic`.
- For `lttng-tracer`: = `modprobe: ERROR: could not insert 'lttng_tracer': Exec format erro= r`.

I've confirmed that the modules exist but can't load the= m. I'm unsure how to resolve these issues. Could someone please assist = me?

Thank you.
--000000000000251d29061d5080ea-- --===============3063704448153002757== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============3063704448153002757==--