Hello, I am trying to diagnose what is causing my Freebsd terminal to hang and the process to be unkillable when executing sysctl -a. I tried troubleshooting by executing sysctl dev , sysctl cpu and those both hang as well. Could anyone recommend how to troubleshoot further to pinpoint what the issue is? Is it a bug, hardware issue, driver etc?
Code:
truss sysctl -a
write(1,"\n",1) = 1 (0x1)
__sysctl("sysctl.next",6,0x105ef1ae1910,0x105ef1ae1908,0x0,0) = 0 (0x0)
__sysctl("sysctl.name { 1.30.2147482569 }",5,0x105ef1ae1050,0x105ef1ae0bd0,0x0,0) = 0 (0x0)
__sysctl("sysctl.oidfmt kern.ipc.pipe_mindirect",5,0x105ef1ae14c0,0x105ef1ae0bd8,0x0,0) = 0 (0x0)
#execute sysctl -a
#terminal stops responding
#after a few mins I am able to access a terminal session again, and ps -ax shows sysctl -a defunt process
#unable to kill the process
#reboot clears it
#hp diagnostic utility passes
#hp z6 workstation, gpu amd firepro w2100
freebsd-version -kru
14.2-RELEASE-p1
14.2-RELEASE-p1
14.2-RELEASE-p3
sysctl dev
#hangs
dev.pcib.7.%pnpinfo: vendor=0x8086 device=0xa194 subvendor=0x103c subdevice=0x81c6 class=0x060400
dev.pcib.7.%location: slot=28 function=4 dbsf=pci0:0:28:4 handle=\_SB_.PC00.RP05
dev.pcib.7.%driver: pcib
dev.pcib.7.%desc: ACPI PCI-PCI bridge
dev.pcib.6.subbus: 6
dev.pcib.6.secbus: 6
dev.pcib.6.pribus: 2
dev.pcib.6.domain: 0
dev.pcib.6.%domain: 0
sysctl cpu
#hangs
dev.cpu.15.cx_method: C1/mwait/hwc C2/mwait/hwc/bma
dev.cpu.15.cx_usage_counters: 1058653 0
dev.cpu.15.cx_usage: 100.00% 0.00% last 128884us
dev.cpu.15.cx_lowest: C1
dev.cpu.15.cx_supported: C1/1/1 C2/2/41
ps -ax
4322 0- R+ 3042:09.26 sysctl dev
9244 1- R 19:17.99 sysctl dev.cpu
9249 1- R 17:12.26 sysctl dev.vgapci
9252 1- R+ 16:34.14 sysctl dev.vgapci
9271 2- R<+ 14:03.84 su -
9280 3- R+ 5:27.73 sysctl dev.cpu
9292 4 Ss 0:00.02 -sh (sh)
9295 4 R 1:02.86 sysctl kern
9296 4 R 0:39.28 sysctl hw
9297 4 R 0:16.93 sysctl net
I am also after unable to shutdown or restart without hard reboot :
9341 v0 Is+ 0:00.02 /bin/sh -o verify /etc/rc.shutdown reboot