[Bug 276587] ccp(4) causes 'sysctl -a' to hang when reading OID 'kern.geom.conftxt'

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Jan 2024 21:13:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276587

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

> # procstat -kk 95687
>   PID    TID COMM                TDNAME              KSTACK
> 95687 100677 sysctl              -                   mi_switch+0xbb _sleep+0x1ed g_waitfor_event+0x118 sysctl_kern_geom_confany+0xc1 sysctl_root_handler_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.

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