Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 21:49:17 -0700
From:      Mark Johnston <markj@FreeBSD.org>
To:        Mike Tancsa <mike@sentex.net>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: dtrace on RELENG9 possible ?
Message-ID:  <20150320044917.GA9090@raichu>
In-Reply-To: <550B2508.2040908@sentex.net>
References:  <550B2508.2040908@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150320044917.GA9090>