From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 23 Oct 2006 13:32:54 +0200 From: "Ignacio Torres Masdeu" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Plan 9 on Parallels for Mac In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3e1162e60608160517y7f37cf52xeb1ca2987a8e8690@mail.gmail.com> <3e1162e60608162045t5f86fa64k806c254f3726293@mail.gmail.com> Topicbox-Message-UUID: d2716932-ead1-11e9-9d60-3106f5b1d025 I had the same issue for a long time. WFM: Delete the "devpccard" line from the links section in the /sys/src/9/pc/pcf. On 10/22/06, arisawa@ar.aichi-u.ac.jp wrote: > 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 > > -- Ignacio Torres Masdeu