[Bug 248050] Keeps handle to loaded kernel module twice?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 17 17:44:16 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248050
Bug ID: 248050
Summary: Keeps handle to loaded kernel module twice?
Product: Base System
Version: 12.1-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: dmilith at me.com
Basically:
kldstat | grep -c dtrace # returns "0", no kernel modules loaded yet
kldload dtrace # ok
kldload dtraceall # ok
kldstat | grep -c dtrace # returns "2" - two matching kernel modules loaded -
all ok.
And here's the issue:
kldunload dtrace # ok - shouldn't be ok. dtrace module is still loaded at this
point but command returns 0 - success
kldstat | grep -c dtrace # returns "2" again.
kldunload dtrace # causes (expected) fail:
kldunload: can't unload file: Device busy
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list