From owner-freebsd-doc Sun Jan 19 9: 9:18 2003 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32C3837B401 for ; Sun, 19 Jan 2003 09:09:15 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-5-cust47.cdif.cable.ntl.com [81.101.150.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18C9743ED8 for ; Sun, 19 Jan 2003 09:09:14 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.12) id 18aIwa-0008ty-00 for doc@FreeBSD.org; Sun, 19 Jan 2003 17:09:12 +0000 Date: Sun, 19 Jan 2003 17:09:12 +0000 From: Ceri Davies To: doc@FreeBSD.org Subject: dmesg Message-ID: <20030119170912.GG4206@submonkey.net> Mail-Followup-To: Ceri Davies , doc@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="gatW/ieO32f1wygP" Content-Disposition: inline X-message-flag: All your linuxconf-configured redhat are belong to us. X-message-flag-attribution: suresh, sdm. User-Agent: Mutt/1.5.3i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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 @@ Confirm that both computers have a kernel with &man.lpt.4; driver support. - &prompt.root; dmesg | grep lp + &prompt.root; grep lp /var/run/dmesg.boot lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven lp0: TCP/IP capable interface 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 I586_CPU or I686_CPU), 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 /var/run/dmesg.boot file to view your boot up messages. In FreeBSD 5.0, support for I386_CPU 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 @@ Creating and Testing the Device Nodes device nodes - After you reboot, log in and run dmesg | grep - pcm as shown below: + After you reboot, log in and run grep + pcm /var/run/dmesg.boot as shown below: - &prompt.root; dmesg | grep pcm + &prompt.root; grep pcm /var/run/dmesg.boot pcm0: <SB16 DSP 4.11> on sbc0 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 @@ To find out if the kernel you are currently using supports a serial interface, type: - &prompt.root; dmesg | grep sioN + &prompt.root; grep sioN /var/run/dmesg.boot Where N is the number of the serial port, starting from zero. If you see output similar to @@ -483,7 +483,7 @@ To find out if the kernel supports a parallel interface, type: - &prompt.root; dmesg | grep ppcN + &prompt.root; grep ppcN /var/run/dmesg.boot Where N 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