Update Question 18.13:
- Remove first person narration remained there accidentally - Mark up kernel configuration file with <filename> - Add missing <userinput> elements for commands - Rename invalid make variable "KERNCONFIG" to "KERNCONF" Approved by: gabor (mentor)
This commit is contained in:
parent
528a228354
commit
8da2d23763
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32645
1 changed files with 6 additions and 6 deletions
|
|
@ -11074,7 +11074,7 @@ panic: page fault</programlisting>
|
|||
|
||||
<para>When you see a message like this, it is not enough to
|
||||
just reproduce it and send it in. The instruction pointer
|
||||
value that I highlighted up there is important;
|
||||
value is important;
|
||||
unfortunately, it is also configuration dependent. In other
|
||||
words, the value varies depending on the exact kernel image
|
||||
that you are using. If you are using a
|
||||
|
|
@ -11130,7 +11130,7 @@ panic: page fault</programlisting>
|
|||
<step>
|
||||
<para>Make sure that the following line is included in
|
||||
your kernel configuration file
|
||||
(/usr/src/sys/<replaceable>arch</replaceable>/conf/<replaceable>MYKERNEL</replaceable>):</para>
|
||||
(<filename>/usr/src/sys/<replaceable>arch</replaceable>/conf/<replaceable>MYKERNEL</replaceable></filename>):</para>
|
||||
|
||||
<programlisting>makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols</programlisting>
|
||||
</step>
|
||||
|
|
@ -11140,13 +11140,13 @@ panic: page fault</programlisting>
|
|||
class="directory">/usr/src</filename>
|
||||
directory:</para>
|
||||
|
||||
<screen>&prompt.root; <command>cd</command> <filename class="directory">/usr/src</filename></screen>
|
||||
<screen>&prompt.root; <userinput><command>cd</command> <filename class="directory">/usr/src</filename></userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Compile the kernel:</para>
|
||||
|
||||
<screen>&prompt.root; <command>make</command> <maketarget>buildkernel</maketarget> <makevar>KERNCONFIG</makevar>=<replaceable>MYKERNEL</replaceable></screen>
|
||||
<screen>&prompt.root; <userinput><command>make</command> <maketarget>buildkernel</maketarget> <makevar>KERNCONF</makevar>=<replaceable>MYKERNEL</replaceable></userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
|
@ -11154,7 +11154,7 @@ panic: page fault</programlisting>
|
|||
</step>
|
||||
|
||||
<step>
|
||||
<screen>&prompt.root; <command>make</command> <maketarget>installkernel</maketarget> <makevar>KERNCONFIG</makevar>=<replaceable>MYKERNEL</replaceable></screen>
|
||||
<screen>&prompt.root; <userinput><command>make</command> <maketarget>installkernel</maketarget> <makevar>KERNCONF</makevar>=<replaceable>MYKERNEL</replaceable></userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
|
@ -11163,7 +11163,7 @@ panic: page fault</programlisting>
|
|||
</procedure>
|
||||
|
||||
<note>
|
||||
<para>If you do not use the <makevar>KERNCONFIG</makevar>
|
||||
<para>If you do not use the <makevar>KERNCONF</makevar>
|
||||
make variable a <filename>GENERIC</filename> kernel will
|
||||
be built and installed.</para>
|
||||
</note>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue