kern/142390: 30th console switch hangs computer completely, no panic

Erich Enke erich.enke at
Wed Jan 6 22:20:02 UTC 2010

>Number:         142390
>Category:       kern
>Synopsis:       30th console switch hangs computer completely, no panic
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 06 22:20:01 UTC 2010
>Originator:     Erich Enke
>Release:        7.2_RELEASE
FreeBSD hotsoup 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fir May  1 08:49:13 UTC 2009
        root at  i386
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.
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.
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.


More information about the freebsd-bugs mailing list