From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 6 22:20:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35C4F106568F for ; Wed, 6 Jan 2010 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EE8388FC1C for ; Wed, 6 Jan 2010 22:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o06MK1u3054598 for ; Wed, 6 Jan 2010 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o06MK16R054597; Wed, 6 Jan 2010 22:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 6 Jan 2010 22:20:01 GMT Resent-Message-Id: <201001062220.o06MK16R054597@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erich Enke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 367AF106566B for ; Wed, 6 Jan 2010 22:13:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 25B9D8FC14 for ; Wed, 6 Jan 2010 22:13:50 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o06MDnSo029043 for ; Wed, 6 Jan 2010 22:13:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o06MDnPf029042; Wed, 6 Jan 2010 22:13:49 GMT (envelope-from nobody) Message-Id: <201001062213.o06MDnPf029042@www.freebsd.org> Date: Wed, 6 Jan 2010 22:13:49 GMT From: Erich Enke To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/142390: 30th console switch hangs computer completely, no panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 22:20:02 -0000 >Number: 142390 >Category: kern >Synopsis: 30th console switch hangs computer completely, no panic >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 06 22:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Erich Enke >Release: 7.2_RELEASE >Organization: >Environment: FreeBSD hotsoup 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fir May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I just installed FREEBSD 7.2 RELEASE on this thing yesterday. I've compiled and installed xorg, plus a few other programs, but other than that, it's vanilla. At first it seemed that it was hanging when shutting down Xorg, or switching from Xorg, until I ran the simple test below, several times. EVERY SINGLE TIME I boot, I can switch consoles 29 times, but the 30th time hangs my machine utterly. It doesn't respond to ping or ssh. Unplugging and replugging in my keyboard has no effect. There is no kernel panic. There's nothing in /var/log/messages about the hang. I can't use 8.0 RELEASE yet, because of the rum0 issues. rum0 works fine for me on 7.2, but has link timeouts in 8.0, so upgrading is not an option for me. >How-To-Repeat: 1) Freshly boot computer, no x environment 2) Switch to a different console. Repeat. It doesn't matter the order. Pick any of the virtual consoles to switch to. Pressing the key for the console you're on doesn't count. It has to switch the console. 3) On the 29th switch, it still works. You can input with the keyboard and such. 4) The 30th time you try to switch consoles, the block cursor disappears, but the screen doesn't actually switch. >Fix: I'm not sure where to begin in debugging this problem. It is 100% reproducible, though, and I'd be surprised if a significant number of other people out there don't have this issue. I'm pretty experienced in various linuxes and NetBSD, but I'm fairly new to FreeBSD. Programmer by profession, though, and I'm willing to help. >Release-Note: >Audit-Trail: >Unformatted: