[haiku-development] Re: Anyone seen this - Vesa delay

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 08 Jul 2008 20:26:44 +0200

Jan Klötzke wrote:
> Jan Klötzke <jan.kloetzke@xxxxxxxxxx> wrote:
> > Stephan Assmus <superstippi@xxxxxx> wrote:
> > > I know that Ingo is experiencing the same behavior. On my system, I 
> > > just get "General System Error" when I try to change resolution (VESA 
> > > also) during runtime. But I think if I have a vesa kernel settings 
> > > file with anything different than the native resolution, my system 
> > > does not boot. I am not sure, but I thought for the behavior you 
> > > describe, there is a bug report, but I could be wrong.
> > >
> > > Jan, any ideas?
> >
> > Unfortunately not really. I suspect that there is an error in the 
> > instruction emulation part of the vm86 stuff which confuses the BIOS. 
> > Just a wild guess. I was not able yet to reproduce it on any of my 
> > systems here.
> >
> > What makes it really interesting and what is new to me is that you get 
> > a "General System Error". Would you mind to enable TRACE_VM86 in 
> > src/system/kernel/arch/x86/vm86.cpp and capture the output? Maybe I can 
> > spot something there because the traces I've got so far did not contain 
> > anything suspicious...
> 
> Wait a minute... I found something. The PUSHF/POPF instructions were not 
> emulated correctly! The attached patch should fix that. Hope that solves 
> the problems. At least it should be applied nonetheless.

Thanks, applied in r26325. Going to check out the results on my other 
machine in a minute and report back.

Best regards,
-Stephan

Other related posts: