Re: vbetool on pure AMD64 system

Matthew Garrett
2005-11-10T16:07:23Z

On Wed, Nov 09, 2005 at 11:42:39PM +0100, Frank wrote:

> Here is the problem: I didn't find an AMD64 version of vbetool (using Debian
> testing AMD64), so I forced the i386 package and manually met its 32bit
> dependencies. It does run, and the "vgastate off" option does disable the
> LCD. But saving and restoring the state, I get the following error:

If you're running a 64-bit kernel, you can't make vm86 calls. At the
moment, vbetool requires that. I'm looking at porting it to use x86emu
on non-x86 systems, but haven't been able to get it to work properly
yet.

There's a video_post program that should also be mentioned in the docs.
It uses x86emu, but I'm not convinced that it's entirely correct.
Implementing the same functionality in vbetool shows different
interrupts being called in lrmi mode and x86emu mode.
--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org