From owner-freebsd-hackers Tue Mar 19 13:49: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 724B237B417 for ; Tue, 19 Mar 2002 13:48:58 -0800 (PST) Received: from pool0205.cvx21-bradley.dialup.earthlink.net ([209.179.192.205] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16nRTS-0002F3-00; Tue, 19 Mar 2002 13:48:54 -0800 Message-ID: <3C97B233.F37410B@mindspring.com> Date: Tue, 19 Mar 2002 13:48:35 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Josef Karthauser Cc: hackers@freebsd.org Subject: Re: Kernel debugger and X11. References: <20020319201528.GI4989@genius.tao.org.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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