Installing 9.2.2 on OSX problems

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
nuphunk
Space Cadet
Posts: 1
Joined: Sat Dec 30, 2017 9:25 am

Installing 9.2.2 on OSX problems

Post by nuphunk »

Hi there,
Running OSX 10.10.4

Followed the set-up to install from https://www.emaculation.com/doku.php/pp ... mu-for-osx

But get the error
.../Documents/QEMU/qemu.command: line 4: qemu-system-ppc: command not found
logout

I created the qemu.command file with Text Wrangler UTF-8 Unix (LF) line breaks

Code: Select all

#!/bin/bash
cd "$(dirname "$0")"

qemu-system-ppc -L pc-bios -boot d -M mac99 -m 256 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=MacOS9.2.iso,format=raw,media=cdrom -drive file=MacOS9.2.img,format=raw,media=disk -device usb-mouse -device usb-kbd
i made it executable, but got the above error when launching the command

Any help appreciated, i have not skills, so it's probably something extremely dumb (apologies).

I noticed that the bios referred to in the command file is pc-bios and the one in the download is openbios-ppc, is that relevant?

Also i don't have Command Line Tools installed. If i need it is 7.1 ok?

All the files are in the same folder BTW
Thanks
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

Hi,

It seems your qemu program is not called qemu-system-ppc.
Check in your folder for the correct name and change the command file accordingly.

Also, if there was no folder called pc-bios in your download, remove -L pc-bios from the command file.

Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

I'm experiencing the same issue, and I've tried both the 12-15 and the 09-16 official builds and both give me the same error as OP. I've verified that the QEMU program name matches the command file, and I don't have the "-L pc-bios" line. I'm running on macOS Sierra 10.12.6.

Here's my command file:

Code: Select all

#!/bin/bash
cd "$(dirname "$0")"

qemu-system-ppc -boot d -M mac99 -m 256 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=MacOS92.iso,format=raw,media=cdrom -drive file=MacOS92.img,format=raw,media=disk -device usb-mouse -device usb-kbd -net user -net nic,model=sungem
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

Ah,

You're missing a ./ in front of the qemu-system-pcc. I wonder how that got lost, as it is in the qemu.command file example in the download? This should allow you to start qemu:

Code: Select all

#!/bin/bash
cd "$(dirname "$0")"

./qemu-system-ppc -boot d -M mac99 -m 256 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=MacOS92.iso,format=raw,media=cdrom -drive file=MacOS92.img,format=raw,media=disk -device usb-mouse -device usb-kbd -net user -net nic,model=sungem
Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

Okay, I added the ./, but now I'm getting this error:

Code: Select all

Last login: Sat Feb  3 14:17:17 on ttys000
MacBook-Pro:~ user$ /Users/user/Desktop/Qemu64/qemu.command ; exit;
dyld: Library not loaded: /usr/local/Cellar/glib/2.54.0/lib/libglib-2.0.0.dylib
  Referenced from: /Users/user/Desktop/Qemu64/./Libs/libgthread-2.0.0.dylib
  Reason: image not found
/Users/user/Desktop/Qemu64/qemu.command: line 4:  1696 Abort trap: 6           ./qemu-system-ppc -boot d -M mac99 -m 256 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=MacOS92.iso,format=raw,media=cdrom -drive file=MacOS92.img,format=raw,media=disk -device usb-mouse -device usb-kbd -net user -net nic,model=sungem
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

I just noticed some issue in the dec 15 download. Please download it again.

Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

Still getting the same error, although the "Library not loaded" line has changed.

Code: Select all

Last login: Sat Feb  3 17:15:20 on ttys000
MacBook-Pro:~ user$ /Users/user/Desktop/Qemu64/qemu.command ; exit;
dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
  Referenced from: /Users/user/Desktop/Qemu64/./Libs/libglib-2.0.0.dylib
  Reason: image not found
/Users/user/Desktop/Qemu64/qemu.command: line 4:  1936 Abort trap: 6           ./qemu-system-ppc -boot d -bios openbios-ppc -M mac99 -m 128 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=92install.iso,format=raw,media=cdrom -drive file=MacOS92.img,format=raw,media=disk -netdev user,id=network0 -device sungem,netdev=network0 -device usb-mouse -device usb-kbd
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

Can you give it another go with the 15-12-2017 build?

Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

Just did, still same error.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

I gave it another go.
Perhaps you can download the 15-12 build again?

Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

Still getting the same error.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

Good grief, it seems I can't fix that error.

Try this build:
http://www.open.ou.nl/hsp/downloads3/Qe ... 122027.zip

Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

Making progress! :smile:
Image

However, Mac OS 9.2 immediately freezes up as soon as it reaches that point and I am unable to proceed further. I tried 9.1 and I get the same thing. :???:
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

Your command line?

Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

Code: Select all

#!/bin/bash
cd "$(dirname "$0")"


./qemu-system-ppc-screamer -boot d -bios openbios-ppc-screamer -M mac99 -m 128 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=92install.iso,format=raw,media=cdrom -drive file=MacOS92.img,format=raw,media=disk -netdev user,id=network0 -device sungem,netdev=network0 -device usb-mouse -device usb-kbd 
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

Give it a go without the usb devices:

Code: Select all

#!/bin/bash
cd "$(dirname "$0")"

./qemu-system-ppc-screamer -boot d -bios openbios-ppc-screamer -M mac99 -m 128 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=92install.iso,format=raw,media=cdrom -drive file=MacOS92.img,format=raw,media=disk -netdev user,id=network0 -device sungem,netdev=network0 
Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

With that I now get this illegal instruction error during startup:
Image
Which I can bypass by holding shift and disabling extensions when starting, but it still freezes up when I get to the desktop.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Installing 9.2.2 on OSX problems

Post by adespoton »

I had to put in USB mouse but not keyboard IIRC to stop this on the screamer builds.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

All these tries to upload fixed qemu dependencies only served to finally understand our ftp server (or filezilla) does keep some cache. I couldn't understand why my uploads never seemed to keep the dependency changes until I uploaded a file with a new name and the changes "sticked".

;-(

Best,
Cat_7
SSS
Granny Smith
Posts: 115
Joined: Sun May 15, 2005 8:22 pm

Re: Installing 9.2.2 on OSX problems

Post by SSS »

adespoton wrote:I had to put in USB mouse but not keyboard IIRC to stop this on the screamer builds.
That did the trick! :mrgreen: Working great now.

Thanks guys for your help.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Installing 9.2.2 on OSX problems

Post by adespoton »

Speaking of this... I've been rather busy so haven't been able to track back and see when this USB mouse issue appeared between the August 2016 build and the December 2017 Screamer build; if anyone else has the time to work back through the changelog and isolate where the USB/ADB controls broke, that'd be greatly appreciated.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Installing 9.2.2 on OSX problems

Post by Cat_7 »

There is work being done on the mos6522 VIA device right now that could fix these issues in a future build.

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Installing 9.2.2 on OSX problems

Post by adespoton »

Thanks for the update; they'll likely get that fixed before I can track down the bug myself :)
Post Reply