FreeBSD Bugzilla – Attachment 9850 Details for
Bug 19997
[PATCH] Addition of info about debug kernels to the FAQ
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.75 KB, created by
eogren
on 2000-07-18 03:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
eogren
Created:
2000-07-18 03:30:01 UTC
Size:
1.75 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /usr/local/doctree/doc/en_US.ISO_8859-1/books/faq/book.sgml,v >retrieving revision 1.72 >diff -u -r1.72 book.sgml >--- book.sgml 2000/07/16 20:39:43 1.72 >+++ book.sgml 2000/07/18 02:19:05 >@@ -4100,6 +4100,33 @@ > </answer></qandaentry> > > <qandaentry><question> >+<para>Why is my kernel so big (over 10MB)?</para></question><answer> >+ >+<para>Chances are, you compiled your kernel in <emphasis>debug >+mode</emphasis>. Kernels built in debug mode contain many symbols that >+are used for debugging, thus greatly increasing the size of the >+kernel. Note that if you running a FreeBSD 3.0 or later system, there >+will be little or no performance decrease from running a debug >+kernel, and it is useful to keep one around in case of a system >+panic.</para> >+<para>However, if you are running low on disk space, or you simply >+don't want to run a debug kernel, make sure that:</para> >+<itemizedlist> >+ <listitem><para>You do not have a line in your kernel configuration file >+ that reads <emphasis>makeoptions DEBUG=-g</emphasis>, >+ and</para></listitem> >+ >+ <listitem><para>You are not running <command>config</command> with the >+ <option>-g</option> option.</para></listitem> >+</itemizedlist> >+ >+<para>Both of the above situations will cause your kernel to be built >+in debug mode. As long as you make sure you follow the steps above, >+you can build your kernel normally, and you should notice a fairly >+large size decrease; most kernels tend to be around 1.5MB to 2MB.</para> >+</answer></qandaentry> >+ >+<qandaentry><question> > <para>Interrupt conflicts with multi-port serial code.</para></question><answer> > > <para><emphasis remap=bf>Q.</emphasis> When I compile a kernel with multi-port serial code, it
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19997
: 9850