From owner-freebsd-current Tue Dec 3 7:35:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84F8537B401 for <current@FreeBSD.ORG>; Tue, 3 Dec 2002 07:35:50 -0800 (PST) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24F8A43E4A for <current@FreeBSD.ORG>; Tue, 3 Dec 2002 07:35:50 -0800 (PST) (envelope-from Scott_Long@adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6+Sun/8.11.6) with ESMTP id gB3FZnj18887; Tue, 3 Dec 2002 07:35:49 -0800 (PST) Received: from OTCEXC01.otc.adaptec.com (otcexc01.otc.adaptec.com [10.12.1.27]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id HAA15181; Tue, 3 Dec 2002 07:35:39 -0800 (PST) Received: by otcexc01.otc.adaptec.com with Internet Mail Service (5.5.2653.19) id <4TQCX8XR>; Tue, 3 Dec 2002 10:35:38 -0500 Message-ID: <6100BCEB85F8E244959C756C04E0EDD161CBCD@otcexc01.otc.adaptec.com> From: "Long, Scott" <Scott_Long@adaptec.com> To: "'Chuck Robey'" <chuckr@chuckr.org>, Manfred Antar <null@pozo.com> Cc: kalts@estpak.ee, FreeBSD-current <current@FreeBSD.ORG> Subject: RE: console problem Date: Tue, 3 Dec 2002 10:35:37 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-current.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-current> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-current> X-Loop: FreeBSD.ORG > It's not the fact that I have an extra, unused on-board video > (checked). > Also, when the video output stops, the console still works > fine for input > (keyboard never stops working normally). Also, I can > successfully start X > just fine. It's just the vty's output that is stopped (all > vtys, alt-Fn > has no effect on output, only input). It's not wiped, just no further > changes. I tried issuing a vidcontrol; before lockup, color > change works > fine, after, no effect. > > It's acting as if the mapping in memory to the video buffer > has changed. > The problem is that the syscons driver stops updating the display because it's timeout call to scrn_timeout() gets lost and/or never re-armed. The causes could be one or more of the following: 1) a race in the syscons code that determines whether or not to re-arm the periodic timeout. 2) a race in the callout code that results in random timeouts getting lost. Since syscons timeout happens 10 times a second, it has a high chance of being affected. 3) breakage in softclock, resulting in timeouts not being triggered at all. I highly doubt this one since the rest of the machine works fine. Note that while it happens easily on SMP machines, I was able to trigger it last night on a UP box in the form of the syscons bell getting turned on but not off. My SMP box died while trying to debug this and I haven't been able to get access to another one yet. If anyone is interested in looking at it, /sys/dev/syscons/syscons.c:scrn_timeout() is a good place to start. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message