Author Topic: Mac OS 9 booting on: Mac mini G4 (Detailed Posts)  (Read 51970 times)

Offline ry755

  • Member
  • *
  • Posts: 8
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #75 on: October 27, 2017, 09:59:13 PM »
I could also help with testing, but I don't really want to do anything that could possibly brick it. (I don't have the money to buy a new one, I'm just a broke teenager ::))

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #76 on: October 28, 2017, 12:54:47 AM »
Donít worry, this absolutely wonít brick it.

Offline Philgood

  • Gold Member
  • *****
  • Posts: 288
Re: Booting Mac Os 9 on Mac Mini.
« Reply #77 on: October 28, 2017, 09:10:06 AM »
Will this render the OS installation unusable afterwards?
Is there a way to reinstall the original ROM after I did that ?

Actually it depends on the format of the drive.  The drive will need to be formatted with OS 9 drivers, which it probably doesn't so you would have to reformat.
And which original ROM are you asking about? The OS 9 one which will not work at all?

But yes it is not permanent.

You're absolutely right. There is no ROM...my bad. Thanks a lot.
*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #78 on: November 06, 2017, 05:06:38 AM »
Interestingly, QEMU boots quite happily with FIRSTFUNC nopped out completely. But before we try that on the mini, could somebody please please please try that Mac OS ROM file that I recently posted?

Offline tooloudtoowide

  • Member
  • *
  • Posts: 4
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #79 on: December 01, 2017, 05:42:10 AM »
hi, I have next to me MacMini 1.42 with Restore OSX 10.4 and of course Classic enviroment for 9.2.2. 

What will be steps to test/hack it to be able to boot in MacOS9? Anyone got success on MacMini?

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #80 on: December 01, 2017, 07:21:18 AM »
hi, I have next to me MacMini 1.42 with Restore OSX 10.4 and of course Classic enviroment for 9.2.2. 

What will be steps to test/hack it to be able to boot in MacOS9? Anyone got success on MacMini?

Start the mini in target disk mode.  Connect it to a mac that supports OS 9 and boot into that.
Format the mini's disk with the OS 9 drivers.  This will erase everything on the disk.
Do an install of OS 9 with the target being the mini.
Copy ELN's ROM over the existing ROM on the mini.
Reboot the mini.

I assume the ROM posted has the CPU version added and compatible machine check code removed to get it to boot.
If it ain't broke, don't fix it, or break it so you can fix it!

Offline tooloudtoowide

  • Member
  • *
  • Posts: 4
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #81 on: December 01, 2017, 08:34:26 AM »
thx, will do it and will back with results :)

Offline ry755

  • Member
  • *
  • Posts: 8
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #82 on: December 01, 2017, 03:48:59 PM »
hi, I have next to me MacMini 1.42 with Restore OSX 10.4 and of course Classic enviroment for 9.2.2. 

What will be steps to test/hack it to be able to boot in MacOS9? Anyone got success on MacMini?

Start the mini in target disk mode.  Connect it to a mac that supports OS 9 and boot into that.
Format the mini's disk with the OS 9 drivers.  This will erase everything on the disk.
Do an install of OS 9 with the target being the mini.
Copy ELN's ROM over the existing ROM on the mini.
Reboot the mini.

I assume the ROM posted has the CPU version added and compatible machine check code removed to get it to boot.


Wait, is this going to actually boot it? Or is this just a test?

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #83 on: December 01, 2017, 06:24:12 PM »
Itíll freeze, but the log messages Iíve added will tell us where.

Offline ry755

  • Member
  • *
  • Posts: 8
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #84 on: December 02, 2017, 11:42:06 AM »
Itíll freeze, but the log messages Iíve added will tell us where.

Ok, I guess I'll try that too. I'll have to image backup the Mini first because I've got a lot of games and stuff installed.

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #85 on: December 02, 2017, 11:55:49 AM »
Enjoy
If it ain't broke, don't fix it, or break it so you can fix it!

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #86 on: December 02, 2017, 12:05:59 PM »
Also to boot you do need to set the compatible property in open firmware.
If you don't know, I'll put it here so you don't have to go searching.

Hold command option o f during the start up.
When you get to the prompt type the following.

Code: [Select]
dev /
" MacRISC" encode-string " MacRISC2" encode-string encode+ " Power Macintosh" encode-string encode+ " compatible" property
boot
That is all that is needed..
If it ain't broke, don't fix it, or break it so you can fix it!

Offline ry755

  • Member
  • *
  • Posts: 8
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #87 on: December 02, 2017, 12:12:53 PM »
Also to boot you do need to set the compatible property in open firmware.
If you don't know, I'll put it here so you don't have to go searching.

Hold command option o f during the start up.
When you get to the prompt type the following.

Code: [Select]
dev /
" MacRISC" encode-string " MacRISC2" encode-string encode+ " Power Macintosh" encode-string encode+ " compatible" property
boot
That is all that is needed..

Do I need to do this every time I reboot? Or does it save in the NVRAM or something?

Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #88 on: December 02, 2017, 01:07:09 PM »
That particular method of doing it needs to be entered every boot. There are ways of sticking it in the NVRAM.

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #89 on: December 02, 2017, 07:26:57 PM »
Thanks for the test, nanopico. And thanks to the other people who have checked in.

Well, I made a mistake here. The function at the start of the Expansion Bus Manager is not crashing. Actually, the crash happens just after that function returns, when moving the stack.

Code: [Select]
            BSR.L   CompBootStackOld
            MOVE.L  A0,SP
            SUBA.W  #BootStackSize,A0
            _SetApplLimit

This is the second time that StartInit moves the stack and sizes the system heap zone (in earlier ROM versions it was done only once). The CompBootStack function got split into two cases. This is my interpretation of that function:

Code: [Select]
;________________________________________________________________________________________
;
; Routine:  CompBootStack 5fa
;
; Inputs:   none
;
; Outputs:  A0  -   location of stack pointer at boot time
;
; Trashes:  D0
;
; Function: computes the boot time stack pointer = sysZone + (BufPtr-sysZone)/2 - space for QD
;________________________________________________________________________________________

CompBootStack
            btst    #$06,$240B
            beq.s   CompBootStackOld
            move.l  #$007EFFE0,A0                   ; 8 M - 64 K - 32 b
            rts

CompBootStackOld
            move.l  BufPtr,d0                       ; get top useable memory
            move.l  sysZone,a0                      ; get start system heap
            sub.l   a0,d0                           ; get (top useable - sys heap start)
            lsr.l   #1,d0                           ; divide by two
            add.l   a0,d0                           ; get sys heap + (top - sysHeap)/2
            sub.w   #BootGlobalsSize,d0             ; leave room for QuickDraw stuff.
            andi.w  #$FFF0,d0                       ; force it to be even                                   <SM81>
            move.l  d0,a0
            rts

Here are two new ROMs to probe the crash site. The first just spams the NK log. The second does the same, while calling CompBootStack instead of CompBootStackOld. Both of these files have their COMPATIBLE field set properly, so you might find them a bit easier to run. Here is some reference output from QEMU with 1.75 GB RAM:

Code: [Select]
Reset system - Into the 68K fire: 0002d032 6806c9e8
 *68k: BufPtr = 5fffc000
 *68k: sysZone = 00002800
 *68k: About to call CompBootStackOld...
       ...which returned 2ffff000
 *68k: Now moving stack to there (eek)...
       ...which didnt crash.
 *68k: Now calling SetApplLimit...
       ...which returned successfully.
 *68k: Pushing on with InterC_2560 (no more log messages)

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2184
Re: Booting Mac Os 9 on Mac Mini.
« Reply #90 on: December 03, 2017, 06:40:39 AM »
Cool!
Looking for MacOS 9.2.4

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #91 on: December 09, 2017, 06:31:25 PM »
Need testers, guys, or this won't go anywhere. I really think that the mini is going to work!

Offline MacOS Plus

  • Gold Member
  • *****
  • Posts: 418
  • The 9serve Lives!
Re: Booting Mac Os 9 on Mac Mini.
« Reply #92 on: December 09, 2017, 06:54:47 PM »
  It's killing me that I don't have a Mini to help you out with - I'm getting tempted to buy one only for that reason!  It's my hope that anything learned from the Mini project can help with other issues we're having with various other models.  It sucks that if in the end it didn't succeed, I'd be stuck with just a mediocre OS X machine though.

  BTW, do you expect each variant of the G4 Mini to behave equally?  It was unclear to me from what I've read if there were any significant differences other than the speed.  I would prefer to have the fastest model in the series with the larger video DRAM if it doesn't make any other difference.
« Last Edit: December 09, 2017, 07:13:22 PM by MacOS Plus »

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #93 on: December 09, 2017, 09:58:31 PM »
I think that the 1.5 GHz "stealth upgrade" with the extra VRAM is just as likely to work as the other models.

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #94 on: December 14, 2017, 05:15:57 AM »
Tested with both of the ROMs posted above: mini-stack-log-rom.hqx, and mini-stack-patch-rom.hqx

https://imgur.com/a/fX9PE

Sadly, no booting.  But the nanoKernel log output is there.

No useful information was tranferred over the debug telnet socket which I opened just in case.  Both times, this is what was printed out:
Quote
parsing <CHRP-BOOT>

evaluating <BOOT-SCRIPT>

Loading ELF
AAPL,debug bit settings (-OR- bits together):
       1   = Print general informative messages.
       2   = Print formatted Mac OS tables (except config/universal info).
       4   = Print formatted config info table.
       8   = Dump Mac OS tables (except config/universal info).
      10   = Print node names while copying the device tree.
      20   = Print property info while copying the device tree.
      40   = Print interrupt-related info.
      80   = Print interrupt tree traversal info.
     100   = Print address resolution info.
     200   = Print NV-RAM info.
     400   = Print Mac OS "universal" info.
     800   = Print "special" node info.
    1000   = Load EtherPrintf utility via parcel for post FCode debugging.
    2000   = Print BOOTP/DHCP/BSDP information.
    4000   = Allocate writable ROM aperture.
    8000   = Mark Toolbox image as non-cacheable.
   10000   = Print parcel info while copying the device tree.
   20000   = Print information on device tree data checksums.
 1000000   = Enable the Nanokernel debugger.
 2000000 * = Display the Nanokernel log during boot.
