Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 17:09:12 +0000
From:      Ceri Davies <setantae@submonkey.net>
To:        doc@FreeBSD.org
Subject:   dmesg
Message-ID:  <20030119170912.GG4206@submonkey.net>

next in thread | raw e-mail | index | archive | help

--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


Any objections to the following patch ?

It basically tells people to look in /var/run/dmesg.boot for their devices
instead of the output from dmesg, as that's not guaranteed to contain any
information on their devices at all.

Ceri
-- 
For the Creator, the rune, and the courageous!

--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.diff"

? imagelib
Index: advanced-networking/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v
retrieving revision 1.196
diff -u -r1.196 chapter.sgml
--- advanced-networking/chapter.sgml	12 Jan 2003 19:23:55 -0000	1.196
+++ advanced-networking/chapter.sgml	19 Jan 2003 17:07:04 -0000
@@ -6197,7 +6197,7 @@
       <para>Confirm that both computers have a kernel with &man.lpt.4; driver
 	support.</para>
 
-      <screen>&prompt.root; <userinput>dmesg | grep lp</userinput>
+      <screen>&prompt.root; <userinput>grep lp /var/run/dmesg.boot</userinput>
 lpt0 at 0x378-0x37f irq 7 on isa
 lpt0: Interrupt-driven
 lp0: TCP/IP capable interface</screen>
Index: kernelconfig/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml,v
retrieving revision 1.97
diff -u -r1.97 chapter.sgml
--- kernelconfig/chapter.sgml	18 Jan 2003 18:03:28 -0000	1.97
+++ kernelconfig/chapter.sgml	19 Jan 2003 17:07:09 -0000
@@ -487,7 +487,7 @@
       sure whether you should use <literal>I586_CPU</literal> or
       <literal>I686_CPU</literal>), however, for a custom kernel, it is
       best to specify only the CPU you have.  If you are unsure of your
-      CPU type, you can use the &man.dmesg.8; command to view your boot
+      CPU type, you can check the <filename>/var/run/dmesg.boot</filename> file to view your boot
       up messages.</para>
 
     <note><para>In FreeBSD 5.0, support for <literal>I386_CPU</literal>
Index: multimedia/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml,v
retrieving revision 1.46
diff -u -r1.46 chapter.sgml
--- multimedia/chapter.sgml	4 Dec 2002 02:48:45 -0000	1.46
+++ multimedia/chapter.sgml	19 Jan 2003 17:07:12 -0000
@@ -291,10 +291,10 @@
     <title>Creating and Testing the Device Nodes</title>
 
     <indexterm><primary>device nodes</primary></indexterm>
-    <para>After you reboot, log in and run <command>dmesg | grep
-      pcm</command> as shown below:</para>
+    <para>After you reboot, log in and run <command>grep
+      pcm /var/run/dmesg.boot</command> as shown below:</para>
 
-    <screen>&prompt.root; <userinput>dmesg | grep pcm</userinput>
+    <screen>&prompt.root; <userinput>grep pcm /var/run/dmesg.boot</userinput>
 pcm0: &lt;SB16 DSP 4.11&gt; on sbc0</screen>
 
     <para>The output from your system may look different.  If no
Index: printing/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/printing/chapter.sgml,v
retrieving revision 1.65
diff -u -r1.65 chapter.sgml
--- printing/chapter.sgml	12 Jan 2003 18:31:45 -0000	1.65
+++ printing/chapter.sgml	19 Jan 2003 17:07:27 -0000
@@ -469,7 +469,7 @@
 	  <para>To find out if the kernel you are currently using supports
 	    a serial interface, type:</para>
 
-	  <screen>&prompt.root; <userinput>dmesg | grep sio<replaceable>N</replaceable></userinput></screen>
+	  <screen>&prompt.root; <userinput>grep sio<replaceable>N</replaceable> /var/run/dmesg.boot</userinput></screen>
 
 	  <para>Where <replaceable>N</replaceable> is the number of the
 	    serial port, starting from zero.  If you see output similar to
@@ -483,7 +483,7 @@
 	  <para>To find out if the kernel supports a parallel interface,
 	    type:</para>
 
-	  <screen>&prompt.root; <userinput>dmesg | grep ppc<replaceable>N</replaceable></userinput></screen>
+	  <screen>&prompt.root; <userinput>grep ppc<replaceable>N</replaceable> /var/run/dmesg.boot</userinput></screen>
 
 	  <para>Where <replaceable>N</replaceable> is the number of the
 	    parallel port, starting from zero.  If you see output similar

--gatW/ieO32f1wygP--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030119170912.GG4206>