From owner-freebsd-bugs Thu Jun 28 17:20:17 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 4CDCD37B40D 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 f5T0K3442454; 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 213A637B40A for ; Thu, 28 Jun 2001 17:17:04 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5T0H4J42325; Thu, 28 Jun 2001 17:17:04 -0700 (PDT) (envelope-from nobody) Message-Id: <200106290017.f5T0H4J42325@freefall.freebsd.org> Date: Thu, 28 Jun 2001 17:17:04 -0700 (PDT) From: Ralph Seguin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/28498: /var/log/messages incorrect 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: 28498 >Category: kern >Synopsis: /var/log/messages incorrect >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:03 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 Along with this bug is the fact that the kernel messages in /var/log/messages are incorrect. The kernel messages indicate that there is a DVD-RAM drive, when there is none. Jun 26 09:30:15 FBSD40 /kernel: RTC BIOS diagnostic error 2 Jun 26 09:30:15 FBSD40 /kernel: ad0: 16479MB [33483/16/63] at ata0-master using UDMA33 Jun 26 09:30:15 FBSD40 /kernel: daasync: ONE LUN device to handle as TWO LUN Jun 26 09:30:15 FBSD40 /kernel: Mounting root from ufs:/dev/ad0s1a Jun 26 09:30:15 FBSD40 /kernel: da0 at ahc0 bus 0 target 0 lun 0 Jun 26 09:30:15 FBSD40 /kernel: da0: Removable CD-ROM SCSI-2 device Jun 26 09:30:15 FBSD40 /kernel: da0: 10.000MB/s transfers (10.000MHz, offset 8) Jun 26 09:30:15 FBSD40 /kernel: da0: Attempt to query device size failed: NOT READY, Medium not present Jun 26 09:30:15 FBSD40 /kernel: cd0 at ahc0 bus 0 target 0 lun 0 Jun 26 09:30:15 FBSD40 /kernel: cd0: Removable CD-ROM SCSI-2 device Jun 26 09:30:15 FBSD40 /kernel: cd0: 10.000MB/s transfers (10.000MHz, offset 8) Jun 26 09:30:15 FBSD40 /kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present Jun 26 09:30:15 FBSD40 /kernel: fxp0: starting DAD for fe80:0001::02d0:b7ff:fe1a:8de0 Jun 26 09:30:15 FBSD40 /kernel: fxp0: DAD complete for fe80:0001::02d0:b7ff:fe1a:8de0 - no duplicates found Notice the da0 messages? There is NO DVD-RAM hooked up to this machine. >How-To-Repeat: 1. Reboot machine. 2. tail -100 /var/log/messages. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message