From sec@quit.42.org  Tue Apr 15 11:29:50 1997
Received: from quit.42.org (quit.42.org [192.68.213.142])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA27723
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Apr 1997 11:29:41 -0700 (PDT)
Received: (from sec@localhost)
	by quit.42.org (8.8.5/8.8.5) id UAA14757;
	Tue, 15 Apr 1997 20:29:37 +0200 (CEST)
Message-Id: <199704151829.UAA14757@quit.42.org>
Date: Tue, 15 Apr 1997 20:29:37 +0200 (CEST)
From: Stefan `Sec` Zehl <sec@quit.42.org>
Reply-To: sec@quit.42.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: /dev/console hangs
X-Send-Pr-Version: 3.2

>Number:         3299
>Category:       kern
>Synopsis:       /dev/console hangs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 15 11:30:01 PDT 1997
>Closed-Date:    Fri Oct 27 12:51:25 PDT 2000
>Last-Modified:  Sat Oct 28 04:40:01 PDT 2000
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
>Environment:

2.2.1-RELEASE Box with no keyboard and monitor, 2.2-STABLE kernel

>Description:

If you boot with a kernel who probes for a keyboard, and have no keyboard
attached it routes /dev/console to /dev/cuaa0 - if the terminal is unplugged
writes to /dev/console will hang.

>How-To-Repeat:

Boot Box without keyboard but with terminal on cuaa0, unplug terminal and
wait (syslog logs very much to /dev/console as default)
syslogd will stop logging soon and all output to /dev/console will hang

>Fix:
	
comment out lines concerning /dev/console in syslog.conf - however
i feel the main problem is, that writes to console should not hang in this
case, 2.1.0R (which i hab before) didn't have this problem.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: wosch 
Responsible-Changed-When: Wed Aug 27 15:01:24 PDT 1997 
Responsible-Changed-Why:  
sos is Mr. syscons. 
Responsible-Changed-From-To: sos->bde 
Responsible-Changed-By: wosch 
Responsible-Changed-When: Thu Aug 28 01:43:39 PDT 1997 
Responsible-Changed-Why:  
Jrg told me that Bruce working on a solution for this problem. 
Responsible-Changed-From-To: bde->freebsd-bugs 
Responsible-Changed-By: bde 
Responsible-Changed-When: Thu Aug 28 02:48:58 PDT 1997 
Responsible-Changed-Why:  
I'm not working on it. 
The problem is actually in ttymsg().  ttymsg() forks o once per call 
when the tty is not accepting output.  This can fill up the process table. 
State-Changed-From-To: open->feedback 
State-Changed-By: johan 
State-Changed-When: Fri Oct 27 12:46:45 PDT 2000 
State-Changed-Why:  
Hi 

Does this problem still exists in more recent releases 
of FreeBSD (for example 4.1-RELEASE)? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=3299 
State-Changed-From-To: feedback->closed 
State-Changed-By: johan 
State-Changed-When: Fri Oct 27 12:51:25 PDT 2000 
State-Changed-Why:  
This is the Postfix program at host mx1.FreeBSD.org. 

I'm sorry to have to inform you that the message returned 
below could not be delivered to one or more destinations. 

For further assistance, please contact <postmaster@mx1.FreeBSD.org> 

If you do so, please include this problem report. You can 
delete your own text from the message returned below. 

The Postfix program 

<sec@quit.42.org>: Name service error for domain quit.42.org: Host not found 


http://www.freebsd.org/cgi/query-pr.cgi?pr=3299 

From: Johan Karlsson <k@numeri.campus.luth.se>
To: sec@42.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/3299: /dev/console hang
Date: Sat, 28 Oct 2000 12:57:22 +0200

 Hi Stefan
 
 I have just closed your PR 3299 from April 1997.
 I did this because your email address in that PR 
 'sec@quit.42.org' is not valid.
 
 See http://www.freebsd.org/cgi/query-pr.cgi?pr=3299 
 for the deatils of the PR.
 
 However, alot has happened with the console driver
 since the 2.2.1 days.
 
 If this is still a problem in more recent version of 
 FreeBSD (for example 4.1-RELEASE) please open a new
 problem report.
 
 Thanks
 Johan K
 

From: Stefan `Sec` Zehl <sec@42.org>
To: Johan Karlsson <k@numeri.campus.luth.se>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/3299: /dev/console hang
Date: Sat, 28 Oct 2000 13:36:53 +0200

 On Sat, Oct 28, 2000 at 12:57:22PM +0200, Johan Karlsson wrote:
 > Hi Stefan
 
 Hi,
 
 > I have just closed your PR 3299 from April 1997.
 > I did this because your email address in that PR 
 > 'sec@quit.42.org' is not valid.
 
 Jep. This has been ages ago. %) Thanks for tracking me down anyway ;-)
 
 > See http://www.freebsd.org/cgi/query-pr.cgi?pr=3299 
 > for the deatils of the PR.
 > 
 > However, alot has happened with the console driver
 > since the 2.2.1 days.
 > 
 > If this is still a problem in more recent version of 
 > FreeBSD (for example 4.1-RELEASE) please open a new
 > problem report.
 
 I can't tell. I've been using a cheap monitor and a big video switch on
 all my servers now instead of using the serial console. Let's keep this
 closed for now.
 
 CU,
     Sec
 -- 
 In 1968 it took the computing-Power of 2 C-64 to fly a rocket to the moon.
 Now, 1997 it takes the Power of a Pentium 133 to run Microsoft Windows 95.
                     Something must have gone wrong.
 
>Unformatted:
