Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 13:48:35 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        hackers@freebsd.org
Subject:   Re: Kernel debugger and X11.
Message-ID:  <3C97B233.F37410B@mindspring.com>
References:  <20020319201528.GI4989@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Josef Karthauser wrote:
> Of course the nicest thing would be to return the screen to text mode
> automatically when the the kernel debugger is entered, but because X
> controls the video registers I guess that that's not easy or possible.

[ ... ]

> Does anyone have any working practices around this problem?  I'm sure
> that I'm not the only one of us with it.

Yes, install the GGI port to FreeBSD, and use that instead
of the native FreeBSD console, so that the video driver is
aware of the state it put the card in, and can put it back
into the correct state for the debugger to work.  This also
buys you out of the secure-mode hacks that make you leave
certain mmap and /dev/io accesses allowed, even with a
raised secure level, if you are going to be able to use X11.

The GGI people have bent over backwards on licensing to try
and get the FreeBSD people to adopt this code, but apparently
people are not doing enough console debugging from having
run X11 for this to push its way in.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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