NeXT Computers

Apple, Inc. => Rhapsody => Topic started by: eagle on March 17, 2014, 03:14:27 pm

Title: Emulating OS X Server v1.2
Post by: eagle on March 17, 2014, 03:14:27 pm
Hi, all.

Now that we're seeing so much action with Previous emulating m68k NeXT, I'm wondering if it would be possible to have a PPC emulator that runs OS X Server v1.2.  I no longer own a Mac that is capable of running OS X Server v1.2, but I still own the OS license and would love to be able to run it again.

Thoughts on that one?
Title: Emulating OS X Server v1.2
Post by: t-rexky on March 23, 2014, 10:02:55 pm
I doubt that any of the existing PowerPC emulators have the required hardware emulation to run Rhapsody, considering how picky Rhapsody is about the hardware.  The only available options that I know about are PearPC and QEMU.  You could always give them a try but the chances are very slim: http://www.emaculation.com/forum/viewtopic.php?t=2492

As an alternative, I would be delighted to assume new ownership of your Mac OS X Server v1.2 media and license, if you are interested...   :D
Title: Emulating OS X Server v1.2
Post by: eagle on March 24, 2014, 12:14:46 am
Thank you for your generous offer, but I will be keeping my OS X Server media and license. 8)

I should try the available emulators to see what they can do.
Title: Emulating OS X Server v1.2
Post by: Noth on March 24, 2014, 10:24:57 am
I'd like to try OSX Server 1.2 in PearPC too ... Can't get a hold of the iso though. The oldest OS I've tried is OSX 10.1, it installed quite flawlessly. If you're going to run it in linux, I strongly recommend using the win32 0.5 binary with WINE as it's got the JIT working, which the *nix versions don't have. It makes one hell of a difference speedwise...
Title: Emulating OS X Server v1.2
Post by: neozeed on April 21, 2018, 10:48:40 am
It runs now!

(https://i.imgur.com/6VfAYEC.png)



I downloaded the latest win64 binary from https://qemu.weilnetz.de/w64/ And this got me into single user mode... And yes I can type!

It's crazy slow, but wow... this is great!


https://imgur.com/a/OIf6H7h

Full album of installation.

So basically boot up the MacOS part of the CD to partition the virtual disk. Nothing special here

qemu-system-ppc-screamer.exe -L pc-bios  -m 256 -M mac99 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -prom-env "vga-ndrv?=true" -hda 2.vmdk -cdrom "Mac OS X Server 1.2, MOSX_Booter.iso"  -sdl -device usb-mouse -device adb-keyboard -boot d


Boot up the OS X side of the CD, and it'll format & start the install

qemu-system-ppc.exe -L pc-bios  -prom-env "boot-args=-v rd=sd0" -drive file=..\2.vmdk,index=1,format=vmdk,media=disk -M g3beige -cpu g3  -drive file=..\"Mac OS X Server 1.2, MOSX_Booter.iso",index=0,format=raw,media=cdrom -prom-env "boot-device=cd:9,\\:tbxi" -m 256 -net none


I wasn't sure where the boot stuff is, so boot off the CD again, but point root to hd0, and it'll complete the install.

Quoteqemu-system-ppc.exe -L pc-bios  -prom-env "boot-args=-v rd=hd0" -drive file=..\2.vmdk,index=1,format=vmdk,media=disk -M g3beige -cpu g3  -drive file=..\"Mac OS X Server 1.2, MOSX_Booter.iso",index=0,format=raw,media=cdrom -prom-env "boot-device=cd:9,\\:tbxi" -m 256 -net none

_________________
Title: Emulating OS X Server v1.2
Post by: t-rexky on April 21, 2018, 01:37:44 pm
Cool, this is almost as exciting as when I got it to boot on one of my G4 Cubes!
Title: Emulating OS X Server v1.2
Post by: neozeed on April 21, 2018, 02:21:20 pm
Quote from: "t-rexky"Cool, this is almost as exciting as when I got it to boot on one of my G4 Cubes!


Tell me more about this G4 cube adventre..... :)
Title: Emulating OS X Server v1.2
Post by: eagle on April 21, 2018, 11:18:32 pm
Wow, this is awesome!  Once I'm done with my move and all my stuff is out of storage, I will be checking this out!!

Thanks!
Title: Emulating OS X Server v1.2
Post by: neozeed on April 21, 2018, 11:41:12 pm
Quote from: "eagle"Wow, this is awesome!  Once I'm done with my move and all my stuff is out of storage, I will be checking this out!!

Thanks!


If you have a PPC it'd be interesting to know what the speed difference is between Rhapsody and OS X DP 1...   Because, on Qemu at least once the kernel is loaded XNU-68.4-1.1 is significantly faster than old NeXTSTEP v5.5 ..
Title: Emulating OS X Server v1.2
Post by: Scutboy on April 22, 2018, 01:30:49 pm
Quote from: "neozeed"
Quote from: "t-rexky"Cool, this is almost as exciting as when I got it to boot on one of my G4 Cubes!


Tell me more about this G4 cube adventre..... :)


