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.

So I'm wondering if it would improve/break things to make it so that kldload() and its
 companions first look for "module.ko.debug" by default and then look for "module.ko" 
after that before giving up and returning an error.  The advantage would be that you
wouldn't have to muck about with loader.conf
or extra boot scripts if you needed to work
with a debug kernel.

Thoughts?

Andrew Lankford


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to