From owner-freebsd-commit Wed Jul 12 13:05:36 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA23323 for commit-outgoing; Wed, 12 Jul 1995 13:05:36 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA23217 for cvs-sys-outgoing; Wed, 12 Jul 1995 13:04:02 -0700 Received: from disperse.demon.co.uk (disperse.demon.co.uk [158.152.1.77]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id NAA23206 ; Wed, 12 Jul 1995 13:03:50 -0700 Received: from post.demon.co.uk by disperse.demon.co.uk id aa22699; 12 Jul 95 19:21 +0100 Received: from bagpuss.demon.co.uk by post.demon.co.uk id aa26771; 12 Jul 95 19:20 +0100 Received: (karl@localhost) by bagpuss.demon.co.uk (3.1/3.1) id SAA14679; Wed, 12 Jul 1995 18:02:06 +0100 From: Karl Strickland Message-Id: <199507121702.SAA14679@bagpuss.demon.co.uk> Subject: Re: cvs commit: src/sys/i386/isa syscons.c syscons.h To: "Rodney W. Grimes" Date: Wed, 12 Jul 1995 18:02:05 +0100 (BST) Cc: bde@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199507111846.LAA16428@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Jul 11, 95 11:46:18 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1377 Sender: commit-owner@FreeBSD.org Precedence: bulk > > > > > bde 95/07/11 11:34:31 > > > > Modified: sys/i386/isa syscons.c syscons.h > > Log: > > Fix races in scstart(). q_to_b() wasn't called at spltty(), so there > > were two races: > > - q_to_b() might unexpectedly return 0 (e.g, after a keyboard signal > > flushes the output queue and isn't echoed). ansi_put() interprets > > 0 bytes as 4GB... > > Might this fix the problem that has been reported as ``switching VT's > at a rate of 1 a second for about 2 to 3 minutes will result in a system > hang?'' I'm glad to hear I'm not the only one with this problem, I was trying to track this down the other day - but when it hangs the system, it really does hang it - I couldnt even prod it by provoking an NMI. I can usually hang it in a lot less than 2/3 minutes - it seems to happen more often when you switch away from the X11 screen (I run xdm on startup) - last time I tried it, it hung first time. I had this problem under FreeBSD 1.x as well - few weeks ago I switched to pcvt because of it. I'll try and hang it with these latest fixes... -- ------------------------------------------+----------------------------------- Mailed using ELM on FreeBSD | Karl Strickland PGP 2.3a Public Key Available. | Internet: karl@bagpuss.demon.co.uk |