Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 May 2018 17:52:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 227880] `kldstat -m` does not work for vmm.ko (while `kldstat -n` does)
Message-ID:  <bug-227880-27103-CEzZAbu8WE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227880-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227880-27103@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=3D227880

--- Comment #8 from Conrad Meyer <cem@freebsd.org> ---
(In reply to Conrad Meyer from comment #6)
To clarify, there is a distinction between a *module* which is something
declared by (sometimes DRIVER_MODULE ->) DECLARE_MODULE -> MODULE_METADATA,=
 and
a loadable kernel *file* ("foo.ko"), which can contain 0 or more *module*
objects.

Yes, confusingly they are often both referred to as "modules" and are often
interchangeable.  However, vmm.ko happens to contain three kernel module
objects, and the two that succeed to load keep the .ko loaded.

To confirm, try 'kldstat -m ppt' or 'kldstat -m ivhd' on the system that
demonstrates the reported bug.

This is sort of a WONTFIX, but it's also possible the Bhyve folks want to u=
se
this confusion as a reason to split up vmm.ko.  Up to you guys.

--=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-227880-27103-CEzZAbu8WE>