Discussion:
[Pearpc-devel] Runtime issues PearPC pre 5
Michael Reeves
2006-07-26 02:42:05 UTC
Permalink
First off I down loaded a fresh code base from the CVS main brach. My
host OS is 10.4.7 on a real PPC machine which can not boot old
versions of os X. I had an older machine and kept the disks around
after upgrading. So I decide how fast Pearpc could run this. The
first thing i noticed after building is that the keycode map for X11
to ADB is totally messed up for my system. After some spending a hour
systematically pushing each key to find its correct key code I manged
to fix this. I then ran into trouble getting the fallowing after
trying to boot to an os 10.2 disk image: "error dumping bootfile"
The error occures after the boot partition is selected. I traced the
error the following lines of code in prom_load_bootfile

try {
LocalFile lf("bootfile.dump", IOAM_WRITE, FOM_CREATE);
f->seek(0);
f->copyAllTo(&lf);
}
catch (...)
{
printf("error dumping bootfile\n");
}

I added some debugging lines in hopes of sending some light on the
matter the resulting output is

start copy
CDROMDeviceFile::promSeek
posix sys_fseek. seekmode = 1, newofs = 0
errno = 0, r=0
I/O error: Function not implemented

The fourth line is printed within sys_fseek imminently after calling
fseeko. The only system io routine involed. Adding the the confusion
sys_fseek is called seven times prior to this in an identical manor
yet it succeeds. Any ideas.
Michael Reeves
2006-07-28 13:07:10 UTC
Permalink
This problem was link to using a uncompressed .dmg style image. If
you have this issue try replacing your ISO image with a fresh copy.
Loading...