From owner-freebsd-questions Thu Apr 17 00:35:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA16456 for questions-outgoing; Thu, 17 Apr 1997 00:35:49 -0700 (PDT) Received: from papillon.lemis.de (papillon.lemis.com [192.109.197.159]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA16439; Thu, 17 Apr 1997 00:35:43 -0700 (PDT) Received: (grog@localhost) by papillon.lemis.de (8.8.4/8.6.12) id PAA00222; Wed, 16 Apr 1997 15:54:01 +0200 (CEST) From: grog@lemis.de Message-Id: <199704161354.PAA00222@papillon.lemis.de> Subject: Re: 2.2.1-RELEASE /dev/console In-Reply-To: from Stefan `Sec` Zehl at "Apr 15, 97 00:37:40 am" To: sec@42.org (Stefan `Sec` Zehl) Date: Wed, 16 Apr 1997 15:53:58 +0200 (CEST) Cc: freebsd-questions@freebsd.org Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Reply-to: grog@lemis.de (Greg Lehey) WWW-Home-Page: http://www.FreeBSD.org/~grog X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Stefan `Sec` Zehl writes: > I have yet another problem with 2.2.1-RELEASE :( > > I don't have a keyboard attached to my box, and it correctly > recognizes /dev/cuaa0 as its new console. > > BUT, when i leave it running for about 1 day - syslogd stops working > - i guess it is because it cant write to /dev/console > because an 'echo test >/dev/console' hangs too. > > (i have the terminal on /dev/cuaa0 unplugged because i need it elsewhere) This makes me wonder why you want the console on /dev/cuaa0 in the first place. What do you want to happen to these messages? If you want to drop them in the bit bucket when the console is unplugged, you could try a # stty -f /dev/cuaa0 clocal and see if that works. I believe there is also an ioctl for resetting the console to another device, but I don't have sources here to play around with. Let me know if you're interested. > syslogd -ds says: > quit:/var/log#syslogd -ds > off & running.... > init > cfline("*.err;kern.debug;auth.notice;mail.crit /dev/console", f, "*") > syslogd: /dev/console: Interrupted system call > logmsg: pri 53, flags 4, from quit, msg syslogd: /dev/console: Interrupted system call > > attached is my kernel-config-file if it matters (running 2.2-STABLE kernel > from 4 days ago): > > I'm really running out of ideas here, since plugging the terminal back > didn't help anything, and the getty didnt respawn after logout :( Now that's interesting. Has anybody else seen this?