9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Anant Narayanan <anant@kix.in>
To: 9fans@cse.psu.edu
Subject: [9fans] Plan 9 On Parallels
Date: Wed, 30 May 2007 11:56:19 +0530	[thread overview]
Message-ID: <465D190B.6060103@kix.in> (raw)

Hi everyone,

I know this has been discussed a couple of times on the list; but the
current situation is that Plan 9 is unable to detect an ethernet card
when run on the Parallels [1] Virtual Machine for Mac OS X.

Parallels emulates a standard NE2000 clone (RTL8029 to be precise),
which Plan 9 supports. This issue was apparently analyzed some time ago,
the conclusion of which was that Parallels does not allow direct PCI bus
scanning, which results in Plan 9 being unable to detect the ethernet
card. Some patches [2] were released to correct this, but these set of
patches do not work with the current Plan 9 sources (as of May 22, 2007)
- they even fail to compile.

Upon diff'ing the patches with the official Plan 9 sources it seems that
some of it has already been incorporated into the mainstream sources. I
even see this comment in /sys/src/9/pc/ether2000.c:

"Parallels has buf[0x0E] == 0x00 whereas real hardware usually has 0x57."

which seems to indicate that Plan 9 does support direct PCI bus scanning
(or whatever, I am not familiar with device-driver programming!); but
the fact is that it does not.

I am sure that a lot of us will be really grateful if this issue is
fixed. Parallels provides excellent performance on the Mac OS X and is
really the only option for the most of us on Intel Macs. Needless to
say, I am willing to provide whatever support is required in terms of
testing to fix this issue.

Cheers,
-- 
Anant Narayanan

[1] http://http://www.parallels.com/en/products/desktop/sr/ (See table
for Guest Hardware Specifications)
[2] http://www.tip9ug.jp/who/leimy/parallels.html


             reply	other threads:[~2007-05-30  6:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30  6:26 Anant Narayanan [this message]
2007-05-30  6:36 ` andrey mirtchovski
2007-05-30  8:25   ` Anant Narayanan
2007-05-30  8:27     ` Anant Narayanan
2007-05-31  1:06   ` David Leimbach
2007-05-31  1:08     ` David Leimbach

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=465D190B.6060103@kix.in \
    --to=anant@kix.in \
    --cc=9fans@cse.psu.edu \
    /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).