Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2024 21:13:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276587] ccp(4) causes 'sysctl -a' to hang when reading OID 'kern.geom.conftxt'
Message-ID:  <bug-276587-227-9BO8FUeIzw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276587-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276587-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=3D276587

--- Comment #1 from Joshua Kinard <freebsd@kumba.dev> ---
Per comment #10 on Bug 253860, this is the 'procstat -kk' command on the PI=
D of
a hung 'sysctl -a' process while ccp(4) is loaded and in use w/ GELI-encryp=
ted
swap partitions:

> # procstat -kk 95687
>   PID    TID COMM                TDNAME              KSTACK
> 95687 100677 sysctl              -                   mi_switch+0xbb _slee=
p+0x1ed g_waitfor_event+0x118 sysctl_kern_geom_confany+0xc1 sysctl_root_han=
dler_locked+0x90 sysctl_root+0x23e userland_sysctl+0x176 sys___sysctl+0x5c =
amd64_syscall+0x109 fast_syscall_common+0xf8

My guess is it's hung up on 'g_waitfor_event', of which there are two in the
'sysctl_kern_geom_confany' function, and I am not sure which one is affected
here.

--=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-276587-227-9BO8FUeIzw>