kldload(2) and debug kernels

Doug White dwhite at gumbysoft.com
Mon Nov 17 09:47:30 PST 2003

On Sun, 16 Nov 2003 vze2ztys at verizon.net wrote:

> It looks like the kldload system call takes the name of the module you
> give it, like "ums", and just tacks on ".ko" and searches
>  in whatever the default paths are for kernel modules until it finds
> ums.ko.  Peachy.
>   But what about if you built your kernel and modules with debugging
> symbols added in?  When you install the new kernel, all the files have
> ".debug" tacked on to the end.  This seems to kill autoloading.  The
> most recent change to moused makes it incompatible with ums.ko.debug,
> too.

If you give a specific path to a module then it will load that module.

Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org

More information about the freebsd-current mailing list