From: Tim Newsham <newsham@lava.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] vga and vmware
Date: Sun, 16 Aug 2009 16:41:02 -1000 [thread overview]
Message-ID: <Pine.BSI.4.64.0908161637400.12479@malasada.lava.net> (raw)
In-Reply-To: <Pine.BSI.4.64.0908161029370.12479@malasada.lava.net>
> 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/
next prev parent reply other threads:[~2009-08-17 2:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-16 20:35 Tim Newsham
2009-08-17 0:23 ` Devon H. O'Dell
2009-08-17 2:41 ` Tim Newsham [this message]
2009-08-17 13:39 ` erik quanstrom
2009-08-17 18:30 ` Tim Newsham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.BSI.4.64.0908161637400.12479@malasada.lava.net \
--to=newsham@lava.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).