9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Sander van Dijk" <a.h.vandijk@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] patch for installation in vmware
Date: Sat, 19 Jul 2008 09:30:14 +0200	[thread overview]
Message-ID: <ba0d3bc70807190030t7a8afe37pad5c89c1865c49f4@mail.gmail.com> (raw)
In-Reply-To: <10b109140807181307k387ace28kfdac9cb2e7dc970@mail.gmail.com>

On 7/18/08, Antonin Vecera <antonin.vecera@gmail.com> wrote:
> I proposed a patch which turns off hw acceleration for vga if you boot
> in VMware.
> But now I find out that it is necessary to do the same in installation tree.
> So, if anybody can, please, correct this file /386/bin/aux/vmware on
> installation CD (add 1 line):

The file you're looking for seems to be /sys/lib/dist/pc/sub/vmware

> #!/bin/rc
>
> if(aux/isvmware -s){
> 	echo hwaccel off >'#v/vgactl'		<-- add this command
> 	echo -n off >'#P/i8253timerset'
> 	for(i in '#S'/sd??)
> 		if(test -f $i/ctl)
> 			echo dma on >$i/ctl
> }

I think it would be good to place the for-loop in a "if(~ $dmamode
yes)" as well.

Greetings, Sander.



  reply	other threads:[~2008-07-19  7:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 20:07 Antonin Vecera
2008-07-19  7:30 ` Sander van Dijk [this message]
2008-07-19 13:50   ` Russ Cox
2008-07-19 15:48     ` Sander van Dijk
2008-07-20  8:11       ` Sander van Dijk
2008-07-20 12:55 ` Uriel
2008-07-23  9:43   ` Sander van Dijk

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=ba0d3bc70807190030t7a8afe37pad5c89c1865c49f4@mail.gmail.com \
    --to=a.h.vandijk@gmail.com \
    --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).