10000000   = Dont attempt to unhibernate system.
40000000   = Halt after end of FCode (useful if outputting to screen).

« Last Edit: December 14, 2017, 05:27:18 AM by androda »
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #95 on: December 15, 2017, 02:51:52 AM »
Darn. Sorry, Iíve had all sorts of trouble producing a boot script that supports all machines. Nanopico, could you help Androda out?

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #96 on: December 15, 2017, 06:00:15 AM »
Darn. Sorry, Iíve had all sorts of trouble producing a boot script that supports all machines. Nanopico, could you help Androda out?
Sure....

I'm not seeing an issue based on what was posted.

androda are you having any issues booting?
If it ain't broke, don't fix it, or break it so you can fix it!

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #97 on: December 15, 2017, 11:26:44 AM »
I thought the point of running those ROMs was to look at the nanokernel logs.

In both cases, the mini did not boot into OS 9.  It just stopped after printing out those lines to the display. I let it sit for several minutes with no continued booting.

If I've misunderstood something about those ROMs, let me know what I can try next.
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #98 on: December 15, 2017, 07:23:34 PM »
No full boot at the moment.
The image you posted has the output so it was "technically" booting.  BUt crashing hard early on.  This is what we need to get past.
If it ain't broke, don't fix it, or break it so you can fix it!

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2184
Re: Booting Mac Os 9 on Mac Mini.
« Reply #99 on: December 15, 2017, 07:50:58 PM »
nanopico's 666 post!

 ;D

The number of the beast!

https://www.youtube.com/watch?v=LfrENoTJdo4
Looking for MacOS 9.2.4

Offline Fury deBongo

  • Vault Members
  • Gold Member
  • ***
  • Posts: 373
  • And then...
Re: Booting Mac Os 9 on Mac Mini.
« Reply #100 on: December 15, 2017, 10:40:05 PM »
This Must Be The Place / RH-SC Resident Hoarder - Studious Collector

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #101 on: December 15, 2017, 11:09:30 PM »
Sorry guys, Iíve been vague. Nano, can you tell androda how to change the CPU version and compatible fields? Then the machine will boot to the point of showing a log on screen, like Nanoís previous posts.

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #102 on: December 16, 2017, 06:03:00 AM »
ELN, are these the sequence of commands you're talking about?

I tried both of these settings:
Code: [Select]
" MacRISC" encode-string " MacRISC2" encode-string encode+ " Power Macintosh" encode-string encode+ " compatible" property

Code: [Select]
" PowerMac 10,1" encode-string " MacRISC3" encode-string encode+ " MacRISC" encode-string encode+ " Power Macintosh" encode-string encode+ " compatibility" property

Notably, these use different names for the property.  One of them uses " compatible" and other one uses " compatibility".  Which one is correct?

Code: [Select]
dev /
<compatibility property from the above two options>

dev /cpus/PowerPC,G4
80010201 encode-int " cpu-version" property
boot

I ran these commands in Open Firmware

mini-stack-log-rom.hqx : Frozen at the same place as before

mini-stack-patch-rom.hqx : Frozen at the same place as before
« Last Edit: December 16, 2017, 06:19:48 AM by androda »
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #103 on: December 17, 2017, 07:27:37 AM »
ELN, are these the sequence of commands you're talking about?

I tried both of these settings:
Code: [Select]
" MacRISC" encode-string " MacRISC2" encode-string encode+ " Power Macintosh" encode-string encode+ " compatible" property

Code: [Select]
" PowerMac 10,1" encode-string " MacRISC3" encode-string encode+ " MacRISC" encode-string encode+ " Power Macintosh" encode-string encode+ " compatibility" property

Notably, these use different names for the property.  One of them uses " compatible" and other one uses " compatibility".  Which one is correct?

Code: [Select]
dev /
<compatibility property from the above two options>

dev /cpus/PowerPC,G4
80010201 encode-int " cpu-version" property
boot

I ran these commands in Open Firmware

mini-stack-log-rom.hqx : Frozen at the same place as before

mini-stack-patch-rom.hqx : Frozen at the same place as before

compatible is the correct one. When you say it freezes, it's at the same point as what is in your picture? 
If it ain't broke, don't fix it, or break it so you can fix it!

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #104 on: December 17, 2017, 01:52:15 PM »
Yes, frozen after 'Pushing on with InterC_2560 (no more log messages)'
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #105 on: December 17, 2017, 09:11:27 PM »
May we have pictures or both ROMs? I packed in a few useful stack-related log messages.

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #106 on: December 18, 2017, 04:56:53 AM »
This imgur link is where I posted the images of the debug output:

https://imgur.com/a/fX9PE
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #107 on: December 18, 2017, 06:42:01 AM »
Looking for this?

https://github.com/elliotnunn/toolboxtoolbox/wiki/Custom-IC-Chips-Used-in-G3's-and-G4's

Anyone keen to test this ROM build out? It will tell us where the mini is crashing with better resolution than before. I want to know this before I take a deep dive into the Expansion Bus Mgr. Some reference output:

