From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 60DB13857B86; Thu, 14 Mar 2024 18:51:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60DB13857B86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710442306; bh=69KFpILly/ZlKDUaH5E2IJP0eUprm2ONZ2s0UgZj3yc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Zhm4ZSUpcH/iBz9eSry5mcrfa+Wf+6DBxdXlf6QbvHbIvZaTCg+pMG6SN0Gg8xkBk /XXuWgJJYqdMcHrYcIvDOnbrBzaU8WjyOojNnJ20TalWQGG/S8Lx606F0BmU8aEle+ 0pscFLHe0lxTmktlDJDo/i/mUJAR35lbSwpU92Ik= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31472] systemtap.base/tracepoints.stp causes reboot with RHEL9 linux 5.14.0-428.el9.x86_64 Date: Thu, 14 Mar 2024 18:51:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31472 --- Comment #5 from William Cohen --- Did a git bisect running against the RHEL9 428 kernel and verified that the problem on RHEL9 is caused by: commit 155c689b2a75dcb217a1c52886c04982f4c169f2 Author: William Cohen Date: Thu Mar 7 13:44:06 2024 -0500 PR30716: Turn off objtool warnings on systemtap instrumentation modules The previous approaches to turning off the objtool warnings did not work for x86_64 RHEL9. The systemtap generated code is not on the whitelist to use certain kernel functions. The additional objtool warning output mentioning the systemtap code using those functions with UACCESS enabled caused a number of the tests in the testsuite to fail. The generated Makefile now includes a line to turn off running objtool on the systemtap generated module and eliminates those warnings. There are additional sections on generated .ko module when objtool is run. = The missing orc_unwind explains why the backtrace is looking a bit odd. Below s= hows what sections the bad .ko is missing: diff -u0 a b --- a 2024-03-13 15:26:23.637081062 -0400 +++ b 2024-03-13 15:25:58.343950133 -0400 @@ -7 +6,0 @@ -.call_sites @@ -21,2 +19,0 @@ -.orc_unwind -.orc_unwind_ip @@ -27 +23,0 @@ -.rela.call_sites @@ -32 +27,0 @@ -.rela.orc_unwind_ip @@ -36,2 +30,0 @@ -.rela.retpoline_sites -.rela.return_sites @@ -40 +32,0 @@ -.rela.static_call_sites @@ -43,2 +34,0 @@ -.retpoline_sites -.return_sites @@ -51 +40,0 @@ -.static_call_sites --=20 You are receiving this mail because: You are the assignee for the bug.=