Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2022 16:46:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262301] [ctl] Cannot "kldunload ctl"
Message-ID:  <bug-262301-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262301

            Bug ID: 262301
           Summary: [ctl] Cannot "kldunload ctl"
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

The ctl module cannot be unloaded if ctld has ever started.  A simple "kldl=
oad
ctl; kldunload ctl" works, but after starting ctld with "service ctld
onestart", then the module cannot be unloaded.

somers@fbsd-head /u/h/somers> sudo kldunload ctl
kldunload: can't unload file: Device busy
somers@fbsd-head /u/h/somers [1]> dmesg | tail -n1
kldunload: attempt to unload file that was loaded by the kernel

This problem means that there's no way for ctl to handle SIGKILL except a
reboot.  If you ever send SIGKILL to that process, it will stay in the
process's pending list forever.

--=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-262301-227>