Code: [Select]
Reset system - Into the 68K fire: 0002d032 6806c9e8
 VMAllocateMemory - creating area at 0x69000000 00080000
 CreateArea [ 69000000 6907ffff ] ID 00170001 placed ... created
*68k: EXPANSIONBUSMGRFIRSTFUNC
*68k: InterC_2560
*68k: InterC_2090_PowerMgr

Thanks, Androda. That is actually a mysterious result, considering where NanopicoíS crash occurred. Mind running this one I built a few months ago?

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #108 on: December 18, 2017, 06:45:29 AM »
I haven't gotten to the latest ROM's you built yet.  Come this weekend I am off work for two weeks so I will be able to put a little time into this (and a few other things I think I promised others on here).
If it ain't broke, don't fix it, or break it so you can fix it!

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #109 on: December 19, 2017, 05:57:33 AM »
Tried ELN's 'Detailed mini rom' file from that post, and this is the result on screen:
https://imgur.com/a/dxwqU

Then I realized I hadn't changed the compatible property or opened a telnet debug socket, so I started again and ran these commands in open firmware:
Code: [Select]
dev /
 " MacRISC" encode-string " MacRISC2" encode-string encode+ " Power Macintosh" encode-string encode+ " compatible" property
dev /
1303ffff encode-int " AAPL,debug" property
dev /cpus/PowerPC,G4
80010201 encode-int " cpu-version" property
boot

Changing the debug property to '1303ffff encode-int " AAPL,debug" property' removes the 'stop at end of fcode' (I want the system to keep trying to boot, of course).  Here's the debug output after that:
https://pastebin.com/4AtK1xp9

The imgur link above contains both attempts.  First, without debug properties set, and second with them set.
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline MacOS Plus

  • Gold Member
  • *****
  • Posts: 418
  • The 9serve Lives!
Re: Booting Mac Os 9 on Mac Mini.
« Reply #110 on: December 19, 2017, 09:57:35 AM »
  As with the Xserve, there is a lot of seemingly successful hardware enumeration/initialization going on, but it would appear the sound device is unknown to OS 9:

Code: [Select]
-- Initializing Sound information.
---- No Sound (of some sort) detected!

  I'm not sure from what it's actually hanging on though.  Very interesting to see that whole massive device table all listed out.  What it made it through looks surprisingly error-free.

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #111 on: December 19, 2017, 05:21:05 PM »
Androda, your mini has me feeling quite confused. It flies through all my debug code with nary a care. I will produce another ROM for you to test soon.

I have read through the trampoline log. It is likely that whatever problem we identify in 68k code, there will be corresponding complaints from the trampoline.

Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #112 on: December 20, 2017, 03:39:52 AM »
Perhaps we should patch the 68k emulator to keep saving the instruction address somewhere and have a MPTask that prints the value if it hasn't changed in a while?

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #113 on: December 20, 2017, 10:43:23 AM »
How are you making these changes to the ROM files, ELN? Do you have a development environment set up to make the ROMs? Or are you using some PPC/68k disassembler/re-assembler?
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #114 on: December 20, 2017, 01:44:54 PM »
The ROM files are in several Github repositories. They are built using MPW. ELN builds the custom ROMs by making a branch on the repository and modifying the source code on that branch. There are branches called minitest, minitest2, and minitest3, in addition to the master branch.

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #115 on: December 20, 2017, 06:11:32 PM »
Are they public GitHub repos? I'd like to take a look if they are.
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #116 on: December 20, 2017, 06:48:05 PM »
Here you go: https://github.com/elliotnunn?tab=repositories. mac-rom is the 68k rom code. powermac-rom is the NK, 68k emulator, and NewWorld stuff such as boot scripts and the Trampoline. wedge is the custom c code ELN made that sits between the Trampoline and the NK. empw is ELN's custom tool to do MPW builds on modern machines. The other repos are obsolete and/or not relevent to booting a Mac Mini.

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #117 on: December 21, 2017, 11:54:22 PM »
I feel like my dirty laundry has been aired in public. ::)

The only thing I'd add is that the powermac-rom repo does not build the NewWorld boot image, only a 4 MB Power Mac ROM. I am currently using my crusty old Python scripts to do this. I will try to move this over to an MPW-based solution, perhaps borrowing from our abandoned CDG5 code on GitLab.

Offline Jubadub

  • Consistant Contributor
  • ***
  • Posts: 56
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #118 on: December 28, 2017, 05:47:21 PM »
Damn, I came here eager to try out all this and hopefully be of some help with my newly-acquired PPC Mac Mini 1.5GHz, only to see I missed this key part in bold letters:

Can you guide me a little bit how i can do that?
I have an mini mac at work and could bring another mac laptop if its needed for the remote console output.

Have a second Mac that can boot OS 9.
Start the mini in target disc mode.
Connect to second mac.

Download this http://macos9lives.com/smforum/index.php/topic,2143.0.html and run from the second Mac, but use the mini's disc as the install location.
Remove the installed ROM from the mini and replace with the special one provided here.
Reboot the mini into open firmware.
I don't know if all the right OF commands are in this ROM to enable boot so you might need to change the compatibility property at the root of the device tree and the cpu version in the cpu node of the device tree.
Then just type boot.

