From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D9585384F6C4; Wed, 23 Nov 2022 19:45:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9585384F6C4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669232740; bh=neuMVVOCWE1V6OUn6mEd5Nhed9b1oKuJoXxr+uPfliU=; h=From:To:Subject:Date:From; b=Jum4fgNFuAsOm5Gm9Hc75yS7aSQ+Q2Q0SnfUYaF5PUPvg+3VwVczlsltYrzxVpIoR JRw9pbyXhWFb0cEsASDHsZhQum4dnMvQ7MUKXVd7tTrFEHe9CWZXH4lTF+Y6ZS14Q+ 5Q9cp9TBMrrdFvXwr8H1Tz2miS0lyMBhsfhh/QDw= From: "pauloedgarcastro at gmail dot com" To: systemtap@sourceware.org Subject: [Bug kprobes/29824] New: BUG: using smp_processor_id() in preemptible [00000000] code: stapio/58567 Date: Wed, 23 Nov 2022 19:45:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: kprobes X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pauloedgarcastro at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D29824 Bug ID: 29824 Summary: BUG: using smp_processor_id() in preemptible [00000000] code: stapio/58567 Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: kprobes Assignee: systemtap at sourceware dot org Reporter: pauloedgarcastro at gmail dot com Target Milestone: --- Hi folks. Whilst running stap against https://sourceware.org/systemtap/examples/io/iotime.stp I kept seeing this message crop up in my messages. ``` Nov 22 21:21:31 localhost kernel: BUG: using smp_processor_id() in preempti= ble [00000000] code: staprun/11549 Nov 22 21:21:31 localhost kernel: caller is _stp_runtime_context_trylock+0x12/0x70 [stap_9a5b952d5e3e6fb7e5d57e067c529c6a_11549] Nov 22 21:21:31 localhost kernel: CPU: 4 PID: 11549 Comm: staprun Tainted: = P=20=20=20 OE 6.0.8-300.fc37.x86_64 #1 Nov 22 21:21:31 localhost kernel: Hardware name: Micro-Star International C= o., Ltd. Stealth GS77 12UGS/MS-17P1, BIOS E17P1IMS.109 06/27/2022 Nov 22 21:21:31 localhost kernel: Call Trace: Nov 22 21:21:31 localhost kernel: Nov 22 21:21:31 localhost kernel: dump_stack_lvl+0x44/0x5c Nov 22 21:21:31 localhost kernel: check_preemption_disabled+0xe1/0xf0 Nov 22 21:21:31 localhost kernel: _stp_runtime_context_trylock+0x12/0x70 [stap_9a5b952d5e3e6fb7e5d57e067c529c6a_11549] Nov 22 21:21:31 localhost kernel: _stp_runtime_entryfn_get_context+0xb/0x70 [stap_9a5b952d5e3e6fb7e5d57e067c529c6a_11549] Nov 22 21:21:31 localhost kernel: _stp_ctl_send_notify.isra.0+0x71/0x200 [stap_9a5b952d5e3e6fb7e5d57e067c529c6a_11549] Nov 22 21:21:31 localhost kernel: _stp_transport_init+0x708/0x820 [stap_9a5b952d5e3e6fb7e5d57e067c529c6a_11549] Nov 22 21:21:31 localhost kernel: ? _stp_ctl_write_cmd+0xba0/0xba0 [stap_9a5b952d5e3e6fb7e5d57e067c529c6a_11549] Nov 22 21:21:31 localhost kernel: do_one_initcall+0x56/0x220 Nov 22 21:21:31 localhost kernel: do_init_module+0x4a/0x200 Nov 22 21:21:31 localhost kernel: __do_sys_init_module+0x157/0x180 Nov 22 21:21:31 localhost kernel: do_syscall_64+0x58/0x80 Nov 22 21:21:31 localhost kernel: ? exc_page_fault+0x70/0x170 Nov 22 21:21:31 localhost kernel: entry_SYSCALL_64_after_hwframe+0x63/0xcd Nov 22 21:21:31 localhost kernel: RIP: 0033:0x7fad91f30d9e Nov 22 21:21:31 localhost kernel: Code: 48 8b 0d 95 50 0c 00 f7 d8 64 89 01= 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 = 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 62 50 0c 00 f7 d8 64 > Nov 22 21:21:31 localhost kernel: RSP: 002b:00007fffb1302b08 EFLAGS: 000002= 46 ORIG_RAX: 00000000000000af Nov 22 21:21:31 localhost kernel: RAX: ffffffffffffffda RBX: 0000561bdd3431= 80 RCX: 00007fad91f30d9e Nov 22 21:21:31 localhost kernel: RDX: 0000561bdd343180 RSI: 0000000000028f= b0 RDI: 00007fad925c5010 Nov 22 21:21:31 localhost kernel: RBP: 0000000000000003 R08: 00000000000000= 00 R09: 0000000000000001 Nov 22 21:21:31 localhost kernel: R10: 0000000000000053 R11: 00000000000002= 46 R12: 00007fffb1302c00 Nov 22 21:21:31 localhost kernel: R13: 00007fad925c5010 R14: 00007fffb1302b= 30 R15: 00007fad925d4ae8 Nov 22 21:21:31 localhost kernel: ``` I'm running ``` # stap -V Systemtap translator/driver (version 4.8/0.187, rpm 4.8-1.fc37) Copyright (C) 2005-2022 Red Hat, Inc. and others This is free software; see the source for copying conditions. tested kernel versions: 2.6.32 ... 6.1.0-rc3 enabled features: AVAHI BOOST_STRING_REF DYNINST BPF JAVA PYTHON3 LIBRPM LIBSQLITE3 LIBVIRT LIBXML2 NLS NSS READLINE MONITOR_LIBS ``` After I ran: ``` export DEBUGINFOD_URLS=3Dhttps://debuginfod.elfutils.org export DEBUGINFOD_PROGRESS=3D1 ``` The only other similar bug I found referring a similar occurrence this was https://sourceware.org/bugzilla/show_bug.cgi?id=3D13386 but it seems rather= old but I thought I'd mention it since I'd seen it. --=20 You are receiving this mail because: You are the assignee for the bug.=