To follow up on yesterday's discovery of an x86emu ILLEGAL OPCODE
message..

The opcode was 0F A2, or CPUID; it was not implemented in the emulator.
I have created a simple patch that emulates this instruction by passing
it the exact values of the instruction ran on the real hardware.  Patch
is attached.  I have tested it on Gutsy (xorg 1.3.0.0).  The patch
applies cleanly if you put it last in the debian/patches queue.

This allows the video-amd driver to actually switch back to console
mode... but only if that console mode was 80x25.  I stated with
"vga=ext" in my kernel command line.  This still does not work.  The
result is a hybrid.  The font renders correctly, but only the top 25
lines of the VT are displayed.  I will continue to look at this.

Thanks to Symbio Technologies for funding my work, and ThinCan for
providing hardware :)

** Attachment added: "X86EMU: handle CPUID instruction (passthrough)"
   
http://launchpadlibrarian.net/11733228/0001-X86EMU-handle-CPUID-instruction-passthrough.patch

-- 
xf86-video-amd: switching to a vcons fails
https://bugs.launchpad.net/bugs/180742
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to