The problem I have is, while I do have 2 Macs that can run Mac OS 9, neither of them have FireWire 400 (or even 800): one is a PowerBook Wallstreet G3 266MHz (which lacks even USB), and the other one is an iMac G3 333MHz that only has USB 1.0 connectors.
Aside them and the Mini, my only other Mac is the G5 Quad-Core, so...

I tried checking if there were ways to somehow use Target Disk Mode with just USB, but apparently not. (Only booting directly from USB seems to be possible, but that's not enough.)

I will see if I can borrow a Firewire and Mac-OS-9-capable Mac from a local shop (or order a PC Card with Firewire for the Wallstreet), but until then, I'm sorry to let you guys (ELN and Nanopico especially) down on this one for now. :/

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #119 on: December 29, 2017, 10:41:07 AM »
I've found that wallstreets are just so hard to interface with modem systems now, given they lack even USB.

Another idea would be to use one of those cd-bay-to-hard-drive adapters. Take the mini apart, pull the hard drive out, stick that into the wallstreet in the CD bay adapter, and then do the install and file copying. G4 minis use the same kind of hard drive as a wallstreet (I think).

Of course, this is harder than getting one of those FireWire cards for the laptop and just using that. But it's at least another option if you can't find a compatible card.

I'm lucky to have my old beige g3 with a FireWire card.
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline Jubadub

  • Consistant Contributor
  • ***
  • Posts: 56
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #120 on: December 29, 2017, 11:11:04 AM »
Yeah, taking the Mini apart... I considered that as soon as I was done with my previous post, although I shiver at the thought of doing that again, because the screws that are still left in it (many are missing) are really almost losing their "grip-ability" due to how worn out the screw heads of each screw are, and also because I lack some screwdrivers & other tools that are more proper to reach the Mini's hard disk, meaning the Mini gets damaged each time I do this. I had to replace its hard drive before to see if the Mini was even functional (it was a risky purchase that thankfully worked out), so that's why I know.

By the way, you are right; It's the same type of hard disk as the Wallstreet's: 2.5" Parallel ATA (PATA) / IDE.

And, really? PATA HDDs will just fit in the Wallstreet's CD slot? I did wonder before, but was never sure, nor ever felt the need to do that, but I guess I have a reason now. ;D
Still, I'll see if I can get ahold of an ExpressCard/PCCard with FireWire or borrow a FireWire Mac-OS-9-capable Mac first. But if it takes too long... *sigh* :D No other choice then!

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #121 on: December 29, 2017, 11:33:23 AM »
What I mean is that you should be able to get an adapter that will let you put one of those 2.5 inch ATA hard drives into the CD bay (or battery bay) of the wallstreet.  The expansion bays are both wired with ATA/IDE, just needs a shell to put the drive in (I think).  Don't try to just stick the hard drive in there or it might get broken!

Here's a card for your wallstreet on eBay which would probably work:
https://www.ebay.com/itm/New-Apple-MacSense-FireWire-CardBus-PCMCIA-Card-FW-200-IEEE-1394/391739290931

Original manufacturer page:
http://www.macsense.com/product/usb/fw200.html
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline Jubadub

  • Consistant Contributor
  • ***
  • Posts: 56
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #122 on: December 29, 2017, 03:25:04 PM »
Oh, I certainly wouldn't ever simply force it in there, fear not. ;D If I was to even try to fit it in there without any adapters, I'd check a bunch of things first, like whether the number & order of pins match or not, and whether the drive would end up suspended mid-air or not, as it could damage the pins etc..

Thanks for the links! I'll definitely take a look. :) As well as this, which I have set my eyes on for a while now: https://www.amazon.com/gp/product/B0007T276O/ref=ox_sc_act_title_5

EDIT: Bought!
« Last Edit: December 29, 2017, 10:40:41 PM by Jubadub »

Offline Astroman

  • Consistant Contributor
  • ***
  • Posts: 147
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #123 on: December 30, 2017, 03:28:42 AM »
just a hint because you mentioned 'only USB-1' further up:
there is no USB-2 in any MacOS 9 whatsoever, as there is no FW800 - no such drivers exist.

Offline androda

  • Active Member
  • **
  • Posts: 24
Re: Booting Mac Os 9 on Mac Mini.
« Reply #124 on: January 01, 2018, 09:09:11 AM »
@Jubadub

I hope that cardbus card works properly for you.  I was interested in getting something very much like that for my WallStreet several years ago, but couldn't find much in the way of compatibility information.  That's when I decided to just get a Pismo - and now I have two of them.  :)
My Collection: Sunflower iMac G4, Beige G3 (G4 333) w/USB+FW, G4 Mini 1.33, 2x G3 500 Pismos

Offline tooloudtoowide

  • Member
  • *
  • Posts: 4
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #125 on: January 02, 2018, 01:40:24 AM »
Need testers, guys, or this won't go anywhere. I really think that the mini is going to work!

