Re: kldload(2) and debug kernels

2003-11-17 Thread Dimitry Andric
On 2003-11-17 at 18:47:28 Doug White wrote: > If you give a specific path to a module then it will load that module. No. It will not load arbitrary files, but _only_ files that end in ".ko". I've encountered this before, and therefore I always simply follow a make installkernel.debug by a script

Re: kldload(2) and debug kernels

2003-11-17 Thread Doug White
On Sun, 16 Nov 2003 [EMAIL PROTECTED] 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 bu

Re: kldload(2) and debug kernels

2003-11-16 Thread Kris Kennaway
On Sun, Nov 16, 2003 at 01:10:46AM -0600, [EMAIL PROTECTED] wrote: > Thoughts? Don't install or kldload your debugging modules, there's no need. You can just load them into gdb if you need to read a core. Kris pgp0.pgp Description: PGP signature

kldload(2) and debug kernels

2003-11-16 Thread vze2ztys
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