listing all modules compiled into a kernel instance

John Baldwin jhb at freebsd.org
Tue Mar 1 14:49:41 UTC 2011


On Tuesday, March 01, 2011 6:49:17 am Daniel O'Connor wrote:
> 
> On 01/03/2011, at 15:10, Carl wrote:
> > Kernel drivers can be (and in at least one case are) compiled into the kernel but are not reported when queried for, at least not in a way that 
I am aware of. For example, the ucom driver is present in the GENERIC kernel in this way. My expectation was that "kldstat -v" would list it, if 
present, but it does not. A design flaw?
> 
> Sounds like a bug, but I'm not sure where..
> 
> Maybe ucom doesn't appear because it doesn't have a DRIVER_MODULE() declaration (because it isn't a driver).

Yes, that would explain it.

-- 
John Baldwin


More information about the freebsd-hackers mailing list