I/O error:permission denied please help

[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
sourabh.jagga
Space Cadet
Posts: 2
Joined: Sat Feb 06, 2010 8:13 pm

I/O error:permission denied please help

Post by sourabh.jagga »

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: 32768
getStartBlock: 0 Apple_Driver43
getStartBlock: 1 Apple_Driver43
getStartBlock: 2 Apple_Driver43
getStartBlock: 3 Apple_Driver43
getStartBlock: 4 Apple_Driver43
getStartBlock: 5 Apple_Driver43
getStartBlock: 6 Apple_Driver43
getStartBlock: 7 Apple_Driver43
getStartBlock: 8 Apple_Driver43
getStartBlock: 9 Apple_Driver43
start: 61440
getStartBlock: 0 Apple_Driver43_CD
getStartBlock: 1 Apple_Driver43_CD
getStartBlock: 2 Apple_Driver43_CD
getStartBlock: 3 Apple_Driver43_CD
getStartBlock: 4 Apple_Driver43_CD
getStartBlock: 5 Apple_Driver43_CD
getStartBlock: 6 Apple_Driver43_CD
getStartBlock: 7 Apple_Driver43_CD
getStartBlock: 8 Apple_Driver43_CD
getStartBlock: 9 Apple_Driver43_CD
start: 0
getStartBlock: 0 Apple_Void
getStartBlock: 1 Apple_Void
getStartBlock: 2 Apple_Void
getStartBlock: 3 Apple_Void
getStartBlock: 4 Apple_Void
getStartBlock: 5 Apple_Void
getStartBlock: 6 Apple_Void
getStartBlock: 7 Apple_Void
getStartBlock: 8 Apple_Void
getStartBlock: 9 Apple_Void
start: 133120
getStartBlock: 0 Apple_Driver_ATAPI
getStartBlock: 1 Apple_Driver_ATAPI
getStartBlock: 2 Apple_Driver_ATAPI
getStartBlock: 3 Apple_Driver_ATAPI
getStartBlock: 4 Apple_Driver_ATAPI
getStartBlock: 5 Apple_Driver_ATAPI
getStartBlock: 6 Apple_Driver_ATAPI
getStartBlock: 7 Apple_Driver_ATAPI
getStartBlock: 8 Apple_Driver_ATAPI
getStartBlock: 9 Apple_Driver_ATAPI
start: 161792
getStartBlock: 0 Apple_Driver_ATAPI
getStartBlock: 1 Apple_Driver_ATAPI
getStartBlock: 2 Apple_Driver_ATAPI
getStartBlock: 3 Apple_Driver_ATAPI
getStartBlock: 4 Apple_Driver_ATAPI
getStartBlock: 5 Apple_Driver_ATAPI
getStartBlock: 6 Apple_Driver_ATAPI
getStartBlock: 7 Apple_Driver_ATAPI
getStartBlock: 8 Apple_Driver_ATAPI
getStartBlock: 9 Apple_Driver_ATAPI
start: 233472
getStartBlock: 0 Apple_Patches
getStartBlock: 1 Apple_Patches
getStartBlock: 2 Apple_Patches
getStartBlock: 3 Apple_Patches
getStartBlock: 4 Apple_Patches
getStartBlock: 5 Apple_Patches
getStartBlock: 6 Apple_Patches
getStartBlock: 7 Apple_Patches
getStartBlock: 8 Apple_Patches
getStartBlock: 9 Apple_Patches
start: 0
getStartBlock: 0 Apple_Void
getStartBlock: 1 Apple_Void
getStartBlock: 2 Apple_Void
getStartBlock: 3 Apple_Void
getStartBlock: 4 Apple_Void
getStartBlock: 5 Apple_Void
getStartBlock: 6 Apple_Void
getStartBlock: 7 Apple_Void
getStartBlock: 8 Apple_Void
getStartBlock: 9 Apple_Void
start: 864256
getStartBlock: 0 Apple_HFS
getStartBlock: 1 Apple_HFS
getStartBlock: 2 Apple_HFS
getStartBlock: 3 Apple_HFS
getStartBlock: 4 Apple_HFS
getStartBlock: 5 Apple_HFS
getStartBlock: 6 Apple_HFS
getStartBlock: 7 Apple_HFS
getStartBlock: 8 Apple_HFS
getStartBlock: 9 Apple_HFS
start: 678424576
getStartBlock: 0 Apple_Free
getStartBlock: 1 Apple_Free
getStartBlock: 2 Apple_Free
getStartBlock: 3 Apple_Free
getStartBlock: 4 Apple_Free
getStartBlock: 5 Apple_Free
getStartBlock: 6 Apple_Free
getStartBlock: 7 Apple_Free
getStartBlock: 8 Apple_Free
getStartBlock: 9 Apple_Free
main() caught exception: I/O error: Permission denied
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

Could you post the contents of your config file so we can examine for problems?
sourabh.jagga
Space Cadet
Posts: 2
Joined: Sat Feb 06, 2010 8:13 pm

Post by sourabh.jagga »

## 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", prom will load and boot the local file prom_loadfile
##

prom_bootmethod = "auto"

## Example of how to use "force":

#prom_bootmethod = "force"
#prom_loadfile = "C:\Users\Sourabh\Documents\Downloads\Compressed\Mac OS X Install Disc 1.iso"
#prom_env_bootpath = "C:\Users\Sourabh\Documents\Downloads\Compressed\macos\macos.img"

##
## 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 = "-v"

##
## 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 0x000c0201 to enable G4 emulation
## Only change if you know want you are doing
##

#cpu_pvr = 0x00088302
#cpu_pvr = 0x000c0201


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

#memory_size= 0x80000000

##
## 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 = "C:\Users\Sourabh\Documents\Downloads\Compressed\Mac OS X Install Disc 1.iso"
pci_ide0_master_type = "hd"

pci_ide0_slave_installed = 0
#pci_ide0_slave_image = "e:\"
#pci_ide0_slave_image = "2,0,0"
pci_ide0_slave_image = "/dev/cdrom"
pci_ide0_slave_type = "cdrom"

##
## 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"
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

I think that you might want to indicate as the slave image the hard file that you are installing OS X onto. You've got that part commented out right now.
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

If the problem persists, you could try re-creating the config file via this page:

http://guillaumejamet.eu/index.php?rub= ... pc_cfg.php

That's the advice I always give. You would then launch from the command line.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Please disregard if I am wrong, I have no experience with PearPC. But it seems you are trying to use a Intel version of MacOSX, possibly a version intended to run on a Intel Mac or a version hacked to run on a PC. PearPC is a PowerPC emulator and you can only run MacOSX 1.3 or (limited) 10.4. You cannot use 10.4 for Intel and not 10.5 (Leopard) or later.
Locked