Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2000 19:33:21 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Andrea Campi <andrea@webcom.it>, John Baldwin <jhb@FreeBSD.ORG>, freebsd-current@FreeBSD.ORG, Andrea Campi <a.campi@inet.it>, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: [jhb@FreeBSD.org: RE: Panic in -current] 
Message-ID:  <200012051033.TAA12407@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "05 Dec 2000 10:39:34 %2B0100." <xzp66kzurzc.fsf@flood.ping.uio.no> 
References:  <20001205013955.A2351@webcom.it> <XFMail.001204182657.jhb@FreeBSD.org> <20001205032713.B2351@webcom.it>  <xzp66kzurzc.fsf@flood.ping.uio.no> 

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

>Andrea Campi <andrea@webcom.it> writes:
>> Ok, I will try each one. At the moment, I'm using logo_saver.
>> I will let you know.
>
>Take a long hard look at vesa_set_mode() and vesa_set_origin() in
>sys/i386/isa/vesa.c. If the panic occurs while the console is still in
>text mode, the bug is in vesa_set_mode(); if it occurs after the
>console has switched to graphics mode, it's probably in
>vesa_set_origin().

The may be in the VESA BIOS on the video card :-)

The vesa module calls the VESA BIOS to change video modes.  The bug
may not necessarily be in the BIOS "code", but the VESA video mode
"table" to which the vesa module refers, when it sets up a new video
mode, and calculates and initializes variables in the vesa module.

I would like to see full dump of 'vidcontrol -i adapter',
'vidcontrol -i mode' and dmesg after the vesa module is loaded
(you get very verbose output from the vesa module init code
if you boot the kernel with 'boot -v').

You see, the VESA BIOS support on some video cards is not so complete.
For example, we saw in the mailing list recently that the "VGA compatible"
bit is somewhat turned off for VESA high resolution modes, didn't we?
That possibly was a bug in that VESA BIOS. (OR, those mode ARE
genuinely VGA-incompatible and we shouldn't use them the way 
the vesa modules accesses them...)

Kazu



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




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