From owner-freebsd-hackers Tue Mar 19 13:53:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id EAD9537B402 for ; Tue, 19 Mar 2002 13:53:37 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id A99B4AE275; Tue, 19 Mar 2002 13:53:37 -0800 (PST) Date: Tue, 19 Mar 2002 13:53:37 -0800 From: Alfred Perlstein To: Terry Lambert Cc: Josef Karthauser , hackers@freebsd.org Subject: Re: Kernel debugger and X11. Message-ID: <20020319215337.GR455@elvis.mu.org> References: <20020319201528.GI4989@genius.tao.org.uk> <3C97B233.F37410B@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C97B233.F37410B@mindspring.com> User-Agent: Mutt/1.3.27i 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 * Terry Lambert [020319 13:49] wrote: > 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. do you have links to the threads and a summary available? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message