Re: 7-Current: turn off debugging (kqread?)
- From: Kevin Kramer <kramer@xxxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 11:35:11 -0500
yes. that is where I have started, but I cannot get buildkernel to build with those commented out. the UPDATING file also lists heavy debugging turned on in userland, which I can't track down to any config files.
I've cvsup'ng now to see if I can build today.
Tom Evans wrote the following on 06/29/07 11:13:
On Fri, 2007-06-29 at 09:34 -0500, Kevin Kramer wrote:_______________________________________________
I know that debugging is turned on everywhere on 7-Current and I've read UPDATING. But what I can't find is how to turn off debugging. I've tried removing all debugging from the kernel, but it won't build. I can't find any userland debugging notes to turn it off.
It is taking literally 5 minutes to login to my host and the same amount of time to run top. Processes get stuck in kqread. Maybe this is not a 7-Current debugging problem, but I need some guidance on where to go or what to look for.
Any help appreciated.
In your kernel config, remove these lines if they exist:
options INVARIANTS # Enable calls of extra sanity
checking
options INVARIANT_SUPPORT # Extra sanity checks of
internal structures, required by INVARIANTS
options WITNESS # Enable checks to detect
deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks
for speed
You can leave the "options {K,D,G}DB" lines, they incur virtually now
performance costs.
You would get more help (possibly) if you tried posting on current@
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- 7-Current: turn off debugging (kqread?)
- From: Kevin Kramer
- Re: 7-Current: turn off debugging (kqread?)
- From: Tom Evans
- 7-Current: turn off debugging (kqread?)
- Prev by Date: Re: 7-Current: turn off debugging (kqread?)
- Next by Date: How to get best results from FreeBSD-questions
- Previous by thread: Re: 7-Current: turn off debugging (kqread?)
- Next by thread: SATA HDD seen at UDMA33
- Index(es):