Melchior FRANZ wrote:
> 
> * Melchior FRANZ -- Saturday 09 June 2001 11:25:
> > OK, with the new code from today plex86 works again. So I tested
> > that patch and neither message shows up in the logs. What else
> > could I do to track down the problem?
> 
> Bullshit! I hadn't looked in /var/log/{message,warn}! In didn't find the
> error messages in a terminal/konsole window, but the log files are full of it:
> 
>   # grep -c "Argh, IOPL(3) is wrong\!" /var/log/warn
>   6040
> 
> So IOPL =is= wrong!

Now, that is something to go on!

In the same area as the hacks I sent you before, just after
the vm_save_flags() put a check to make sure that IOPL was
not 3 already before entering the VM.

  vm_save_flags(eflags);
  if ( ((eflags >> 12) & 3) != 0 ) {
    hostprint(".......\n");
    return 1;
    }
  vm_restore_flags(...);

-Kevin

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to