public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "wcohen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug runtime/31500] stapio exited with irqs disabled
Date: Tue, 19 Mar 2024 20:57:56 +0000	[thread overview]
Message-ID: <bug-31500-6586-7bigGMFnGQ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31500-6586@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=31500

--- Comment #4 from William Cohen <wcohen at redhat dot com> ---
I have a specific f39 x86_64 machine that seems to encounter a similar problem
with the poll_map.exp test both running on the bare hardware and on a guest VM.
 poll_map.exp times out and the dmesg output has:

[ 4631.997499] kprobes: kprobe jump-optimization is disabled. All kprobes are
based on software breakpoint.
[ 4632.028908] stap_7d90e889b82f98d2135859abdd7b9927_53381: loading out-of-tree
module taints kernel.
[ 4632.028913] stap_7d90e889b82f98d2135859abdd7b9927_53381: module verification
failed: signature and/or required key missing - tainting kernel
[ 4632.120180] stap_7d90e889b82f98d2135859abdd7b9927_53381 (poll_map.stp):
systemtap: 5.1/0.191, base: ffffffffc1f2c000, memory:
3716data/72text/127ctx/131174net/2330alloc kb, probes: 80
[ 4632.225659] BUG: unable to handle page fault for address: ffffffffbad48280
[ 4632.225662] #PF: supervisor read access in kernel mode
[ 4632.225664] #PF: error_code(0x0000) - not-present page
[ 4632.225665] PGD 3ea427067 P4D 3ea427067 PUD 3ea428063 PMD 10d537063 PTE
800ffffc152b7062
[ 4632.225669] Oops: 0000 [#1] PREEMPT SMP PTI
[ 4632.225671] CPU: 7 PID: 53381 Comm: stapio Tainted: G           OE     
6.7.9-200.fc39.x86_64 #1
[ 4632.225674] Hardware name: LENOVO 20HHCTO1WW/20HHCTO1WW, BIOS N1UET89W (1.63
) 11/14/2023
[ 4632.225675] RIP: 0010:arch_adjust_kprobe_addr+0x9/0x60
[ 4632.225679] Code: cc cc cc 48 89 de 48 89 ef 5b 5d e9 f1 f8 ff ff 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44 00 00 <8b> 07 3d
66 0f 1f 00 74 24 25 ff ff ff fe 41 b8 0c f0 e1 05 41 f7
[ 4632.225681] RSP: 0018:ffffc26e47b67c38 EFLAGS: 00010282
[ 4632.225696] RAX: 0000000000000001 RBX: ffffffffbad48280 RCX:
ffffffffbad48280
[ 4632.225697] RDX: ffffc26e47b67c6f RSI: 0000000000000000 RDI:
ffffffffbad48280
[ 4632.225699] RBP: ffffc26e47b67c6f R08: fffffffffd2b7d7f R09:
ffffc26e47b67c40
[ 4632.225700] R10: 0000000000000000 R11: 0000000000033a98 R12:
0000000000000000
[ 4632.225701] R13: 0000000000000000 R14: 0000000000000000 R15:
ffffffffc1f40db0
[ 4632.225702] FS:  00007f9040a2e140(0000) GS:ffff9fcc8f9c0000(0000)
knlGS:0000000000000000
[ 4632.225716] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4632.225718] CR2: ffffffffbad48280 CR3: 000000024e98e001 CR4:
00000000003706f0
[ 4632.225719] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 4632.225720] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 4632.225721] Call Trace:
[ 4632.225723]  <TASK>
[ 4632.225724]  ? __die+0x23/0x70
[ 4632.225727]  ? __pfx_vfs_caches_init+0x10/0x10
[ 4632.225729]  ? page_fault_oops+0x171/0x4e0
[ 4632.225733]  ? __pfx_vfs_caches_init+0x10/0x10
[ 4632.225735]  ? exc_page_fault+0x175/0x180
[ 4632.225738]  ? asm_exc_page_fault+0x26/0x30
[ 4632.225741]  ? __pfx_vfs_caches_init+0x10/0x10
[ 4632.225743]  ? __pfx_vfs_caches_init+0x10/0x10
[ 4632.225745]  ? __pfx_vfs_caches_init+0x10/0x10
[ 4632.225746]  ? arch_adjust_kprobe_addr+0x9/0x60
[ 4632.225748]  _kprobe_addr+0x66/0x90
[ 4632.225752]  register_kprobe+0x44/0x690
[ 4632.225755]  stapkp_register_probe+0x124/0x180
[stap_7d90e889b82f98d2135859abdd7b9927_53381]
[ 4632.225763]  _stp_ctl_write_cmd+0x1069/0x2150
[stap_7d90e889b82f98d2135859abdd7b9927_53381]
[ 4632.225772]  ? inode_security+0x22/0x60
[ 4632.225775]  proc_reg_write+0x5a/0xa0
[ 4632.225777]  vfs_write+0xef/0x400
[ 4632.225779]  ? __do_sys_clone3+0xe0/0x120
[ 4632.225782]  ? __fget_light+0x85/0x100
[ 4632.225785]  ksys_write+0x6f/0xf0
[ 4632.225788]  do_syscall_64+0x61/0xe0
[ 4632.225790]  ? syscall_exit_to_user_mode+0x22/0x40
[ 4632.225792]  ? do_syscall_64+0x70/0xe0
[ 4632.225794]  ? syscall_exit_to_user_mode+0x22/0x40
[ 4632.225796]  ? do_syscall_64+0x70/0xe0
[ 4632.225798]  ? count_memcg_events.constprop.0+0x1a/0x30
[ 4632.225801]  ? handle_mm_fault+0xa2/0x360
[ 4632.225803]  ? do_user_addr_fault+0x204/0x670
[ 4632.225806]  ? exc_page_fault+0x7f/0x180
[ 4632.225808]  entry_SYSCALL_64_after_hwframe+0x6e/0x76
[ 4632.225810] RIP: 0033:0x7f9040b37ccd
[ 4632.225829] Code: e5 48 83 ec 20 48 89 55 e8 48 89 75 f0 89 7d f8 e8 58 1d
f8 ff 48 8b 55 e8 48 8b 75 f0 41 89 c0 8b 7d f8 b8 01 00 00 00 0f 05 <48> 3d 00
f0 ff ff 77 33 44 89 c7 48 89 45 f8 e8 af 1d f8 ff 48 8b
[ 4632.225831] RSP: 002b:00007ffe3ffa0140 EFLAGS: 00000293 ORIG_RAX:
0000000000000001
[ 4632.225833] RAX: ffffffffffffffda RBX: 0000000000000008 RCX:
00007f9040b37ccd
[ 4632.225834] RDX: 000000000000000c RSI: 00007ffe3ffa0170 RDI:
0000000000000004
[ 4632.225835] RBP: 00007ffe3ffa0160 R08: 0000000000000000 R09:
00007ffe3ff9f2e7
[ 4632.225836] R10: 0000000000000008 R11: 0000000000000293 R12:
0000000000000008
[ 4632.225837] R13: 00007ffe3ffa2878 R14: 0000000000008002 R15:
00007ffe3ffa06c4
[ 4632.225840]  </TASK>
[ 4632.225841] Modules linked in:
stap_7d90e889b82f98d2135859abdd7b9927_53381(OE) uinput rfcomm snd_seq_dummy
snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp
nf_conntrack_tftp bridge stp llc nf_conntrack_netbios_ns nf_conntrack_broadcast
nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4
nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ebtable_nat
ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security
iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle
iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables
ip6table_filter iptable_filter qrtr bnep sunrpc binfmt_misc snd_soc_avs
snd_soc_hda_codec snd_hda_ext_core snd_soc_core snd_compress ac97_bus
snd_pcm_dmaengine uvcvideo btusb btrtl btintel uvc btbcm videobuf2_vmalloc
btmtk videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev mc
iwlmvm mac80211 intel_rapl_msr intel_rapl_common intel_tcc_cooling
snd_hda_codec_hdmi x86_pkg_temp_thermal
[ 4632.225877]  intel_powerclamp coretemp mei_pxp iTCO_wdt mei_hdcp libarc4
snd_ctl_led kvm_intel mei_wdt intel_pmc_bxt iTCO_vendor_support
snd_hda_codec_realtek ee1004 snd_hda_codec_generic kvm irqbypass rapl iwlwifi
snd_hda_intel intel_cstate snd_intel_dspcfg intel_uncore think_lmi
snd_intel_sdw_acpi vfat wmi_bmof fat firmware_attributes_class cfg80211
snd_hda_codec snd_seq intel_wmi_thunderbolt snd_hda_core pcspkr i2c_i801 mei_me
snd_hwdep snd_seq_device i2c_smbus snd_pcm thinkpad_acpi idma64 mei snd_timer
ledtrig_audio ie31200_edac platform_profile intel_pch_thermal rfkill snd
soundcore acpi_pad joydev loop zram dm_crypt i915 nouveau crct10dif_pclmul
crc32_pclmul crc32c_intel polyval_clmulni polyval_generic rtsx_pci_sdmmc
ghash_clmulni_intel mmc_core nvme drm_ttm_helper sha512_ssse3 drm_exec
drm_gpuvm gpu_sched mxm_wmi i2c_algo_bit drm_buddy ttm sha256_ssse3 nvme_core
drm_display_helper e1000e rtsx_pci sha1_ssse3 nvme_auth cec i2c_hid_acpi
i2c_hid video pinctrl_sunrisepoint wmi serio_raw scsi_dh_rdac scsi_dh_emc
[ 4632.225919]  scsi_dh_alua ip6_tables ip_tables dm_multipath fuse
[ 4632.225924] CR2: ffffffffbad48280
[ 4632.225925] ---[ end trace 0000000000000000 ]---
[ 4632.225926] RIP: 0010:arch_adjust_kprobe_addr+0x9/0x60
[ 4632.225928] Code: cc cc cc 48 89 de 48 89 ef 5b 5d e9 f1 f8 ff ff 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44 00 00 <8b> 07 3d
66 0f 1f 00 74 24 25 ff ff ff fe 41 b8 0c f0 e1 05 41 f7
[ 4632.225930] RSP: 0018:ffffc26e47b67c38 EFLAGS: 00010282
[ 4632.225931] RAX: 0000000000000001 RBX: ffffffffbad48280 RCX:
ffffffffbad48280
[ 4632.225932] RDX: ffffc26e47b67c6f RSI: 0000000000000000 RDI:
ffffffffbad48280
[ 4632.225933] RBP: ffffc26e47b67c6f R08: fffffffffd2b7d7f R09:
ffffc26e47b67c40
[ 4632.225934] R10: 0000000000000000 R11: 0000000000033a98 R12:
0000000000000000
[ 4632.225935] R13: 0000000000000000 R14: 0000000000000000 R15:
ffffffffc1f40db0
[ 4632.225936] FS:  00007f9040a2e140(0000) GS:ffff9fcc8f9c0000(0000)
knlGS:0000000000000000
[ 4632.225938] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4632.225939] CR2: ffffffffbad48280 CR3: 000000024e98e001 CR4:
00000000003706f0
[ 4632.225940] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 4632.225941] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 4632.225943] note: stapio[53381] exited with irqs disabled

-- 
You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2024-03-19 20:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-16 13:03 [Bug runtime/31500] New: " mcermak at redhat dot com
2024-03-18 21:48 ` [Bug runtime/31500] " wcohen at redhat dot com
2024-03-19  8:10 ` mcermak at redhat dot com
2024-03-19 15:49 ` wcohen at redhat dot com
2024-03-19 20:57 ` wcohen at redhat dot com [this message]
2024-03-20 14:19 ` wcohen at redhat dot com
2024-03-20 15:25 ` wcohen at redhat dot com
2024-03-20 21:10 ` wcohen at redhat dot com
2024-03-21 14:31 ` wcohen at redhat dot com
2024-03-21 15:13 ` wcohen at redhat dot com
2024-03-22 14:40 ` wcohen at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31500-6586-7bigGMFnGQ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).