PearPC on VMWare fusion.

[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.

Moderators: Cat_7, Ronald P. Regensburg

Locked
rpatters1
Tinkerer
Posts: 52
Joined: Sun Jul 27, 2008 3:24 pm

PearPC on VMWare fusion.

Post by rpatters1 »

Is anyone hosting pearpc on a fusion virtual windows? Is it usable this way? This seems like the best option I have for getting a ppc 10.4 virtual running. My native os is OS X 10.9 but I have win 7 running in fusion.
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC on VMWare fusion.

Post by adespoton »

I'm not doing this, but it should be perfectly usable. Instead I use WineSkin Winery to package it up -- that's the easiest solution I've found, and has always "just worked" for me. I've got OS X 10.1 through 10.4 running that way (although some OSes required 0.4 and some required 0.5 to function dependably).
rpatters1
Tinkerer
Posts: 52
Joined: Sun Jul 27, 2008 3:24 pm

Re: PearPC on VMWare fusion.

Post by rpatters1 »

I went ahead and started the install process on Fusion, but when I got to downloading the PearPC VirtualBox Gui, McAfee started squawking, claiming the file contains a trojan. I can go fish the installer out of quarantine, but I thought it would be prudent to ask here first if that is wise.
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC on VMWare fusion.

Post by adespoton »

I've never used the GUI -- I tried setting it up under WineSkin, and found multiple issues. But then, I find it's easier just to save my config once inside the wrapper and double click the bundle to launch the process -- no need for the GUI.
User avatar
ClockWise
Site Admin
Posts: 4399
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC on VMWare fusion.

Post by ClockWise »

Virus scanners don't like the virtualbox gui because it contains a compressed disk image. They don't like tiny archived files that expand into really large files. It's referred to as an "archive bomb." You can ignore McAfee's warnings.
rpatters1
Tinkerer
Posts: 52
Joined: Sun Jul 27, 2008 3:24 pm

Re: PearPC on VMWare fusion.

Post by rpatters1 »

I found another thread about how to set up PearPC under WineSkin, and it indeed sounds like a good option. One comment from Cat_7 in that thread is that the WineSkin version has no net access. I probably should just try before asking, but to save myself a wasted effort, I'll prevail upon this list with a question.

I was thinking I would communicate with host OSX 10.9 by means of a network share. If networking doesn't work, how does the WineSkin-encapsulated OS communicate with the outside world?
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC on VMWare fusion.

Post by adespoton »

Ah; yes -- we weren't able to get the OpenVPN solution working in WineSkin. How I communicate with the outside world is via disk image -- mount it in PearPC, and then mount it on the host once I've shut down. But VMWare or VirtualBox might be a better solution if you need real-time networking.
rpatters1
Tinkerer
Posts: 52
Joined: Sun Jul 27, 2008 3:24 pm

Re: PearPC on VMWare fusion.

Post by rpatters1 »

I am getting to the same result whether I use Fusion or use WineSkin. When PearPC starts and begins the OSX install boot process, the attached image is what happens.

I am using a CD image I made (using Disk Utility) of the retail OSX Tiger disc that I own.

Crash Report

Logs:

LastRunX11.log

WineskinX11: main(): argc=12
Waiting for startup parameters via Mach IPC.
WineskinX11: do_start_x11_server(): argc=12
Attempting to use pixel depth of 24
[2726762.133] WineskinX11 starting:
[2726762.133] X.Org X Server 1.13.0
[2726762.133] Build Date: 20120921
[2726762.133] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[2726762.136] Initializing built-in extension Generic Event Extension
[2726762.136] Initializing built-in extension SHAPE
[2726762.136] Initializing built-in extension MIT-SHM
[2726762.136] Initializing built-in extension XInputExtension
[2726762.136] Initializing built-in extension XTEST
[2726762.136] Initializing built-in extension BIG-REQUESTS
[2726762.136] Initializing built-in extension SYNC
[2726762.136] Initializing built-in extension XKEYBOARD
[2726762.136] Initializing built-in extension XC-MISC
[2726762.136] Initializing built-in extension XINERAMA
[2726762.136] Initializing built-in extension PseudoramiX
[2726762.136] Initializing built-in extension XFIXES
[2726762.136] Initializing built-in extension RENDER
[2726762.136] Initializing built-in extension RANDR
[2726762.136] Initializing built-in extension DAMAGE
[2726762.136] Initializing built-in extension MIT-SCREEN-SAVER
[2726762.136] Initializing built-in extension DOUBLE-BUFFER
[2726762.136] Initializing built-in extension RECORD
[2726762.136] Initializing built-in extension X-Resource
[2726762.136] Initializing built-in extension XVideo
[2726762.136] Initializing built-in extension XVideo-MotionCompensation
[2726762.136] Initializing built-in extension GLX
[2726762.136] x: 1680, y: 22, w: 1920, h: 1178
[2726762.136] x: 3600, y: 0, w: 1024, h: 1280
[2726762.136] x: 0, y: 0, w: 1680, h: 1050
[2726762.147] (II) GLX: Initialized Core OpenGL GL provider for screen 0
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/75dpi, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/100dpi, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/cyrillic, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/misc, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/OTF, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/Speedo, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/TTF, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/Type1, removing from list!
[2726762.147] [dix] Could not init font path element /opt/X11/share/fonts/util, removing from list!
[2726762.221] noPseudoramiXExtension=0, pseudoramiXNumScreens=3
Engine Used: WS9Wine1.7.36
Hardware:

Hardware Overview:

Model Name: Mac Pro
Model Identifier: MacPro6,1
Processor Name: Quad-Core Intel Xeon E5
Processor Speed: 3.7 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 10 MB
Memory: 32 GB
Boot ROM Version: MP61.0116.B04
SMC Version (system): 2.20f18
Illumination Version: 1.4a6

Graphics/Displays:

AMD FirePro D500:

Chipset Model: AMD FirePro D500
Type: GPU
Bus: PCIe
Slot: Slot-1
PCIe Lane Width: x16
VRAM (Total): 3072 MB
Vendor: ATI (0x1002)
Device ID: 0x679e
Revision ID: 0x0000
ROM Revision: 113-C3861J-687
gMux Version: 4.0.11 [3.2.8]
EFI Driver Version: 01.00.687

AMD FirePro D500:

Chipset Model: AMD FirePro D500
Type: GPU
Bus: PCIe
Slot: Slot-2
PCIe Lane Width: x16
VRAM (Total): 3072 MB
Vendor: ATI (0x1002)
Device ID: 0x679e
Revision ID: 0x0000
ROM Revision: 113-C3861J-687
gMux Version: 4.0.11 [3.2.8]
EFI Driver Version: 01.00.687
Displays:
SDM-X82:
Resolution: 1024 x 1280
Pixel Depth: 32-Bit Color (ARGB8888)
Display Serial Number: 4252090
Mirror: Off
Online: Yes
Rotation: 270
Acer X223W:
Resolution: 1680 x 1050 @ 60 Hz
Pixel Depth: 32-Bit Color (ARGB8888)
Display Serial Number: LDX0D0118512
Mirror: Off
Online: Yes
Rotation: Supported
Cinema HD:
Display Type: LCD
Resolution: 1920 x 1200
Pixel Depth: 32-Bit Color (ARGB8888)
Display Serial Number: 2A72241AXMN
Main Display: Yes
Mirror: Off
Online: Yes
Rotation: Supported
Adapter Type: Apple Mini DisplayPort To Dual-Link DVI Adapter
Adapter Firmware Version: 1.03

LastRunWine.log

err:font:AddFaceToList Ignoring L"Avenir Next Condensed Ultra Light" because name is too long
err:font:AddFaceToList Ignoring L"Avenir Next Condensed Ultra Light" because name is too long
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA

GenuineIntel
CMOV MMX SSE SSE2 SSE3
[CPU/MMU] new pagetable: sdr1 = 0x00300003
[CPU/MMU] new pagetable: sdr1 accepted
[CPU/MMU] number of pages: 2^15 pagetable_start: 0x00300000 size: 2^18
start: 512
start: 134250496
getStartBlock: 0 Apple_HFS
getStartBlock: 1 Apple_HFS
getStartBlock: 2 Apple_HFS
getStartBlock: 3 Apple_HFS
start: 32768
getStartBlock: 0 Apple_Free
getStartBlock: 1 Apple_Free
getStartBlock: 2 Apple_Free
getStartBlock: 3 Apple_Free
start: 2147450880
getStartBlock: 0 Apple_Free
getStartBlock: 1 Apple_Free
getStartBlock: 2 Apple_Free
getStartBlock: 3 Apple_Free
start: 0
Loading XCOFF...
[CPU/CPU] execution started at 05600adc
[CPU/MMU] new pagetable: sdr1 = 0x07f80007
[CPU/MMU] new pagetable: sdr1 accepted
[CPU/MMU] number of pages: 2^16 pagetable_start: 0x07f80000 size: 2^19
[IO/CUDA] <Warning> keyb reg1
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
[IO/CUDA] <Warning> Event processing timed out. Event dropped.
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC on VMWare fusion.

Post by adespoton »

I know I've seen this exact issue before, but haven't installed from scratch in almost 6 years.

Try writing your disk image to one of the 6 gb PearPC image files floating around; this could be due to the finicky sector size issues PearPC has. I can't remember whether that was the solution to THIS problem, but I know you'll likely run into it eventually -- there are only a limited number of disk image sizes that PearPC can handle properly.
rpatters1
Tinkerer
Posts: 52
Joined: Sun Jul 27, 2008 3:24 pm

Re: PearPC on VMWare fusion.

Post by rpatters1 »

I started out with 6gb image on the Win setup site here. Then I tried the two images that come in the VisualBox GUi distro. Those two show the OSX logo for awhile before it changes to a circle with a slash. I've fiddled with the screen resolution and the memory size to no avail.

If you happen to be able to tell which disk image you started with for OSX 10.4, that might be helpful. Thanks.
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC on VMWare fusion.

Post by adespoton »

Here's what I've got for 10.4:
WineSkin wrapper, with startppc.bat script in c:\pearpc\
Contents:

Code: Select all

pushd .
ppc.exe ppc.cfg
Here's my ppc.cfg file:

Code: Select all

# This PearPC config file has been generated by a script located on http://guillaumejamet.eu

# Sun, 20 Dec 2009 12:14:59 GMT
# Config reference : http://wiki.pearpc.net/index.php?title=Dissecting_the_PearPC_Configuration_File
# More info about PearPc, forums and community : http://pearpc.net

# _________________________________________Boot parameters
prom_env_machargs = ""
prom_env_bootargs = ""
prom_bootmethod = "auto"

# __________________________________________Hotkeys
key_compose_dialog = "F11"
key_change_cd_0 = "F10"
key_toggle_mouse_grab = "F12"
key_toggle_full_screen = "Alt+Return"

# __________________________________________ Video
prom_driver_graphic = "video.x"
ppc_start_full_screen = 0
redraw_interval_msec = 60
ppc_start_resolution = “1280x720x32@60"

# __________________________________________ Disks
#pci_ide0_master_installed = 0
#pci_ide0_master_type = "cdrom"

#  OLD CD IMAGE:   pci_ide0_master_image = "Mac OS X Install Disc 1.iso"

pci_ide0_master_image = "MacOSXUpdCombo10.4.11PPC.cdr"

# __________________________________________ Disks
pci_ide0_slave_installed = 1
pci_ide0_slave_type = "hd"
pci_ide0_slave_image = "macosx_6gb.img"

# __________________________________________ Network
pci_3c90x_installed = 0
pci_3c90x_mac = "de:ad:ca:fe:12:34"
pci_rtl8139_installed = 0
pci_rtl8139_mac = "de:ad:ca:fe:12:35"

# __________________________________________ CPU
cpu_pvr = 0x00088302

# __________________________________________ Memory
nvram_file = "nvram"
page_table_pa = 104857600
memory_size = 0x20000000

# __________________________________________ USB
pci_usb_installed = 1 

You'll probably want to clear your nvram file, as it's likely hopelessly corrupted by now.
The disk image file I'm using is the default 6gb one. video.x is required in the same folder.

I appear to be running the version 0.4 build of pearpc for 10.4 -- not sure if it's the redscorp build, but I don't think so -- it's dated 2005. Readme says "PearPC 0.4 EXPERIMENTAL".

I hope this helps in some way :)
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC on VMWare fusion.

Post by adespoton »

One other thing regarding networking:
http://forums.gentoo.org/viewtopic-t-98 ... art-0.html has a good description of why OpenVPN doesn't work under WINE.

HOWEVER, it points out that there's two parts, one which will run just fine under WINE, and one that won't. But the one that won't (the transport layer) should work just fine under the host.

So... it seems to me that you should be able to attempt to install tun/tap under WINE AFTER you've set it up under OS X, and the interfaces might actually work with some tweaking. Sound possible?
rpatters1
Tinkerer
Posts: 52
Joined: Sun Jul 27, 2008 3:24 pm

Re: PearPC on VMWare fusion.

Post by rpatters1 »

I've tried Pearpc 0.4 (instead of 0.5) and I tried a different boot image that claimed to be 10.4.11. (I think mine is the original retail version.) All produce the same result. I guess I'm throwing in the towel, but I appreciate the help.
Locked