Bug 142390 - [keyboard] 30th console switch hangs computer completely, no panic
Summary: [keyboard] 30th console switch hangs computer completely, no panic
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 22:20 UTC by Erich Enke
Modified: 2017-12-31 22:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Enke 2010-01-06 22:20:01 UTC
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.

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.
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.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:15 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped