From owner-freebsd-current Tue Feb 24 15:20:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03443 for freebsd-current-outgoing; Tue, 24 Feb 1998 15:20:20 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sendero.simon-shapiro.org (sendero-fxp0.Simon-Shapiro.ORG [206.190.148.34]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA03399 for ; Tue, 24 Feb 1998 15:20:10 -0800 (PST) (envelope-from shimon@sendero-fxp0.simon-shapiro.org) Received: (qmail 17408 invoked by uid 1000); 24 Feb 1998 23:26:54 -0000 Message-ID: X-Mailer: XFMail 1.3-alpha-021598 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199802242125.NAA16540@dingo.cdrom.com> Date: Tue, 24 Feb 1998 15:26:54 -0800 (PST) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: Mike Smith Subject: Re: Proposed addition to panic() behaviour Cc: (Andrzej Bialecki) , yokota@zodiac.mech.utsunomiya-u.ac.jp, freebsd-current@FreeBSD.ORG, =?us-ascii?Q?S=F8ren?= Schmidt Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Feb-98 Mike Smith wrote: >> >> On 24-Feb-98 Søren Schmidt wrote: >> >> .... >> >> > It will only work on a std VGA card in a std mode. All moderne video >> > cards >> > demands specific programming (or what do you think the thousands of >> > lines >> > of code in Xfree86 does :) ) >> > >> > So your answer is it will not work most of the time, if at all. >> >> My ignorance shows all the time. When the system boots, something does >> something to the video card to make it go into a sane VGA mode. My >> ignorant assumption is that this something can be emulated/repeated with >> software in kernel mode. > > That something is card-specific code in the BIOS ROM on the card. You > may see it signing on if your monitor warms up quickly enough. > > This is real-mode 8086 code which can make all sorts of assumptions > about the state of the machine at that point in the boot phase. Some > of those assumptions aren't valid when the kernel is running. (Some > are, but to get to a mode where you can run this code is a bit > daunting.) These entry points are known and standardized. since we are talking panic mode here, switching back to realmode, to reset the video card to standard VGA mode can be considrered and will have a very positive support impact. Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message