Re: howto compile kernel for ktrace
Re: howto compile kernel for ktrace
- Subject: Re: howto compile kernel for ktrace
- From: "Justin C. Walker" <email@hidden>
- Date: Thu, 5 Dec 2002 13:01:48 -0800
On Thursday, December 5, 2002, at 11:47 AM, Michael Marti wrote:
I use uname -a to get the xnu name, but when I do:
cvs co -r xnu-201.42.3 xnu
I get the message:
Protocol error: uncounted data discarded
The only kernel I can check out is xnu-10. How do I know if this kernel
works on my system?
Can't say for sure about what server to use; the website should give you
that information, though.
That's a weird message from CVS, but I believe that CVS (still) doesn't
like '.' in CVS tags. Try 'xnu-201-42-3'.
Furthermore I would like to know where I have to change the config of
the
kernel to be able to use ktrace.
Each 'component' of xnu (BSD, IOKit, Mach) has a conf subdirectory, and
therein lies much of the build magic. For 'ktrace', look in
bsd/conf/MASTER.{ppc,i386}. There is a sequence of lines like:
# RELEASE = [.....]
Add the term 'ktrace' in the list within the brackets, and rebuild the
'bsd' piece (cd bsd; make all; make mach_kernel).
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.