sorry mate, Christmas and New Year holded me a little as I do in parellel some works with Apple //c and some Macintosh 68k to be working.

I have iMac G4-700 15" unfortunately with upgraded ROM during natural moves to 10.4 OSX, but at least it boots in modded Mac OS9 however I cannot boot into genuine Mac OS9 using CD that was included with this iMac... So the question is - does this iMac is good to make mentioned steps to format Macmini harddrive (partition) in firewire connection mode? cheers

Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #126 on: January 02, 2018, 01:00:10 PM »
I believe that any OS9 system with firewire is good enough. The worst what can reasonably be expected to happen is that the partition is not set up correctly (There is no theoretical upper bound to how bad a result can be, but even the install failing is pretty unlikely).

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #127 on: January 02, 2018, 03:03:31 PM »
I've just bought a Mac mini G4! This will speed up testing a lot. Stay tuned for a new test file.

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #128 on: January 04, 2018, 12:58:10 AM »
Okay. I am now sure that the Power Manager contains the first code to freeze the machine.

The 68k StartInit code loads and initialises several PPC code fragments. One of the first is NativePowerMgr. This fragment is copied from a parcel to the device tree by the Trampoline. When StartInit calls its PMInitialize function, the machine freezes. It is possible to get further through the boot process by skipping this call, but without it the machine is sure to crash eventually.

