Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

educovas

macrumors regular
Jul 30, 2019
128
413
Curitiba, Brasil
Unless you look only for Quad or 2.7 DP, everything else is regularly available at very low prices, and in the US perhaps often for free. (But shipping may involve insane costs, so it depends.)

Or, given that you are developing for the platform, maybe ask here in a dedicated thread or/and on Reddit if someone in your geographical vicinity may donate a PowerMac?

I live in Brazil, computers selling for low prices are almost impossible to find. PowerPC Macs are kinda rare here now so they are also expensive.
 

barracuda156

macrumors 68000
Sep 3, 2021
1,755
1,283
I've imaged a 10A190 install with the 10.0.0d3 kernel, the same kexts and some other patches I used on 10A222 in case someone wants to see if the kernel/kexts or one of those patches are the reason 10A222 won't boot on G5 or the other G4 machines that could't boot it.

Thank you, I will try and let you know.
 
  • Like
Reactions: ChrisCharman

ChrisCharman

macrumors 6502
May 10, 2020
428
595
Bournemouth, UK
I bet it’s the kernel. Why else would it KP on my G5? Get the kernel from 10A190 working, it seems to be the last one to work on G5, or better yet GET A G5!
I understand that you are frustrated that your G5 was unable to boot after you installed @educovas disk image but let me remind you of something called personal responsibility. Nobody in this thread can be or will be held accountable for any damage caused to anybody else’s machines. You chose to download experimental software on your machine and neither @educovas nor anyone else owes you anything, so do not leave comments that are rude, demanding or disrespectful to any user on this thread or indeed this forum. The people taking their free time trying to create things for the community are doing this with goodwill and unless you wish to help or say thank you then i suggest you refrain from comments such as the above. Thank you
 

barracuda156

macrumors 68000
Sep 3, 2021
1,755
1,283
I understand that you are frustrated that your G5 was unable to boot after you installed @educovas disk image but let me remind you of something called personal responsibility. Nobody in this thread can be or will be held accountable for any damage caused to anybody else’s machines. You chose to download experimental software on your machine and neither @educovas nor anyone else owes you anything, so do not leave comments that are rude, demanding or disrespectful to any user on this thread or indeed this forum. The people taking their free time trying to create things for the community are doing this with goodwill and unless you wish to help or say thank you then i suggest you refrain from comments such as the above. Thank you

A fair point. We already have too few people who are both willing and able to do something. Discouraging contribution hurts everyone.
 
  • Like
Reactions: ChrisCharman
I live in Brazil, computers selling for low prices are almost impossible to find. PowerPC Macs are kinda rare here now so they are also expensive.

I’m aware this may be a long shot, but it came to mind nevertheless:

In lieu of trying to find a Power Mac G5 of any revision or processor configuration, it might be worth a patient search for an iMac G5.

Here’s why:

Several iMac G5 models — basically, all but the very last series — met premature failure due to the capacitors in manufacturing circulation at the time these were assembled by Foxconn and others. In essence, this consigned a lot of those iMac G5s as junked prematurely, even in regions where Apple products came at an especial premium.

Fortunately, it is possible to replace those bad capacitors, even if it requires some DIY soldering iron work (and if one is willing to do that).

Should one of those non-working iMac G5s turn up, it may afford you a fairly inexpensive means to get your hands on a G5-architecutre unit for which you can repair the capacitors. They were, in general, more plentiful everywhere over Power Mac G5s. My first thought would be to check in with local recyclers, but I’ll defer to your knowledge of your local market.
 
  • Like
Reactions: ChrisCharman

educovas

macrumors regular
Jul 30, 2019
128
413
Curitiba, Brasil
I’m aware this may be a long shot, but it came to mind nevertheless:

In lieu of trying to find a Power Mac G5 of any revision or processor configuration, it might be worth a patient search for an iMac G5.

Here’s why:

Several iMac G5 models — basically, all but the very last series — met premature failure due to the capacitors in manufacturing circulation at the time these were assembled by Foxconn and others. In essence, this consigned a lot of those iMac G5s as junked prematurely, even in regions where Apple products came at an especial premium.

Fortunately, it is possible to replace those bad capacitors, even if it requires some DIY soldering iron work (and if one is willing to do that).

Should one of those non-working iMac G5s turn up, it may afford you a fairly inexpensive means to get your hands on a G5-architecutre unit for which you can repair the capacitors. They were, in general, more plentiful everywhere over Power Mac G5s. My first thought would be to check in with local recyclers, but I’ll defer to your knowledge of your local market.
I wouldn't be able to afford even a faulty machine lol
 
  • Like
Reactions: ChrisCharman

barracuda156

macrumors 68000
Sep 3, 2021
1,755
1,283
Yes, but aren’t you in, like, Russia?

Russia was never particularly cheap for Apple hardware even in normal times. Though I am pretty sure you could get a used PowerMac for free there, if you are a developer. Community was helpful and perhaps still is.

To the matter: with PowerMacs the key thing is local availability, since shipping makes buying abroad rather meaningless regardless of prices. Unfortunately, local availability tends to be scarce in places, where Apple had little to no presence back then in early 2000s. Anything very scarce and still valued, even by a very few, won’t be cheap.
 

ChrisCharman

macrumors 6502
May 10, 2020
428
595
Bournemouth, UK
IMG_1036.jpeg
IMG_1037.jpeg
IMG_1041.jpeg

Hi all, so i can now confirm that replacing the 10A222 kernel with the 10A222 DEBUG kernel allows the OS to boot on my previously unsupported system, and on the PowerBook G4 that successfully booted @educovas originally modified disk image. My guess would be that this may also work on G5 but I cannot test currently. My suspicion, as the debug kernel contains all the symbol files not found in the consumer kernel, is that there’s something missing from the system kext or missing symbols that are available in this version. If anyone would like to test at their own risk and discretion, the 10A222 debug kernel was shared and uploaded previously by myself in this thread and also with all other found builds and prepared disk images and debug kits uploaded to the Macintosh Repository Here
 
Last edited:
  • Like
Reactions: B S Magnet

educovas

macrumors regular
Jul 30, 2019
128
413
Curitiba, Brasil
Hi all, so i can now confirm that replacing the 10A222 kernel with the 10A222 DEBUG kernel allows the OS to boot on my previously unsupported system. My guess would be that this may also work on G5 but I cannot test currently. My suspicion, as the debug kernel contains all the symbol files not found in the consumer kernel, is that there’s something missing from the system kext or missing symbols that are available in this version. If anyone would like to test at their own risk and discretion, the 10A222 debug kernel was shared and uploaded previously by myself.
I guess your problem with the release kernel was that I got all kexts from 10A190 so maybe one of the kexts wasn't loading due to missing symbols from the kernel and the debug kernel does have those like you said. Maybe you could figure out which kext had this problem and see if it's available on 10A222 with ppc code.

Good to see that it finally works for you and that QE/CI also works!
 
  • Like
Reactions: ChrisCharman

ChrisCharman

macrumors 6502
May 10, 2020
428
595
Bournemouth, UK
I guess your problem with the release kernel was that I got all kexts from 10A190 so maybe one of the kexts wasn't loading due to missing symbols from the kernel and the debug kernel does have those like you said. Maybe you could figure out which kext had this problem and see if it's available on 10A222 with ppc code.

Good to see that it finally works for you and that QE/CI also works!
Did you copy the system kext from 10A190 as well? I believe the default debug kernel install only replaces the system kext, though there are debug kexts included in the .dmg as well if required. The debug kernel is not optimised, so it will be slower, this means that rather than ‘remove’ PowerPC support from 10.6 Apple may have just optimised it away which is why some PowerPC support remains. If the debug kernels, so far, are able to boot unoptimised on different hardware then it’s likely we will be able to compile a release version but optimised for PowerPC down the line, once we figure out what’s missing which is most likely hardware specific support and calls to intel only api’s and kexts that we may need to patch and/or rewrite and recompile.
 

educovas

macrumors regular
Jul 30, 2019
128
413
Curitiba, Brasil
Did you copy the system kext from 10A190 as well? I believe the default debug kernel install only replaces the system kext, though there are debug kexts included in the .dmg as well if required. The debug kernel is not optimised, so it will be slower, this means that rather than ‘remove’ PowerPC support from 10.6 Apple may have just optimised it away which is why some PowerPC support remains. If the debug kernels, so far, are able to boot unoptimised on different hardware then it’s likely we will be able to compile a release version but optimised for PowerPC down the line, once we figure out what’s missing which is most likely hardware specific support and calls to intel only api’s and kexts that we may need to patch and/or rewrite and recompile.
The only kext from 10A222 is the system kext. Eventually I did get some other kexts. Possibly one kext that's used for your hardware and not mine, is having problems to load. This kext might be available for ppc in 10A222 so the solution could be to just use that kext instead of the one from 10A190. I just never tried to use more kexts from 10A222 because it works fine on my hardware.
 
  • Like
