When booting plan9 in vmware the graphics seem to work fine up
to 1024x768x8, but higher resolutions cause a panic trying to
[...]
panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c0000
panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c0000

/dev/vgactl says 0xe0000000 has 0x3c0000 mapped.  Enough for
1024x768x4 bytes but not enoug hfor 1280x1024x4 bytes.  I
patched vgavmware.c line 179 to allocate 2*vmrd(vm, Rfbsize)
instead of vmrd(vm, Rfbsize) and now I'm able to go into 1280x1024x8
mode.  This is obviously just a hack, I don't know what a
real solution would be (is it possible that the hardware register
returns a different size after changing the mode?)

Tim Newsham
http://www.thenewsh.com/~newsham/

Reply via email to