Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 1996 19:33:48 -0700 (PDT)
From:      Paul Traina <pst@Shockwave.COM>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/1508: syscons does not protect against entering DDB when X11 screen is active
Message-ID:  <199608180233.TAA25729@precipice.shockwave.com>
Resent-Message-ID: <199608180240.TAA08022@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1508
>Category:       kern
>Synopsis:       syscons should protect against useless DDB entry
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 17 19:40:03 PDT 1996
>Last-Modified:
>Originator:     Paul Traina
>Organization:
Shockwave Engineering
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

Current system with DDB in kernel.

>Description:

PCVT sets the boolean "cons_unavail" whenever it has been declared the system
console and the X11 screen is the currently active screen (actually, any time
the current screen mode is VT_PROCESS).

Syscons doesn't do this.  This means that if I enter DDB when X11 is active
(due to a trap or due to the keyboard entry sequence) the system locks down
and is totally useless.  I don't even get an honest panic. :-(

Syscons should set this flag when it is responsible for operating the console
and X11 is active, and clear this flag when operating from a non VT_PROCESS
screen.

>How-To-Repeat:

Compile kernel with DDB.
Start X
Generate a kernel debugger trap.
Kiss freebsd goodbye.

>Fix:
	
Take a peek at PCVT sources.  Look for cons_unavail.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608180233.TAA25729>