From owner-freebsd-stable@FreeBSD.ORG Tue Dec 24 22:19:32 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2C44163 for ; Tue, 24 Dec 2013 22:19:32 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 889AD14CD for ; Tue, 24 Dec 2013 22:19:32 +0000 (UTC) Received: from [10.0.0.2] ([91.60.2.99]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0LvS5r-1VV9hY1rGt-010ZJF for ; Tue, 24 Dec 2013 23:19:23 +0100 Subject: Re: Graphical console in stable/10 stuck on heavy writing From: Marc Santhoff To: FreeBSD Stable Mailing List In-Reply-To: References: <52B78808.1090802@ijs.si> Content-Type: text/plain; charset="ISO-8859-15" Date: Tue, 24 Dec 2013 23:19:21 +0100 Message-ID: <1387923561.4135.5.camel@puma.das.netz> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:fRXrcAnebYzjij0d420uP9RgD4D+gDyD77B9Xga3r4WhWmesFQU ynJ4n9KXnSEv5prlEL+FN5vWjx2yecDK0eFJx7Br/S+nzNGc0cqRUnB7ehQQtxVo5s/3qVR nxPDzkZ5vwQY+OoAWGQUGkSJIHuk+3a5U/9YJNKqZWFxEwz4/hiVkkgkhsKfdQpmjIfLEii U1g65XlQnVMLhwpn6TwCA== X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2013 22:19:33 -0000 On So, 2013-12-22 at 21:29 -0800, Adrian Chadd wrote: > I see this when the kernel is outputting debugging .. the console can > quickly lock up exactly how you describe. I've never figured out why > though. :( > > > -a > > On 22 December 2013 16:47, Mark Martinec wrote: > > FreeBSD amd64, recent stable/10: > > > > When running some task on a graphical console window > > and that task writes lots of output to a console, the > > console gets stuck after some time (like 20 minutes), > > output stops, keyboard appears unresponsive, alt-ctrl-Fn > > is unable to switch consoles - but the machine seems > > otherwise sane: I can log in over ssh, file system and > > processes are healthy, CPU not busy. Long ago I had to fight a similar problem when using FreePascal on FreeBSD - must have been a stable OS version of 2004 or so. The solution was to switch the file descriptor in use from non blocking to blocking i/o. IIRC this held true for stdout and stderr. I have no idea what was going on and if that was a freebsd or fpc issue, though. HTH anyhow, Marc -- Marc Santhoff