BetaArchive Logo
Navigation Home Database Screenshots Gallery Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 1d, 18h, 31m | CPU: 18% | MEM: 4934MB of 11209MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 14 posts ] 
Author Message
 PostPost subject: MKLinux emulation        Posted: Fri Mar 15, 2019 4:38 pm 
Reply with quote
User avatar
Offline

Joined
Tue Feb 05, 2019 3:20 am

Posts
12
Hi. Has anybody been successful at emulating MKLinux (any version) on Windows? Any help will be appreciated. For me it has been one of the hardest OS to gather info on this topic.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Mon Mar 18, 2019 6:22 pm 
Reply with quote
User avatar
Offline

Joined
Thu Mar 07, 2019 2:16 pm

Posts
5

Location
italy

Favourite OS
osx 10.x
On windows you can try qemu-system-ppc but it's a hard job , on linux it could run on basilisk II ( https://basilisk.cebix.net/ ).

_________________
My System:
Mac Pro 5.1 6x3.46ghz 24GB ahci GT680 4GB.
Esxi 24 cpu / 96GB ram - 8*300gb sata 15k - 8 * 5tb sata - nvme cache.
48 Slot Lto tape backup - pcie Expansion with lot of passthrough.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Tue Mar 19, 2019 3:23 am 
Reply with quote
User avatar
Offline

Joined
Tue Feb 05, 2019 3:20 am

Posts
12
I've tried at least two versions of MKLinux on QEMU, Pear PC, SheepShaver, Basilisk and even CherryOS and it just does not boot.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Tue Mar 19, 2019 9:26 am 
Reply with quote
User avatar
Offline

Joined
Thu Mar 07, 2019 2:16 pm

Posts
5

Location
italy

Favourite OS
osx 10.x
Can you post qemu config and boot log ?

_________________
My System:
Mac Pro 5.1 6x3.46ghz 24GB ahci GT680 4GB.
Esxi 24 cpu / 96GB ram - 8*300gb sata 15k - 8 * 5tb sata - nvme cache.
48 Slot Lto tape backup - pcie Expansion with lot of passthrough.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Tue Mar 19, 2019 5:17 pm 
Reply with quote
User avatar
Offline

Joined
Tue Feb 05, 2019 3:20 am

Posts
12
QEMU 3.1.50 PPC CONFIG

-L pc-bios
-boot c
-m 96
-M mac99
-prom-env "auto-boot?=true"
-prom-env "boot-args=-v"
-prom-env "vga-ndrv?=true"
-drive file=mklinux.img,format=raw,media=disk (HD formatted in OS 9.2 with hybrid HFS and 3 A/UX partitions)
-drive file=mklinuxr2rc5.iso,format=raw,media=cdrom
-sdl
-device VGA,edid=on
-g 1280x1024x32

BOOT LOG (QEMU SCREEN)

video base address = 0x81000000
Mach 3.0 VERSION(GENERIC_8-) root <osfmk>; Thu Feb 10 15:19:10 PST 2000; mach_kernel/PRODUCTION (build.mklinux.org)

MACH microkernel is booting on a Power Macintosh PCI class machine via Apple MkLinux Booter...
mem_size = 96 M
Mapping exception entry/exit 0x2000 to 0x2000 size 0x3000
kernel: mapping virt 0x00200000 t to phys 0x00200000 size 0xc9000, prot=0x5<READ,EXEC>
kernel: mapping virt 0x00400000 t to phys 0x00400000 size 0x70000, prot=0x3<READ,WRITE>
bootstrap: mapping virt 0x00471000 to phys 0x00471000 end 0x474000, prot=0x3<READ,WRITE>
bootstrap: mapping virt 0x00473000 to phys 0x00473000 end 0x4a6000, prot=0x5<READ,EXEC>
WARNING - bootstrap overlaps regions
Free region start 0x00003000 end 0x00200000
Free region start 0x002c9000 end 0x00400000
Free region start 0x004db000 end 0x00500000
Free region start 0x007c8000 end 0x06000000
vm_page_bootstrap: 22949 free pages
pci_via_base_phys changed.
pci_via_base_phys = 0x80016000
PCI_VIA_BASE_PHYS = 0XF3016000 (it halts here)

Hope this can help!


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Wed Mar 20, 2019 9:08 am 
Reply with quote
User avatar
Offline

Joined
Thu Mar 07, 2019 2:16 pm

Posts
5

Location
italy

Favourite OS
osx 10.x
Hi , try to run with -d flag to activate debugging then look at /tmp/qemu.log to see where it hangs.

_________________
My System:
Mac Pro 5.1 6x3.46ghz 24GB ahci GT680 4GB.
Esxi 24 cpu / 96GB ram - 8*300gb sata 15k - 8 * 5tb sata - nvme cache.
48 Slot Lto tape backup - pcie Expansion with lot of passthrough.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Wed Mar 20, 2019 9:44 am 
Reply with quote
User avatar
Offline

Joined
Tue Feb 05, 2019 3:20 am

Posts
12
using -d guest_errors,cpu_reset,unimp:

CPU Reset (CPU 0)
NIP 00000000 LR 00000000 CTR 00000000 XER 00000000 CPU#0
MSR 00000000 HID0 00000000 HF 00000000 iidx 0 didx 0
TB 00000000 00000000 DECR 4294967295
GPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
CR 00000000 [ - - - - - - - - ] RES 00000000
SRR0 00000000 SRR1 00000000 PVR 000c0209 VRSAVE 00000000
SPRG0 00000000 SPRG1 00000000 SPRG2 00000000 SPRG3 00000000
SPRG4 00000000 SPRG5 00000000 SPRG6 00000000 SPRG7 00000000
SDR1 00000000 DAR 00000000 DSISR 00000000
Trying to write invalid spr 0 (0x000) at 00f113c0
Trying to read invalid spr 0 (0x000) at 00f113c8
Trying to write privileged spr 955 (0x3bb) at 00f164b8
Trying to write invalid spr 959 (0x3bf) at 00f16520
Trying to read invalid spr 959 (0x3bf) at 00f16528
Trying to write privileged spr 955 (0x3bb) at 00f164b8
Trying to write invalid spr 959 (0x3bf) at 00f16520
Trying to read invalid spr 959 (0x3bf) at 00f16528
CUDA: unknown command 0x02
CUDA: unknown command 0x08
CUDA: unknown command 0x02
CUDA: unknown command 0x02
CUDA: unknown command 0x22
CUDA: unknown command 0x22
CUDA: unknown command 0x22
CUDA: unknown command 0x22
CUDA: unknown command 0x22
CUDA: unknown command 0x22
CUDA: unknown command 0x25
CUDA: unknown command 0x22
CUDA: unknown command 0x22
CUDA: unimplemented command SET_POWER_MESSAGE 1
CUDA: unknown command 0x25
CUDA: unimplemented command SET_POWER_MESSAGE 1
CUDA: unknown command 0x24
CUDA: unimplemented command SET_POWER_MESSAGE 1
CUDA: unknown command 0x24


any ideas on what is the error?


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Fri Mar 22, 2019 9:39 pm 
Reply with quote
User avatar
Offline

Joined
Thu Mar 07, 2019 2:16 pm

Posts
5

Location
italy

Favourite OS
osx 10.x
uhmm seem to be somethink in the pci bus , you can try to play with kernel boot options to see if some pci options change somethink.

_________________
My System:
Mac Pro 5.1 6x3.46ghz 24GB ahci GT680 4GB.
Esxi 24 cpu / 96GB ram - 8*300gb sata 15k - 8 * 5tb sata - nvme cache.
48 Slot Lto tape backup - pcie Expansion with lot of passthrough.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Fri Mar 22, 2019 9:55 pm 
Reply with quote
User avatar
Offline

Joined
Tue Feb 05, 2019 3:20 am

Posts
12
Thanks, I'll try tinkering with some options.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Sat Mar 23, 2019 10:32 am 
Reply with quote
Offline

Joined
Sat Mar 23, 2019 8:59 am

Posts
6

Favourite OS
Pink
You should try asking in the qemu community, like #qemu on irc.freenode.net. :)


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Sat Mar 23, 2019 3:45 pm 
Reply with quote
User avatar
Offline

Joined
Tue Feb 05, 2019 3:20 am

Posts
12
Good tip, I'll do it. Thanks!


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Sat Mar 23, 2019 11:20 pm 
Reply with quote
Offline

Joined
Sat Mar 23, 2019 8:59 am

Posts
6

Favourite OS
Pink
I assume MkLinux and Copland are in the same boat, because they target Old World ROMs. All Macs with PCI have OpenFirmware but anything prior to iMac has Old World. So I assume someone needs to code Old World support into qemu, maybe by dragging something out of shoebill (which can boot A/UX on virtual bare metal) and into qemu. :-(

You're using BootX in MacOS in order to boot MkLinux, right? Please do let me know what you find.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Sun Mar 24, 2019 8:59 pm 
Reply with quote
FTP Access
Offline

Joined
Fri Jan 15, 2010 10:53 am

Posts
55
smuckola wrote:
I assume MkLinux and Copland are in the same boat, because they target Old World ROMs. All Macs with PCI have OpenFirmware but anything prior to iMac has Old World. So I assume someone needs to code Old World support into qemu, maybe by dragging something out of shoebill (which can boot A/UX on virtual bare metal) and into qemu. :-(

You're using BootX in MacOS in order to boot MkLinux, right? Please do let me know what you find.

Or another way: new Macintosh emulator which based on WinUAE with code from Previous, Shoebill, QEMU and some other emulators. QEMU is not going to have full emulation of Macintosh using ROMs due to copyright issues.


Top  Profile
 PostPost subject: Re: MKLinux emulation        Posted: Sun Mar 24, 2019 9:52 pm 
Reply with quote
Offline

Joined
Sat Mar 23, 2019 8:59 am

Posts
6

Favourite OS
Pink
What? ROMs are user data, like the operating system, and is not distributed with an emulator any more than is any other thing downloaded from this site. The copyright of user data has no bearing whatsoever on the copyright of an emulator. If qemu doesn't support Old World, it's because nobody was willing and able to code it for a bunch of weirdo archivalists, lol.

Anyway, New World Macs use a ROM, but it's just distributed as a file with the OS.


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2019

 

Sitemap | XML | RSS