Date: Tue, 17 Dec 2024 06:51:15 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283359] dtrace -h is broken again Message-ID: <bug-283359-227-1m45qs7O4g@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-283359-227@https.bugs.freebsd.org/bugzilla/> References: <bug-283359-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283359 --- Comment #6 from shamaz.mazum@gmail.com --- (In reply to Mark Johnston from comment #4) Thanks! That really helped. But I was wondering why it worked fine before a= nd came to the following discovery: I tried to reproduce the issue once more time, after a computer reboot. And= it was fine this time, dtrace -h was working both in a jail and in "normal" environment (without the patch applied). Turns out, I debugged sbcl using dtrace that day, and all dtrace modules wa= s in the kernel: vasily@vonbraun:~ % kldstat Id Refs Address Size Name 1 154 0xffffffff80200000 1f3d568 kernel 2 1 0xffffffff8213e000 5da658 zfs.ko 3 1 0xffffffff83800000 665888 amdgpu.ko 4 2 0xffffffff83e66000 85090 drm.ko 5 1 0xffffffff837f9000 22b8 iic.ko 6 2 0xffffffff83eec000 4120 linuxkpi_video.ko 7 3 0xffffffff83ef1000 7350 dmabuf.ko 8 3 0xffffffff837fc000 3378 lindebugfs.ko 9 1 0xffffffff83ef9000 c338 ttm.ko 10 1 0xffffffff83f06000 356d0 amdgpu_dimgrey_cavefish_sos_bin.ko 11 1 0xffffffff83f3c000 375e0 amdgpu_dimgrey_cavefish_ta_bin.ko 12 1 0xffffffff83f74000 3dd88 amdgpu_dimgrey_cavefish_smc_bin.ko 13 1 0xffffffff83fb2000 1d958 amdgpu_dimgrey_cavefish_dmcub_bin.ko 14 1 0xffffffff83fd0000 425e0 amdgpu_dimgrey_cavefish_pfp_bin.ko 15 1 0xffffffff84013000 425e0 amdgpu_dimgrey_cavefish_me_bin.ko 16 1 0xffffffff84056000 42560 amdgpu_dimgrey_cavefish_ce_bin.ko 17 1 0xffffffff84099000 238f0 amdgpu_dimgrey_cavefish_rlc_bin.ko 18 1 0xffffffff840bd000 43a90 amdgpu_dimgrey_cavefish_mec_bin.ko 19 1 0xffffffff84101000 43a90 amdgpu_dimgrey_cavefish_mec2_bin.ko 20 1 0xffffffff84145000 a5e0 amdgpu_dimgrey_cavefish_sdma_bin.ko 21 1 0xffffffff84150000 8f8d0 amdgpu_dimgrey_cavefish_vcn_bin.ko 22 1 0xffffffff841e0000 3160 amdtemp.ko 23 1 0xffffffff841e4000 2138 amdsmn.ko 24 1 0xffffffff841e7000 2278 pty.ko 25 1 0xffffffff841ea000 3390 acpi_wmi.ko 26 1 0xffffffff841ee000 3220 intpm.ko 27 1 0xffffffff841f2000 2178 smbus.ko 28 1 0xffffffff841f5000 3360 uhid.ko 29 1 0xffffffff841f9000 4364 ums.ko 30 1 0xffffffff841fe000 3360 wmt.ko 31 1 0xffffffff84202000 4d20 ng_ubt.ko 32 6 0xffffffff84207000 abb8 netgraph.ko 33 2 0xffffffff84212000 a250 ng_hci.ko 34 4 0xffffffff8421d000 2670 ng_bluetooth.ko 35 1 0xffffffff84220000 e268 ng_l2cap.ko 36 1 0xffffffff8422f000 1bf68 ng_btsocket.ko 37 1 0xffffffff8424b000 38f8 ng_socket.ko 38 1 0xffffffff8424f000 5be8 autofs.ko 39 1 0xffffffff84255000 2a68 mac_ntpd.ko 40 1 0xffffffff84258000 2f5c0 if_wg.ko 41 1 0xffffffff84288000 4850 nullfs.ko 42 1 0xffffffff8428d000 3560 fdescfs.ko 43 1 0xffffffff84291000 2298 dtraceall.ko 44 10 0xffffffff84294000 1c290 opensolaris.ko 45 10 0xffffffff842b1000 3ebe0 dtrace.ko 46 1 0xffffffff842f0000 21cc dtmalloc.ko 47 1 0xffffffff842f3000 2cd8 dtnfscl.ko 48 1 0xffffffff842f6000 3295 fbt.ko 49 1 0xffffffff842fa000 555d4 fasttrap.ko 50 1 0xffffffff84350000 33c0 kinst.ko 51 1 0xffffffff8435e000 2278 sdt.ko 52 1 0xffffffff84361000 91cc systrace.ko 53 1 0xffffffff8436b000 91cc systrace_freebsd32.ko 54 1 0xffffffff84375000 22c4 profile.ko So my reproduction instructions work only if dtrace modules are in the kern= el (e.g. dtrace -l was called before). Is there any explanations for this? Any= way, the patch worked, thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283359-227-1m45qs7O4g>