On Thu, Mar 19, 2015 at 03:35:36PM -0400, Mike Tancsa
wrote:> Anyone know how to get dtrace working on RELENG9 ? When I go to load the
> klds, I get the error
>
> # kldload dtraceall
> kldload: an error occurred while loading the module. Please check
> dmesg(8) for more details.
>
> # dmesg | tail -5
> linker_load_file: Unsupported file type
> KLD profile.ko: depends on cyclic - not available or version mismatch
> linker_load_file: Unsupported file type
> KLD dtraceall.ko: depends on profile - not available or version mismatch
> linker_load_file: Unsupported file type
>
> if I try and load profile, or cyclic, I get
>
> KLD profile.ko: depends on cyclic - not available or version mismatch
> linker_load_file: Unsupported file type
> link_elf_obj: symbol cyclic_clock_func undefined
> linker_load_file: Unsupported file type
> link_elf_obj: symbol cyclic_clock_func undefined
> linker_load_file: Unsupported file type
>
> Googling around this seems to be a known problem going back some time
> and there are various patches posted, but I am not sure what the best
> way to proceed is ? This is only for a test box so I can try and better
> understand why RELENG9 is so much faster than RELENG10 for my particular
> applications.
Could you point me to one of these threads? There are several that refer
to cyclic_clock_func, but they have to do with build failures, which
isn't what you're seeing.
> This is releng9 from today after a fresh buildworld/kernel
I'm not quite sure what you mean by releng9. Is it 9.0? 9.3? Does your
kernel configuration file contain "options KDTRACE_HOOKS"?
Thanks,
-Mark