Huh?

[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
fry2006
Space Cadet
Posts: 9
Joined: Thu Nov 10, 2005 5:11 am

Huh?

Post by fry2006 »

I've gotten to finally booting OS X Panther, and it gets to the grey Apple logo, the wheel spins for a bit then changes to a do not enter sign. My config file:

Code: Select all

## PearPC.net Wiki - wiki.pearpc.net

## PearPC Configuration File

##

## Start Resolution

##

## (clients that use video.x can change the resolution at runtime,

## so this would be used only for starting up)

##

## format: "(width)x(height)x(depth)"

## or "(width)x(height)x(depth)@(frequency)"

##

## depth can only be 15 or 32

##

## default: "1024x768x15"

##

#ppc_start_resolution= "1024x768x15"

##

## If PearPC is going slow, remove the hash and increase the value. If it feels choppy, remove the hash and decrease

## the value.

#redraw_interval_msec = 40

## Key codes. to change, remove the hash in front of the lines and change the keycode.

#key_compose_dialog = "F11"

#key_change_cd_0 = "none"

#key_toggle_mouse_grab = "F12"

#key_toggle_full_screen = "Alt+Return"

##

## Boot method

## this can be

## 1. "auto", prom will boot the first bootable partition found (default)

## 2. "select", prom will show you a list of bootable partitions

## 3. "force", prom will load and boot the local file prom_loadfile, only if you boot

## Linux in PearPC after you have installed it.

##

prom_bootmethod = "select"

##

## bootargs: don't change unless you know what you are doing

## machargs: set to "-v" to get a verbose startup. this will

## often fail in Mac OS X 10.2, 10.3 and 10.4.

##

#prom_env_bootargs = ""

prom_env_machargs = ""

##

## This is needed if you want to boot Mac OS X

##

prom_driver_graphic = "video.x"

## This will adjust the position of the initial page table (don't change)

#page_table_pa = 104857600

##

## CPU Config

## Defaults to 0x00088302

## DO NOT change this value unless you are using PearPC 0.4pre!

## 0x00088302 = G3/Standard

## 0x000c0000 = G4/Altivec

##

#cpu_pvr = 0x00088302

##

## Main memory (default 128 MiB)

## must be >= 64 MiB

##

#memory_size=0x8000000

## Drive type will be set according to file extension:

## .img: Harddisk

## .iso: CD-Rom

## Valid drive types are:

## hd: A hdd image should be specified

## e.g. "test/imgs/linux.img"

## cdrom: A cdrom image should be specified

## For Linux or BeOS a cdrom device can be specified as well

## e.g. "/dev/cdrom"

## nativecdrom: The drive (capital) letter of your cdrom device should be

## specified on Microsoft Windows systems e.g. "D:\"

pci_ide0_master_installed = 1

pci_ide0_master_image = "F:\PPC\macosx_6gb.img" ## Path to your HD image file

#pci_ide0_master_type = "hd" ## Should ALWAYS be left commented out.

pci_ide0_slave_installed = 1

pci_ide0_slave_image = "F:\PPC\osx3.iso" ## Path to your Mac OS X/PowerPC Linux CD-ROM Image

pci_ide0_slave_type = "cdrom" ## Don't comment this out. Should always be "cdrom".

##

## Network

##

pci_3c90x_installed = 0 # For use in Windows. Set value to "1" to activate networking.

pci_3c90x_mac = "de:ad:ca:fe:12:34"

pci_rtl8139_installed = 0 # For use in Linux. Set value to "1" to activate networking.

pci_rtl8139_mac = "de:ad:ca:fe:12:35"

##

## USB

##

pci_usb_installed = 1 ## Fake USB. Should always be activated.

##

## NVRAM

##

nvram_file = "nvram" ## Path to the "nvram" file. Shouldn't be changed. 
[/code]
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

It looks like you could have a problem with the hard disk image you are using.

You could try another one from the pearpc.net site.

What does the pearpc window show you, when you have to select the boot partition on the cd?

Cat_7
fry2006
Space Cadet
Posts: 9
Joined: Thu Nov 10, 2005 5:11 am

Post by fry2006 »

It shows 2 options: show unbootable, partition2 of cdrom0, and the hd. I downloaded the HD from pearpc.net too.
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

fry2006
Space Cadet
Posts: 9
Joined: Thu Nov 10, 2005 5:11 am

Post by fry2006 »

OK, I'm extracting it now. I'll see if it works now.
fry2006
Space Cadet
Posts: 9
Joined: Thu Nov 10, 2005 5:11 am

Post by fry2006 »

No, still doesn't work. The disk isn't even bootable anymore.
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

OK, my last attempt before going to sleep.....

you could try to change the next lines in your config file:

#prom_env_bootargs = ""
to
prom_env_bootargs = ""

and
#pci_ide0_master_type = "hd" ## Should ALWAYS be left commented out.
to
pci_ide0_master_type = ""

If OSX starts, you should use disk utility to partition the disk, and restart pearpc afterwards.

Best of luck!

cat_7
fry2006
Space Cadet
Posts: 9
Joined: Thu Nov 10, 2005 5:11 am

Post by fry2006 »

It doesn't. Just stays at the sign. Here's a pic of it (click to enlarge)
Image

Hope you can help more once you come back.
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi again,

Some other things to try and think about

1. download the latest PearPC build from:
http://richardgoodwin.com/pearpc/downlo ... ightly.zip

or this one (use only ppc.exe from it)http://prasys.skidsoftware.com/pearp01.zip

2. Make a new config file. (I will paste one you can use below)

If that does not work,

3. Re-rip the Mac OSX iso, or use the cd natively. (I will explain in the config file example below. This is my main suspect for failure now ;-)

4. Are you running 64-bit windows? I have had no luck running pearpc on that....


Config file starts here: just copy content to a new, empty, ppccfg.example
I entered the info you gave in the post. Please check for the correct name of hard disk image etc.


## PearPC Configuration File

##
## Start Resolution
##
## (clients that use video.x can change the resolution at runtime,
## so this would be used only for starting up)
##
## format: "(width)x(height)x(depth)"
## or "(width)x(height)x(depth)@(frequency)"
##
## depth can only be 15 or 32
##
## default: "800x600x15"
##

ppc_start_resolution = "800x600x15"

##
## Set this to non-zero for turning on fullscreen mode on startup.
##

ppc_start_full_screen = 0

##
## Redraw interval (in ms)
## must be between 10 and 500
##
## If you set this higher, PearPC will spend less time doing redraws
## (and so run faster) but feel less responsive. You should adjust
## this to your computer speed and personal preference.
##

redraw_interval_msec = 40

##
## Key codes
##

key_compose_dialog = "F11"
key_change_cd_0 = "none"
key_toggle_mouse_grab = "F12"
key_toggle_full_screen = "Alt+Return"


##
## Loader
##

##
## Boot method
## this can be
## 1. "auto", prom will boot the first bootable partition found (default)
## 2. "select", prom will show you a list of bootable partitions
## 3. "force" [ADVANCED USERS ONLY], prom will load and boot the
## local file prom_loadfile
##

prom_bootmethod = "select"

## Example of how to use "force":

#prom_bootmethod = "force"
#prom_loadfile = "test/yaboot"
#prom_env_bootpath = "disk"

##
## bootargs: don't change unless you know what you are doing
## machargs: set to "-v" to get a verbose startup
##

#prom_env_bootargs = ""
prom_env_machargs = ""

##
## This is needed if you want to boot Mac OS X
##
prom_driver_graphic = "video.x"

## This will adjust the position of the initial page table (don't change)

#page_table_pa = 104857600

##
## CPU Config
##
## Processor Version Register
## Defaults to 0x00088302 (G3)
## Set to 0x000c0000 to enable G4 emulation
## Only change if you know want you are doing
##

cpu_pvr = 0x00088302
#cpu_pvr = 0x000c0000


##
## Main memory (default 128 MiB)
## must be >= 64 MiB
##

#memory_size=0x8000000

##
## IO Devices
##

##
## PCI IDE Config
##
## Drive type will be set according to file extension:
## .img: Harddisk (filesize must be multiple of 516096)
## .iso: CD-Rom
## Or you can override this by specifying the type via
## pci_ide0_master_type / pci_ide0_slave_type
##
## Valid drive types are:
## hd: A hdd image should be specified
## e.g. "test/imgs/linux.img"
## cdrom: A cdrom image should be specified
## For Linux or BeOS a cdrom device can be specified as well
## e.g. "/dev/cdrom"
## nativecdrom: Platform dependant
## Win (SPTI): drive letter, e.g. "d:\"
## Win (ASPI): SCSI host adapter,target,lun e.g. "2,0,1"
## BeOS (ATAPI): device path, e.g. "/dev/disk/ide/atapi/0/master/0/raw"

pci_ide0_master_installed = 1
pci_ide0_master_image = "F:\PPC\macosx_6gb.img"
#pci_ide0_master_type = "hd"

pci_ide0_slave_installed = 1
pci_ide0_slave_image = "F:\PPC\osx3.iso" # comment this line when using real cd drive
pci_ide0_slave_type = "cdrom" # comment this line when using real cd drive

#alternatively, to use your real cd drive, uncomment the next lines
#pci_ide0_slave_image = "CD-drive letter:\" #and enter your cd drive letter between the quotes, like "G:\"
#pci_ide0_slave_type = "nativecdrom"

##
## Network
##
## Choose one of the cards

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"

##
## USB
##
pci_usb_installed = 1

##
## NVRAM
##
nvram_file = "nvram"

#ppccfg.config file ends here.
fry2006
Space Cadet
Posts: 9
Joined: Thu Nov 10, 2005 5:11 am

Post by fry2006 »

IT WORKS! But it runs like real slow. Any way to speed it up?
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Yes,

Buy a faster computer.... :lol:

No, seriously, PearPC is slow. You can try some of the builds on the page I gave you the link to. I might increase speed a little bit. But be aware, some of these builds require other or additional settings in your config file.

Cat_7
Mac Emu
Forum All-Star
Posts: 1208
Joined: Mon May 20, 2002 11:50 am
Location: Ouraion

Post by Mac Emu »

I'm with Cat_7.

PearPC is slow, which really hurts the enjoyment of using it. Maybe Mac OS X for Intel would run better on a future build of PearPC. :P

Uh, oh. Am I on an Apple watch list for posting that? :lol:
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

If you are, there's comfort in the fact that you are not alone :lol:
Mac Emu
Forum All-Star
Posts: 1208
Joined: Mon May 20, 2002 11:50 am
Location: Ouraion

Post by Mac Emu »

Si. Senor Coates probably made the list very recently. :mrgreen:
Locked