View | Details | Raw Unified | Return to bug 19997
Collapse All | Expand All

(-)book.sgml (+27 lines)
Lines 4100-4105 Link Here
4100
</answer></qandaentry>
4100
</answer></qandaentry>
4101
4101
4102
<qandaentry><question>
4102
<qandaentry><question>
4103
<para>Why is my kernel so big (over 10MB)?</para></question><answer>
4104
4105
<para>Chances are, you compiled your kernel in <emphasis>debug
4106
mode</emphasis>. Kernels built in debug mode contain many symbols that
4107
are used for debugging, thus greatly increasing the size of the
4108
kernel. Note that if you running a FreeBSD 3.0 or later system, there
4109
will be little or no performance decrease from running a debug
4110
kernel, and it is useful to keep one around in case of a system
4111
panic.</para>
4112
<para>However, if you are running low on disk space, or you simply
4113
don't want to run a debug kernel, make sure that:</para>
4114
<itemizedlist>
4115
 <listitem><para>You do not have a line in your kernel configuration file
4116
 that reads <emphasis>makeoptions DEBUG=-g</emphasis>,
4117
 and</para></listitem>
4118
 
4119
 <listitem><para>You are not running <command>config</command> with the
4120
 <option>-g</option> option.</para></listitem>
4121
</itemizedlist>
4122
4123
<para>Both of the above situations will cause your kernel to be built
4124
in debug mode. As long as you make sure you follow the steps above,
4125
you can build your kernel normally, and you should notice a fairly
4126
large size decrease; most kernels tend to be around 1.5MB to 2MB.</para>
4127
</answer></qandaentry>  
4128
4129
<qandaentry><question>
4103
<para>Interrupt conflicts with multi-port serial code.</para></question><answer>
4130
<para>Interrupt conflicts with multi-port serial code.</para></question><answer>
4104
4131
4105
<para><emphasis remap=bf>Q.</emphasis> When I compile a kernel with multi-port serial code, it
4132
<para><emphasis remap=bf>Q.</emphasis> When I compile a kernel with multi-port serial code, it

Return to bug 19997