Reactions: ChrisCharman

barracuda156

macrumors 68000
Sep 3, 2021
1,755
1,283
Did you copy the system kext from 10A190 as well? I believe the default debug kernel install only replaces the system kext, though there are debug kexts included in the .dmg as well if required. The debug kernel is not optimised, so it will be slower, this means that rather than ‘remove’ PowerPC support from 10.6 Apple may have just optimised it away which is why some PowerPC support remains. If the debug kernels, so far, are able to boot unoptimised on different hardware then it’s likely we will be able to compile a release version but optimised for PowerPC down the line, once we figure out what’s missing which is most likely hardware specific support and calls to intel only api’s and kexts that we may need to patch and/or rewrite and recompile.

How do you swap the kernel to the debug one? If you got a link at hand.
 

educovas

macrumors regular
Jul 30, 2019
128
413
Curitiba, Brasil
Strictly, the G5 does not fully support 32 bit PowerPC code (e.g. ppc7400) - a few instructions or variations of them are missing and the xnu kernel used to emulate those, IIRC. (After all the G5 is a POWER4 cpu and not a PowerPC one.)

I remember that many years ago I rebuilt a 10.6.? kernel for my PowerBook G4 and managed to have it boot to single user - for that purpose I had replaced the kext loading mechanism with the one from 10.5 .
And that 10.6 kernel did not boot on a G5 - it halted with some error message like "unsupported platform".
I do not remember any more details, but rebuilding the kernel was not that hard back then.
Do you happen to remember what you had to replace in order to get a newer kernel to boot on PowerPC?
 
  • Like
Reactions: ChrisCharman

internetzel

macrumors 6502a
Apr 29, 2015
610
784
Do you happen to remember what you had to replace in order to get a newer kernel to boot on PowerPC?
I'll have to search in my backups if I maybe can still find the sources.
Since I didn't have any 10.6 beta available at that time I only had the 10.5 kext tools available (at least I think that was the biggest problem when booting the 10.5 userland from a 10.6 kernel) - so everything related to kxld (I think that was what had fundamentally changed with 10.6) had to be replaced with code from 10.5 .
In the end it had booted into single user mode.
 

educovas

macrumors regular
Jul 30, 2019
128
413
Curitiba, Brasil
@educovas Disk Utility appears to be functional on your build of 10A222, did you replace it? Also which version of Finder is being used?
Most apps in /Applications lost ppc support and I've replaced with 10A190, except DVD Player that's from 10.5.8 because the one in 10A190 seems to be unstable (at least on my machine).

Finder is from 10.5.8, I could have used the one from 10A190 but I had to use 10.5.8 due to some problems with my QE/CI patch.
 

educovas

macrumors regular
Jul 30, 2019
128
413
Curitiba, Brasil
I'll have to search in my backups if I maybe can still find the sources.
Since I didn't have any 10.6 beta available at that time I only had the 10.5 kext tools available (at least I think that was the biggest problem when booting the 10.5 userland from a 10.6 kernel) - so everything related to kxld (I think that was what had fundamentally changed with 10.6) had to be replaced with code from 10.5 .
In the end it had booted into single user mode.
I hope you find that because I have no idea how to fix that lol
 

ChrisCharman

macrumors 6502
May 10, 2020
428
595
Bournemouth, UK
Most apps in /Applications lost ppc support and I've replaced with 10A190, except DVD Player that's from 10.5.8 because the one in 10A190 seems to be unstable (at least on my machine).

Finder is from 10.5.8, I could have used the one from 10A190 but I had to use 10.5.8 due to some problems with my QE/CI patch.
That’s interesting. Disk utility is very buggy in 10A190 but appears to work in your 10A222 build - i imagine it’s something replaced in /usr/bin that’s fixed the errors as the source for the disk management stuff was something i was working through a while back and some binaries were intel only.

How exactly did you manage to swap the Finder? I think this was attempted by at least one other contributor early on in this project to some success but hasn’t been repeated since - i was certainly presented with a non-functional desktop when i tried if memory serves. It’s also interesting that the 10.5.8 Finder is being used because the bug with mounting and ejecting disks still presents itself.
 
  • Like
Reactions: barracuda156
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.