So, now to reverse the Power Manager! Unfortunately this manager got a lot of changes with the introduction of the G4s and more sophisticated mobile power management. It might be a bit tricky. Daniel, want to give it a go?

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #129 on: January 18, 2018, 09:33:38 AM »
Call out to anyone with knowledge out there.
So the power manager is definitely a bottle neck and even more is communicating with it.
In short the mini uses uPMU where as all the other G4's use PMU99.
The mini is the only machine (including G5's) that uses the uPMU chip.
Now check this.
Those PowerBooks that we are able to boot, but have issues with power management?  Related.
They use PMU99, but they use Intrepid for the North Bridge and IO Controller just like the mini only their PMU is known.
So OS 9 knows nothing of Intrepid and worse get to the uPMU and it has no clue there either, thus the mini is in a sorry state.
So if any one has any low level details on Intrepid or uPMU please let us know. 
Getting support to Intrepid should allow all those PowerBooks to pretty much be completely working. Except for the last version of the PowerBook released (Intrepid 2 and PMU05).



If it ain't broke, don't fix it, or break it so you can fix it!

Offline mrhappy

  • Platinum Member
  • *****
  • Posts: 952
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #130 on: January 18, 2018, 09:35:41 PM »
Don't know 'squat' about this so I can only be a 'cheerleader' however... I feel a breakthrough coming on!! Keep up the good work lads!!! ;D

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 282
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #131 on: January 19, 2018, 12:30:11 PM »
I have a PowerBook6,8 with 7447a v1.5( PRV 80030105 ), and I've been trying to get OS 9 to boot on it.

I'm assuming this is one of the last G4's that can't boot OS 9 at this time?

I was able to get the the OS 9 boot screen, but the system bombs out while it's loading. I removed everything from the Systems Folder but the Mac OS ROM, Finder, and System suitcase.

Just to make things a little easier, I used diskutil in Tiger to create a USB drive with OS 9 drivers.

Code: [Select]
diskutil  partitionDisk  /dev/disk1 1 OS9Drivers  HFS+  MacHD 0b
Then I copied a OS 9 System folder to the drive and blessed it with:

Code: [Select]
sudo bless -folder /path/to/your/os9/System Folder
I think that was the command, I'll have to check. We should be able to bless the drive with --setboot, but I haven't figured out the correct commands for that, yet.

Anyway, if I can help here, I will, and maybe we'll kill to non-9 booting Macs with one stone, as it were.

Sorry, forgot the boot command to boot a USB drive from Open Firmware.

Check the dev tree and see what port your usb drive is on, then dev alias to see the alias of the port.

For me, it usb0.

So:

Code: [Select]
boot usb0/disk:10,\\:tbxi


« Last Edit: January 19, 2018, 01:55:49 PM by darthnVader »

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: Booting Mac Os 9 on Mac Mini.
« Reply #132 on: January 19, 2018, 02:51:50 PM »
I was able to get the the OS 9 boot screen, but the system bombs out while it's loading. I removed everything from the Systems Folder but the Mac OS ROM, Finder, and System suitcase.

And did it boot after removing everything?
there are instances where the built in audio device causes this.  Even with all extensions gone it will still load the Sound Manager and choke on the sound chip.  Can be worked around by removing the sound device node in the Open Firmware device tree.

Code: [Select]
boot usb0/disk:10,\\:tbxi

You can use this to also boot a non-blessed system folder  by providing the full path to the ROM file. 
I do this actually often to test things.
If it ain't broke, don't fix it, or break it so you can fix it!

Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #133 on: January 19, 2018, 03:01:26 PM »
Part of the initialization of TBXIs sets the bootpath property of the /chosen node to the path of the TBXI.
Mac OS 9 uses this to find the system folder. If you set this value right before you launch the Trampoline, you can make the system folder be wherever you want it.
I do this in my rom test partition so it always boots from the main system folder.

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 282
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #134 on: January 19, 2018, 05:31:24 PM »
I was able to get the the OS 9 boot screen, but the system bombs out while it's loading. I removed everything from the Systems Folder but the Mac OS ROM, Finder, and System suitcase.

And did it boot after removing everything?
there are instances where the built in audio device causes this.  Even with all extensions gone it will still load the Sound Manager and choke on the sound chip.  Can be worked around by removing the sound device node in the Open Firmware device tree.

Code: [Select]
boot usb0/disk:10,\\:tbxi



You can use this to also boot a non-blessed system folder  by providing the full path to the ROM file. 
I do this actually often to test things.

Seems to be bombing on a MoveL command, but I don't really know how to use MacsBugs, any tips?

I know OS 9 has a built in debugger, and others are using it, but isn't MacsBugs a litlle more powerfull?

Though it's not clear to me if the Mac Mini is getting out of the Mac OS Rom into the System Suitcase?

Seems I'm bombing it the suitcase, right, if I get to the loading screen, with the progress bar?

Not done any hacking on the classic OS in a while, so I need to brush up.

How do I remove the sound device from the tree?




Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #135 on: January 19, 2018, 05:39:13 PM »
The loading screen is displayed way after the system suitcase takes control.

http://macos9lives.com/smforum/index.php/topic,3233.0.html tells you how to remove a device from the tree.
I am not exactly sure which device tree node is the sound device on a PowerBook.

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 282
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #136 on: January 19, 2018, 07:33:24 PM »
Thanks, i'll give it a shot, but here is a thought, why not fire up the IOReg Explorer that comes with the classic PCIDDK under Classic Mode in OS X, and see what IOReg OS X uses to boot Classic mode?

That may give us some ideas on how we need the device tree to look to get at least minimal support in OS 9 going.


Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #137 on: January 19, 2018, 09:04:44 PM »
Some good ideas flying around this thread!

After several hours mucking around with Apple's PowerPC build tools, I have given up on fully reversing the the NativePowerMgr and other PEFs. Instead, I have produced this murderously hacky patching tool. Meet patchpef: https://github.com/elliotnunn/patchpef

Patchpef makes small changes to the code section of a given PEF file, with all new code being inserted at the end of the section. It depends on vasm with the "mot" syntax module to assemble new code. Convenience functions are provided to spam the NanoKernel log. Here is the command line for my current patchset:

Code: [Select]
./patchpef.py CodeRegister_NativePowerMgrLib{,_patched} Initialize+0x168 :SysErroring InitPostLoadPlugin-0x4 :r3 Initialize+0xe8 :r31 PMPluginInitialize-0x4 :r3 FindPluginDevice-0x4 :r3 Initialize+0x94 ' li r3,0' Initialize-0x4 :returning
Briefly, the syntax is:
Code: [Select]
patchpef.py INPUT OUTPUT [ LOCATION_1 COMMAND_1 ... ]
Locations are relative either to the start of the end of a function. (Functions, by the way, can be identified only if MacsBug symbols are present. Exported symbols are no help.) For most C functions, "FuncName-0x4" will allow you to log the function return (before the blr). Using ":r3" as the command will log the return value. Otherwise, any arbitrary string can be logged by prepending the argument with a colon.

These convenience commands take care of register saving for you (r0-r31 and the LR are saved in the "red zone" below the stack pointer). But you can also supply arbitrary assembly code in Apple-like syntax. (Don't forget the leading whitespace!) "nopNNN" is another special case Ė it removes code, rather than inserting.

So far, I have managed to disable loading the PowerMgr plugin from the device tree. This advances the mini's boot process significantly, and should not cause any problems later in the boot process.

Progress!

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #138 on: January 21, 2018, 09:22:21 PM »
The NanoKernel log disappears when the Display Mgr is initialised. This is because the Display Mgr blanks the screen with 50% grey. I am not sure how the NK log comes back up, but I know that the mini freezes before it does so.

So I need another way to get output from the machine. Luckily, with the Display Mgr up, it is possible to get QuickDraw to run! I have just gotten this to work. Now a dithered grey pattern can be drawn to the screen.

I spent several hours believing that the Display Mgr was actually freezing, so now I have reversed some important parts of it -- needlessly!

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #139 on: January 21, 2018, 09:44:22 PM »
The next crash was in the USBFamilyExpertLib. Skipping over it gets us this far. Promising!

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #140 on: January 21, 2018, 11:57:42 PM »
Ta-da!

Things that need to be disabled:
  • PMU
  • USB
  • Extensions (not sure which ones)

Offline mrhappy

  • Platinum Member
  • *****
  • Posts: 952
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #141 on: January 22, 2018, 12:31:33 AM »
Drum roll please!!!!! ;D

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #142 on: January 22, 2018, 04:22:15 AM »
Would somebody (looking at you nanopico) please post on how the mini's USB controller differs from a supported G4?

Offline ELN

  • Silver Member
  • ****
  • Posts: 214
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #143 on: January 22, 2018, 04:40:19 AM »
By the way, here's a tbxi. It has too many ugly hacks to count. The one I am proudest of is the binary patch to the NativePowerMgrLib. Close second is the logging code that you will see spamming the NK log as the progress bar moves.

To start from this ROM, you must first copy the 'boot 3' resource inside into your System suitcase. Then you should empty your Extensions folder.

No USB, so you can't actually do much. Working on it.

Offline mrhappy

  • Platinum Member
  • *****
  • Posts: 952
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #144 on: January 22, 2018, 05:48:00 AM »
Than's some 'fancy' work there ELN... AWESOME!!!  ;D

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 282
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #145 on: January 22, 2018, 06:49:36 AM »
By the way, here's a tbxi. It has too many ugly hacks to count. The one I am proudest of is the binary patch to the NativePowerMgrLib. Close second is the logging code that you will see spamming the NK log as the progress bar moves.

To start from this ROM, you must first copy the 'boot 3' resource inside into your System suitcase. Then you should empty your Extensions folder.

No USB, so you can't actually do much. Working on it.

Not sure if my issue is the USB, on PB6,8.

I had considered it, as I'm trying to boot from USB.

If I leave Extensions enabled, things bomb out about a min. or so after the Ethernet loads.

Removing all the extensions doesn't get me any further.

Offline DieHard

  • Administrator
  • Platinum Member
  • *****
  • Posts: 1575
Re: Booting Mac Os 9 on Mac Mini.
« Reply #146 on: January 22, 2018, 07:57:44 AM »
Ta-da!

Things that need to be disabled:
  • PMU
  • USB
  • Extensions (not sure which ones)

Not much shocks me... but this is absolutely crazy :)

While time marches on... 2018 and still progress being made... "priceless"

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 282
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #147 on: January 22, 2018, 10:21:59 AM »
@ELN,

It's USB for me.

I used the Mac OS ROM v9.2.1 that comes on the install CD, rather than the "Generic" or "iBook" ROM.

With all extension disabled I was able to get the progress bar to fully load, but as I'm booting from USB the system couldn't mount the drive, so the Finder never launches.

I assume we likely have the same USB device, here's my IOReg:

Too long to post even in a code box, I'll boot Linux and see what lsusb and lspci return.

Code: [Select]
0001:10:1b.0 USB controller [0c03]: NEC Corporation OHCI USB Controller [1033:0035] (rev 43)
Subsystem: NEC Corporation USB Controller [1033:0035]
Kernel driver in use: ohci-pci
0001:10:1b.1 USB controller [0c03]: NEC Corporation OHCI USB Controller [1033:0035] (rev 43)
Subsystem: NEC Corporation USB Controller [1033:0035]
Kernel driver in use: ohci-pci
0001:10:1b.2 USB controller [0c03]: NEC Corporation uPD72010x USB 2.0 Controller [1033:00e0] (rev 04)
Subsystem: NEC Corporation uPD72010x USB 2.0 Controller [1033:00e0]
Kernel driver in use: ehci-pci

Code: [Select]
Bus 001 Device 002: ID 154b:007a PNY Classic Attache Flash Drive
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x154b PNY
  idProduct          0x007a Classic Attache Flash Drive
  bcdDevice           11.00
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.04
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.04
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.04
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 002 Device 003: ID 05ac:030a Apple, Inc. Internal Trackpad
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x05ac Apple, Inc.
  idProduct          0x030a Internal Trackpad
  bcdDevice            0.06
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               40mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              6
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      35
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1

Bus 002 Device 004: ID 05ac:8205 Apple, Inc. Bluetooth HCI
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x05ac Apple, Inc.
  idProduct          0x8205 Bluetooth HCI
  bcdDevice           19.65
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          193
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       254 Application Specific Interface
      bInterfaceSubClass      1 Device Firmware Update
      bInterfaceProtocol      0
      iInterface              0
      Device Firmware Upgrade Interface Descriptor:
        bLength                             7
        bDescriptorType                    33
        bmAttributes                        7
          Will Not Detach
          Manifestation Tolerant
          Upload Supported
          Download Supported
        wDetachTimeout                   5000 milliseconds
        wTransferSize                    1023 bytes

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.04
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
« Last Edit: January 22, 2018, 10:35:20 AM by darthnVader »

Offline Daniel

  • Silver Member
  • ****
  • Posts: 169
  • new to the forums
Re: Booting Mac Os 9 on Mac Mini.
« Reply #148 on: January 22, 2018, 11:59:37 AM »
What happens if you use Timbuktu (or any other remote control software)? That might let you do some useful things with a mini

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 282
  • New Member
Re: Booting Mac Os 9 on Mac Mini.
« Reply #149 on: January 22, 2018, 04:20:51 PM »
Just picked up a iBook G4, seems to have the same CPU as my PowerBook6,8. Likely the same USB, as is a PowerBook6,7.

I tried booting OS 9 from USB, and it has the same issue and the PB.

This time I installed the OS 9 drivers on the disk, before I installed Tiger, but I didn't setup an OS 9 partition, wishing I had, as trying to boot OS 9 from the HD results in the "Happy Mac" but it never finds the System suitcase.

Any way I can fix that?

My boot command:

Code: [Select]
boot hd:10,\System%20Folder\:tbxi