1. I

    Solved Debug FreeBSD klds

    I'm trying to debug a function from a kld and in order to do that I use gdb, the steps that i follow in order to do that are: 1. load the debugging symbols from /boot/kernel/kernel; 2. load debugging symbols from <my_file>.ko; 3. set a breakpoint on a function that should execute when the...
  2. M

    KLD Load - depends on kernel - not avail. or version mismatch

    I'm developing a device driver kld module to be hooked up to the FreeBSD system. Using a very simple default "hello" driver found below, I'm trying to kld load the module. However I'm getting the error: KLD hello.ko: depends on kernel - not available or version mismatch linker_load_file...