From owner-freebsd-bugs Thu Jun 28 17:20:14 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2AE5A37B40A for ; Thu, 28 Jun 2001 17:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5T0K3142445; Thu, 28 Jun 2001 17:20:03 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F229637B401 for ; Thu, 28 Jun 2001 17:12:11 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5T0CBp42075; Thu, 28 Jun 2001 17:12:11 -0700 (PDT) (envelope-from nobody) Message-Id: <200106290012.f5T0CBp42075@freefall.freebsd.org> Date: Thu, 28 Jun 2001 17:12:11 -0700 (PDT) From: Ralph Seguin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/28497: dmesg corrupted buffer/output Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28497 >Category: kern >Synopsis: dmesg corrupted buffer/output >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 28 17:20:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Ralph Seguin >Release: 4.0-RELEASE >Organization: Ricoh Silicon Valley >Environment: FreeBSD seguir3.adc.rsv.ricoh.com 4.0-RELEASE FreeBSD 4.0-RELEASE #2: Thu Mar 22 12:49:32 GMT 2001 bwong@bwong3.adc.rsv.ricoh.com:/usr/home/bwong/work/FBSD/sys/compile/eCabinet i386 >Description: There appears to be an intermittent bug with the dmesg buffer or dmesg program. About 1 time in 15, the output from dmesg is corrupted with binary characters which make the output unsuitable for parsing to obtain information about the machine. The output is still recognizable as the normal kernel message output, but it is littered with garbage binary characters. bash-2.03# /sbin/dmesg \^D +\^D\^D\^A\^P\^D\^D\^H\^D\^B\^H @\M^@\^P\^F\^H\M-`\^O\M-p\^_\^H\M-p\M^?\^O\^F\^F\^F\^F\^F\^F\^F\^F\^F\^F\^F\^F\^F\^F\^F\^F\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^E\^L\^D\^A\^P@ \^D\^P\^H\^P \^B@\M^@@\M^@\M^@\^P@\^A@\^B\M^@ \^P\^P\^A\M^@\^AFACS@ 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-RELEASE #2: Thu Mar 22 12:49:32 GMT 2001 bwong@bwong3.adc.rsv.ricoh.com:/usr/home/bwong/work/FBSD/sys/compile/eCabinet Timec\M-ountar "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon (797.42-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387f9ff real memory = 535822336 (523264K bytes) avail memory = 515235840 (503160K bytes) pnpbios: Bad PnP BIOS data checksum Preloaded elf kernel "kernel" at 0xc03ce000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motharboard [... snip] pci0: at 31.2 irq 10 pci0: (vendor=0x8086, dev=0x2413) at 31.3 irq 9 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes \M-u\^A\^K\M-(\M^?\^H\M-x\^G\^A\^A@\M-P\M-P\M^@"@\M^?\M^@\M^?\240\M-v\240\M-v\^B@\^G\^A\^B\^K \^K \M-P \^P\M-@\^O43`\^O\^A\M-!\M^?\^G\M-#\^C\M-#\^E\^B\^B\^Q\^D\^E\^E\M^A\M-o \^C\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A bash-2.03# dmesg | head -20 reserved. FreeBSD 4.0-R\M-ELEASE #2: Thu Mar 22 12:49:32 GMT 2001 bwong@bwong3.adc.rsv.ricoh.com:/usr/home/bwong\^Owork/FBSD\M-/sys/compile/eCabinet Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon (797.42-MHz 686-slass CPU) Origin = "Gen\^?ineInte," Id =$0x686 Stepping = 6 Features=0x387v9ff real memory = 535822336 (523264K bytes) avail memory!= 515235840 (503160K bytes) pnpbios: Bad PnP BIOS data checksum Prmloaded elf kernel "ke2nel" at 0xc03ce000. Pentium Pro MTRR suppord enabled md0: M`lloc disk npx0: on motherboard np80: INT 16 inperface apm0: on mouherboard ipm: found APM BIOS v1.2, connected at w1.2 pcib0: on motherboard pci0: on pcib0 pci0: at 1.0 irq 11 Broken pipe >How-To-Repeat: 1. Check output from /sbin/dmesg 2. If not garbled, reboot and go to step 1. If it is garbled, you've reproduced it. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message