From nobody@FreeBSD.org  Fri Jan 26 16:15:08 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3F73037B698
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Jan 2001 16:15:08 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0R0F8v99660;
	Fri, 26 Jan 2001 16:15:08 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101270015.f0R0F8v99660@freefall.freebsd.org>
Date: Fri, 26 Jan 2001 16:15:08 -0800 (PST)
From: kjkoster@kjkoster.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: Console output gets scribbled into /var/log/messages
X-Send-Pr-Version: www-1.0

>Number:         24663
>Category:       alpha
>Synopsis:       Console output gets scribbled into /var/log/messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 26 16:20:00 PST 2001
>Closed-Date:    Tue May 24 02:08:04 GMT 2005
>Last-Modified:  Tue May 24 02:08:04 GMT 2005
>Originator:     Kees Jan Koster
>Release:        FreeBSD 4.2-stable
>Organization:
n/a
>Environment:
FreeBSD slugout.kjkoster.org 4.2-STABLE FreeBSD 4.2-STABLE #4: Thu Jan 25 00:56:30 CET 2001     kjkoster@slugout.kjkoster.org:/usr/src/sys/compile/SLUGOUT  alpha
NoName Alpha, trident ISA VGA card. My x86 PC does not exhibit this problem.
>Description:
When generating large chunks of console output on a graphics console on
my Alpha bits and pieces of it end up in /var/log/messages. Here's what I
see:

Jan 27 01:03:40 slugout /kernel: 0 b681 4826 0005 f420 f000 203f 9681 4821
Jan 27 01:04:05 slugout /kernel: 5f74 6564 6376 616c 7373
Jan 27 01:04:35 slugout /kernel: 0 bf20 0036 fc00 ffff 0104 0000 0000 0000
Jan 27 01:04:40 slugout /kernel: 0 23e0 0046 fc00 ffff 0000 0000 0000 0000
Jan 27 01:04:40 slugout /kernel: b0e118>0258590 0018 0000 0000 0000 2b5e 0001 00 0007

Message from syslogd@slugout at Sat Jan 27 01:04:40 2001 ...
slugout /kernel: b0e118>0258590 0018 0000 0000 0000 2b5e 0001 0001 0007
Jan 27 01:05:00 slugout /kernel: 0 6963 6b5f 756c 6764 5f65 6e75 7469 7300
Jan 27 01:05:05 slugout /kernel: 00 0000 0778 0000 0000 0000
Jan 27 01:05:35 slugout /kernel: 0 0020 a46b 0000 a483 0004 a044 f622 4841
 
Notice that the information has its date stamps intact although the
strings are only parts of the original, they're logged from /kernel and
they sometimes get written onto my terminal as messages.

>How-To-Repeat:
In one terminal start tail -f /var/log/messages

On the console of the box start
  while true; do
    hexdump /kernel
  done

Watch the messages. This problem does not happen when the hexdumps go
to xterminals. I have no serial console to see if that is affected.
>Fix:
Dunno.

>Release-Note:
>Audit-Trail:

From: Sten Spans <sten@blinkenlights.nl>
To: bug-followup@FreeBSD.org, kjkoster@kjkoster.org
Cc:  
Subject: Re: alpha/24663: Console output gets scribbled into /var/log/messages
Date: Mon, 23 May 2005 23:00:11 +0200 (CEST)

 This has been fixed with  Revision 1.7.2.1 Thu Mar 22 22:15:26 2001 UTC
 ( RELENG_4_3 ).
 
 This PR should be closed...
 
 -- 
 Sten Spans
 
 "There is a crack in everything, that's how the light gets in."
 Leonard Cohen - Anthem
State-Changed-From-To: open->closed 
State-Changed-By: marcel 
State-Changed-When: Tue May 24 02:07:45 GMT 2005 
State-Changed-Why:  
Fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24663 
>Unformatted:

I suspect this is caused by having a getty running on both /dev/console
and /dev/vtyv0.  This is the way etc.alpha/ttys is shipped & should
probably fixed via sysinstall enabling the correct tty at installation
time.