I second this request - this would be fun to run on my "extra" Cube!
Title: Emulating OS X Server v1.2
Post by: eagle on April 23, 2018, 01:01:11 am
You guys are making me wish I still had a G4 Cube...
Title: Emulating OS X Server v1.2
Post by: t-rexky on April 23, 2018, 02:27:59 am
Quote from: "eagle"You guys are making me wish I still had a G4 Cube...


Don't mean to brag, but I have three G4 Cubes :oops:

Actually two complete kits and one donor machine for parts.  My primary Cube has a 1.2 GHz (I think) CPU and a modified (by me) Geforce 3 card in it.  Other two are stock.  The speakers are disintegrating though, the foam-rubber surrounds to be exact.

Now, all I can recall about installing OS X Server 1.2 is that it needed 1.2v3, and that the standard installation process fails, at which point you have to do some "manual" magic.  I don't recall the details, but I think it is related to destination disk selection, perhaps...

The other thing is that OS X Server is insanely picky about hardware and USB.  The only way I got it to work was by plugging the keyboard into the Cube USB port directly and plugging  the mouse into the keyboard USB hub.  Don't try to plug-in the keyboard into the LCD USB hub as it will not be recognized.  And it does not work with the Sonnet 1.2 GHz CPU card, just the stock 450 MHz or 500 MHz Cube CPU.

I think this is it, everything else worked as expected.  Although I have to admit that Server 1.2v3 running on a 500 MHz Cube feels similarly responsive to my Turbo Color running NS3.3 off a SSD drive.  Well, maybe Server feels a little bit faster, but not by much.
Title: Emulating OS X Server v1.2
Post by: Scutboy on April 23, 2018, 01:05:52 pm
Quote from: "t-rexky"
Quote from: "eagle"You guys are making me wish I still had a G4 Cube...


Don't mean to brag, but I have three G4 Cubes :oops:



You're not trying - I have five, plus three organ donor chassis  :wink:

I'm pretty sure I have 1.2v3 - I'm going to have to give this a spin...
Title: Emulating OS X Server v1.2
Post by: eagle on August 24, 2018, 02:44:39 am
Finally getting around to trying this, and not having much luck:

[eagle@nest(X12):2074:/Users/eagle/Downloads/QEMU]Programs/qemu-system-ppc -L pc-bios -m 256 -M mac99 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -prom-env "vga-ndrv?=true" -hda 2.vmdk -cdrom "Mac OS X Server 1.2, MOSX_Booter.iso" -device usb-mouse -device adb-keyboard -boot d
WARNING: Image format was not specified for '2.vmdk' and probing guessed raw.
        Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
        Specify the 'raw' format explicitly to remove the restrictions.
Trying to write invalid spr 0 (0x000) at 00f110b4
Trying to read invalid spr 0 (0x000) at 00f110bc
qemu-system-ppc: Trying to execute code outside RAM or ROM at 0x12181020
This usually means one of the following happened:

(1) You told QEMU to execute a kernel for the wrong machine type, and it crashed on startup (eg trying to run a raspberry pi kernel on a versatilepb QEMU machine)
(2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU executed a ROM full of no-op instructions until it fell off the end
(3) Your guest kernel has a bug and crashed by jumping off into nowhere

This is almost always one of the first two, so check your command line and that you are using the right type of kernel for this machine.
If you think option (3) is likely then you can try debugging your guest with the -d debug options; in particular -d guest_errors will cause the log to include a dump of the guest register state at this point.

Execution cannot continue; stopping here.

Exit 1


I have never run QEMU before, so there's no telling what I'm doing wrong.  Any tips for a first timer?
Title: Emulating OS X Server v1.2
Post by: eagle on January 18, 2019, 02:01:46 am
Anybody?  I'd love to be able to run OSXS1.2 again!
Title: Emulating OS X Server v1.2
Post by: neozeed on February 24, 2019, 03:19:31 am
Quote from: "eagle"Anybody?  I'd love to be able to run OSXS1.2 again!


sorry I've been locked out of the site for a few months.  I'll try to help if I can.

can you do some md5sum on the iso/images and versions of qemu?
Title: Emulating OS X Server v1.2
Post by: eagle on February 24, 2019, 02:08:11 pm
Quote from: "neozeed"
Quote from: "eagle"Anybody?  I'd love to be able to run OSXS1.2 again!


sorry I've been locked out of the site for a few months.  I'll try to help if I can.

can you do some md5sum on the iso/images and versions of qemu?

Thanks, I'll restart this project in the next few days and get back to you.
Title: Emulating OS X Server v1.2
Post by: neozeed on February 24, 2019, 06:23:40 pm
Quote from: "eagle"
Quote from: "neozeed"
Quote from: "eagle"Anybody?  I'd love to be able to run OSXS1.2 again!


sorry I've been locked out of the site for a few months.  I'll try to help if I can.

can you do some md5sum on the iso/images and versions of qemu?

Thanks, I'll restart this project in the next few days and get back to you.


No worries.  Just unfortunate I couldn't reply when you were actively working on it.  :?