as 2007-08-18 14:12:08 UTC
FreeBSD ports repository
Modified files:
books/developers-handbook/kerneldebug chapter.sgml
Log:
Screen und Programlisting-Bloecke gefixed
Gesendet von: Fabian Ruch
Revision Changes Path
1.3 +25 -25 de-docproj/books/developers-handbook/kerneldebug/chapter.sgml
Index: chapter.sgml
===================================================================
RCS file: /home/cvs/de-docproj/books/developers-handbook/kerneldebug/chapter.sgml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -I$FreeBSDde.*$ -r1.2 -r1.3
--- chapter.sgml 17 Aug 2007 17:51:59 -0000 1.2
+++ chapter.sgml 18 Aug 2007 14:12:08 -0000 1.3
@@ -10,9 +10,9 @@
<chapterinfo>
<authorgroup>
<author>
- <firstname>Paul</firstname>
- <surname>Richards</surname>
- <contrib>Contributed by </contrib>
+ <firstname>Paul</firstname>
+ <surname>Richards</surname>
+ <contrib>Contributed by </contrib>
</author>
<author>
<firstname>Jörg</firstname>
@@ -109,7 +109,7 @@
festgelegte <varname>dumpdir</varname> vor einem
Kernel-Absturz vorhanden ist.</para>
- <screen>&prompt.root; <userinput>mkdir /var/crash</userinput>
+ <screen>&prompt.root; <userinput>mkdir /var/crash</userinput>
&prompt.root; <userinput>chmod 700 /var/crash</userinput></screen>
<para>Denken Sie auch daran, dass der Inhalt von
@@ -160,9 +160,9 @@
Schritte vor:</para>
<screen>&prompt.root; <userinput>fsck -p</userinput>
-&prompt.root; <userinput>mount -a -t ufs</userinput> # make sure /var/crash is writable
+&prompt.root; <userinput>mount -a -t ufs</userinput> # make sure /var/crash is writable
&prompt.root; <userinput>savecore /var/crash /dev/ad0s1b</userinput>
-&prompt.root; <userinput>exit</userinput> # exit to multi-user</screen>
+&prompt.root; <userinput>exit</userinput> # exit to multi-user</screen>
<para>Dies weist &man.savecore.8; an, einen
Kernel-Speicherauszug aus <filename>/dev/ad0s1b</filename>
@@ -667,7 +667,7 @@
<note>
<para>Beachten Sie, dass, wenn Sie DDB mittels einer
- Schnelltaste betreten, der Kernel zurzeit einen Interrupt
+ Schnelltaste betreten, der Kernel zurzeit einen Interrupt
bereitstellt, sodass die Stack-Ablaufverfolgung Ihnen nicht
viel nützen könnte.</para>
</note>
@@ -853,10 +853,10 @@
<screen>&prompt.user; <userinput>kgdb kernel</userinput>
GDB is free software and you are welcome to distribute copies of it
-under certain conditions; type "show copying" to see the conditions.
-There is absolutely no warranty for GDB; type "show warranty" for
-details. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free
-Software Foundation, Inc...
+ under certain conditions; type "show copying" to see the conditions.
+There is absolutely no warranty for GDB; type "show warranty" for details.
+GDB 4.16 (i386-unknown-freebsd),
+Copyright 1996 Free Software Foundation, Inc...
<prompt>(kgdb)</prompt> </screen>
<para>Stellen Sie die entfernte Sitzung zur Fehlersuche ein mit
@@ -883,7 +883,7 @@
<screen>Remote debugging using /dev/cuaa0
Debugger (msg=0xf01b0383 "Boot flags requested debugger")
-at ../../i386/i386/db_interface.c:257
+ at ../../i386/i386/db_interface.c:257
<prompt>(kgdb)</prompt></screen>
<para>Sie können mit dieser Sitzung wie mit jeder anderen
@@ -915,10 +915,10 @@
<screen>&prompt.root; <userinput>kldstat</userinput>
Id Refs Address Size Name
-1 4 0xc0100000 1c1678 kernel
-2 1 0xc0a9e000 6000 linprocfs.ko
-3 1 0xc0ad7000 2000 warp_saver.ko
-4 1 0xc0adc000 11000 linux.ko</screen>
+ 1 4 0xc0100000 1c1678 kernel
+ 2 1 0xc0a9e000 6000 linprocfs.ko
+ 3 1 0xc0ad7000 2000 warp_saver.ko
+ 4 1 0xc0adc000 11000 linux.ko</screen>
<para>Falls Sie einen Speicherauszug nach einem Absturz auf Fehler
untersuchen, müssen Sie die
@@ -934,8 +934,8 @@
Textabschnitts innerhalb des Moduls herausfinden:</para>
<screen>&prompt.root; <userinput>objdump --section-headers /sys/modules/linux/linux.ko | grep text</userinput>
- 3 .rel.text 000016e0 000038e0 000038e0 000038e0 2**2
-10 .text 00007f34 000062d0 000062d0 000062d0 2**2</screen>
+ 3 .rel.text 000016e0 000038e0 000038e0 000038e0 2**2
+ 10 .text 00007f34 000062d0 000062d0 000062d0 2**2</screen>
<para>Das, wonach Sie suchen, ist die
<literal>.text</literal>-Zeile, Zeile 10 im Beispiel oben. Die
@@ -990,13 +990,13 @@
des Systems auf VFS-Ebene vermuten. Fügen Sie die folgenden
Optionen
- <programlisting>makeoptions DEBUG=-g
- options INVARIANTS
- options INVARIANT_SUPPORT
- options WITNESS
- options DEBUG_LOCKS
- options DEBUG_VFS_LOCKS
- options DIAGNOSTIC</programlisting>
+ <programlisting>makeoptions DEBUG=-g
+ options INVARIANTS
+ options INVARIANT_SUPPORT
+ options WITNESS
+ options DEBUG_LOCKS
+ options DEBUG_VFS_LOCKS
+ options DIAGNOSTIC</programlisting>
der Kernel-Konfigurationsdatei hinzu. Wenn die Blockade
ausgelöst wird, stellen Sie, zusätzlich der Ausgabe
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-cvs-doc" in the body of the message
Received on Sat 18 Aug 2007 - 16:13:28 CEST