9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: arisawa@ar.aichi-u.ac.jp
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] Plan 9 on Parallels for Mac
Date: Sun, 22 Oct 2006 21:29:42 +0900	[thread overview]
Message-ID: <B7F29E53-1B87-43BB-A427-52F6327DC126@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <3e1162e60608162045t5f86fa64k806c254f3726293@mail.gmail.com>

Hello,

I tried to install plan9 to parallels for mac,
following the instruction: http://www.tip9ug.jp/who/leimy/parallels.html
However compiler rejects to compile

term% mk 'CONF=pcf'
...
configure: undefined: pcibussize in configure
mk: 8c -FVw '-DKERNDATE='`{date ...  : exit status=rc 10551: 8l  
10555: error
term%

I suspect the code has got old because:

term% cd /sys/src/9/pc
term% g pcibussize
devpccard.c:798:        pcibussize(cb->pci->bridge, &memlen,  
&iolen);   /* TO DO: need initial alignments */
devpccard.c:828: //     pcibussize(cb->pci->bridge, &membase,  
&iobase); /* now assign them */
fns.h:103: void pcibussize(Pcidev*, ulong*, ulong*);
pci.c:765: pcibussize(Pcidev *root, ulong *msize, ulong *iosize)
pci.c:883:              pcibussize(pciroot, &mema, &ioa);
term% ls -l pci.c
--rw-rw-r-- M 8 sys sys 26986 Oct 17 13:48 pci.c
term%

that is, current devpccard.c has pcibussize that is defined in pci.c
on the other hand, pci.c in parallels.tgz does not has the function.

term% pwd
/usr/arisawa/adm/sys/mbook/parallels
term% g pcibussize
term% ls -l pci.c
--rw-r--r-- M 8 arisawa arisawa 29053 Jun 12 03:47 pci.c
term%

The history of devpccard.c is as follows:

term% cd /sys/src/9/pc
term% history devpccard.c
Jul 19 04:20:55 JST 2006 devpccard.c 39299 [arisawa]
Apr 29 22:45:35 JST 2006 /n/dump/2006/1021/sys/src/9/pc/devpccard.c  
40443 [arisawa]

pcibussize is added on this month.

term% g pcibussize devpccard.c /n/dump/2006/1021/sys/src/9/pc/ 
devpccard.c
devpccard.c:798:        pcibussize(cb->pci->bridge, &memlen,  
&iolen);   /* TO DO: need initial alignments */
devpccard.c:828: //     pcibussize(cb->pci->bridge, &membase,  
&iobase); /* now assign them */
term%

I believe Parallels on MacBook is sufficiently fast for Plan 9,
because Win2000 runs comfortably.

I am grad if someone has fixed problem.


Kenji Arisawa



  parent reply	other threads:[~2006-10-22 12:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 12:04 [9fans] New Parallels beta won't boot James Chapman
2006-08-16 12:17 ` David Leimbach
2006-08-16 20:40   ` James Chapman
2006-08-17  3:45     ` David Leimbach
2006-08-17  3:53       ` andrey mirtchovski
2006-10-22 12:29       ` arisawa [this message]
2006-10-23 11:32         ` [9fans] Plan 9 on Parallels for Mac Ignacio Torres Masdeu
2006-10-23 11:38           ` Ignacio Torres Masdeu

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=B7F29E53-1B87-43BB-A427-52F6327DC126@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --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).