Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-25 Thread Mark Cave-Ayland
On 24/11/15 09:01, Alfonso Gamboa wrote:

> These images are definitely helpful, however what would be really useful
> to know is exactly what the modules in question do:
> 
> - Multiprocessing (maybe uses a currently unimplemented CPU instruction
> to facilitate faster multitasking?)
> 
> - Open Transport ASLM Modules (no idea what these do)
> 
> - Apple Audio Extension Module (is this just a standard sound driver or
> other? I did get a backtrace once suggesting that it was trying to
> access digital CDROM audio which is why it crashed. Then again if it
> thinks that the CDROM is a HD then that's not going to help too much
> here either).
> 
> ​The "Multiprocessing" folder contains a file named "Apple CPU Plugins"
> of type cpup. Looking at the resource "cpups", it seems to contain code
> to supplement the OS to support various newer CPUs and architectures. 
> The resources in the file are named (and contain):
> 
> PowerSurge2PPlugin:
> "hammerhead" (old clone computers based off multiple PPC 604I believe)
> 
> G3Plugin:
> Powerbook1,1
> 
> Core99Plugin:
> uni-north
> keylargo
> PowerMac2,1
> PowerMac2,2
> PowerMac3,4
> PowerMac3,5
> PowerMac4,1
> PowerBook3,3
> PowerBook3,4

Now the mac99 machine defines itself as "PowerMac3,1" so that might
suggest that it is something in the keylargo/uni-north code that is
causing the problem. Is there a way to somehow disable the individual
resources in the Core99Plugin in order to determine which one is the
culprit?

> The "Open Transport ASLM Modules" file seem to be a collection of shared
> libraries, since many programs, once this file is removed from the
> extensions folder, refuses to run, for example Apple System Profiler. 
> OTLib$NBPScnr, OTLib$SerIAB are some examples of shared libraries
> contained within this file.  This is verified from the book "Sad Macs,
> Bombs, and Other Disasters: And what to Do about Them By Ted Landau
> ​, see https://goo.gl/TVm9Tt"​ 
> 
> I will do more research.

A good starting point is the "Apple Audio Extension Module" since that
seems to cause havoc on load. Do you know any good tutorials on how to
debug an extension module on load i.e. how to step through its
initialisation? Unfortunately there doesn't seem to be much related
documentation around these days.


ATB,

Mark.




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-24 Thread Alfonso Gamboa
On Tue, Nov 24, 2015 at 12:06 AM, Mark Cave-Ayland <
mark.cave-ayl...@ilande.co.uk> wrote:

> On 24/11/15 05:23, Alfonso Gamboa wrote:
>
> > Here are some links I packaged for the emaculation forum, included is an
> > image with macsbug installed already.  I had success booting to desktop.
> >
> > Note:  it seems as time goes by, booting several times using the ISO
> > images corrupts them, resulting in failed boots with crashes at the boot
> > splash screen.  Crashes will continue until you replace them with fresh
> > ones from the zip files.  Reasons as to why are unknown at this time.
>
> Yeah I noticed when booting from a CDROM that my open windows are
> remembered across sessions(!). This makes me think that OS 9 thinks the
> HFS volume is a HD rather than a CDROM and so mounts it read/write on
> boot. How would I find this out in OS9?
>
> > Resedit, Stuffit, Toast, Disk Copy, utilities in an ISO to mount within
> > QEMU:
> > http://bebop.gtxent.com/qemu_os9_utilities.iso.zip
> >
> > MacOS 9.2.2 bootable image(extensions all removed):
> > http://bebop.gtxent.com/os922_uni.iso.zip
> >
> > MacOS 9.2.1 bootable image(extensions all removed):
> > http://bebop.gtxent.com/os92_test.iso.zip
> >
> > MacOS 9.2.1 bootable image with macsbug (extensions all removed):
> > http://bebop.gtxent.com/os92_test_macsbug.iso.zip
>
> These images are definitely helpful, however what would be really useful
> to know is exactly what the modules in question do:
>
> - Multiprocessing (maybe uses a currently unimplemented CPU instruction
> to facilitate faster multitasking?)
>
> - Open Transport ASLM Modules (no idea what these do)
>
> - Apple Audio Extension Module (is this just a standard sound driver or
> other? I did get a backtrace once suggesting that it was trying to
> access digital CDROM audio which is why it crashed. Then again if it
> thinks that the CDROM is a HD then that's not going to help too much
> here either).
>
>
> ATB,
>
> Mark.
>
>

This is a zip containing qemu-ppc, and a 2gb disk image file with macos
9.2.2 installed. The system folder was modified to allow it to boot from an
unlocked HFS volume. This image has lots of extensions and control panels
included and enabled.  Once you download qemu_easy.zip, extract it, and run
qemu_os9.command (this is just a batch file with arguments)

qemu will now load and boot from the disk image to OS9 desktop.  The disk
image included here is read/write enabled.  I have only tried this on
OS10.11, your success may vary.  MacsBug is included in the root directory,
but is not enabled.


http://bebop.gtxent.com/qemu_easy.zip

thanks,
Alfonso


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-24 Thread Mark Cave-Ayland
On 24/11/15 03:28, Programmingkid wrote:

>> I've just done some testing here on my 9.2.2 ISO and I've found the
>> following:
>>
>> - Removing "Apple Audio Extension" appears to prevent some kind of
>> corruption which allows MacsBugs to give non-corrupt stack traces
>>
>> - The resulting stack trace points at "AINI 8042 05AE Startup ASLM PPC"
>>
>> - Further removing "Open Transport ASLM Modules" allows boot to proceed
>> nearly all the way except for a hang just before the progress bar
>> reaches the end
>>
>> - Finally removing "Multiprocessing" allows boot to proceed all the way
>> to the desktop
>>
>> Alfonso/John can you confirm whether removing these 3 extensions works
>> for your images too? If you are able to run the OS 9 installer all the
>> way through and manually mount the hd images to remove them by hand
>> before the next boot, do you end up with a bootable OS 9 HD image?
> 
> Which version of Macsbug are you using? Do you have an 9.2.2 image file
> available for download that has macsbug installed? I tried installing Macsbug
> 6.6.3 into my iso file, but Mac OS 9 always stops booting right before the 
> debugger
> message is suppose to appear.

One other thing I forgot to mention: if you install MacsBugs onto your
ISO, you need to provide some mouse or keyboard input around the time
when the happy mac icon appears (I normally capture the mouse and move
it around a little), otherwise as you mention you see a freeze just
before "Debugger Installed" appears.

My guess is that MacsBugs is trying to work out whether to use ADB or
USB for keyboard, so unless the OS 9 ADB driver gets any input then it
can't decide and hangs on boot. Then again this could be another bug
somewhere in the QEMU ADB emulation...


ATB,

Mark.




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-24 Thread Mark Cave-Ayland
On 24/11/15 05:23, Alfonso Gamboa wrote:

> Here are some links I packaged for the emaculation forum, included is an
> image with macsbug installed already.  I had success booting to desktop.  
> 
> Note:  it seems as time goes by, booting several times using the ISO
> images corrupts them, resulting in failed boots with crashes at the boot
> splash screen.  Crashes will continue until you replace them with fresh
> ones from the zip files.  Reasons as to why are unknown at this time.

Yeah I noticed when booting from a CDROM that my open windows are
remembered across sessions(!). This makes me think that OS 9 thinks the
HFS volume is a HD rather than a CDROM and so mounts it read/write on
boot. How would I find this out in OS9?

> Resedit, Stuffit, Toast, Disk Copy, utilities in an ISO to mount within
> QEMU:
> http://bebop.gtxent.com/qemu_os9_utilities.iso.zip
> 
> MacOS 9.2.2 bootable image(extensions all removed):
> http://bebop.gtxent.com/os922_uni.iso.zip
> 
> MacOS 9.2.1 bootable image(extensions all removed):
> http://bebop.gtxent.com/os92_test.iso.zip
> 
> MacOS 9.2.1 bootable image with macsbug (extensions all removed):
> http://bebop.gtxent.com/os92_test_macsbug.iso.zip

These images are definitely helpful, however what would be really useful
to know is exactly what the modules in question do:

- Multiprocessing (maybe uses a currently unimplemented CPU instruction
to facilitate faster multitasking?)

- Open Transport ASLM Modules (no idea what these do)

- Apple Audio Extension Module (is this just a standard sound driver or
other? I did get a backtrace once suggesting that it was trying to
access digital CDROM audio which is why it crashed. Then again if it
thinks that the CDROM is a HD then that's not going to help too much
here either).


ATB,

Mark.




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-24 Thread Alfonso Gamboa
On Tue, Nov 24, 2015 at 12:01 AM, Mark Cave-Ayland <
mark.cave-ayl...@ilande.co.uk> wrote:

> On 24/11/15 03:28, Programmingkid wrote:
>
> >> I've just done some testing here on my 9.2.2 ISO and I've found the
> >> following:
> >>
> >> - Removing "Apple Audio Extension" appears to prevent some kind of
> >> corruption which allows MacsBugs to give non-corrupt stack traces
> >>
> >> - The resulting stack trace points at "AINI 8042 05AE Startup ASLM PPC"
> >>
> >> - Further removing "Open Transport ASLM Modules" allows boot to proceed
> >> nearly all the way except for a hang just before the progress bar
> >> reaches the end
> >>
> >> - Finally removing "Multiprocessing" allows boot to proceed all the way
> >> to the desktop
> >>
> >> Alfonso/John can you confirm whether removing these 3 extensions works
> >> for your images too? If you are able to run the OS 9 installer all the
> >> way through and manually mount the hd images to remove them by hand
> >> before the next boot, do you end up with a bootable OS 9 HD image?
> >
> > Which version of Macsbug are you using? Do you have an 9.2.2 image file
> > available for download that has macsbug installed? I tried installing
> Macsbug
> > 6.6.3 into my iso file, but Mac OS 9 always stops booting right before
> the debugger
> > message is suppose to appear.
>
> One other thing I forgot to mention: if you install MacsBugs onto your
> ISO, you need to provide some mouse or keyboard input around the time
> when the happy mac icon appears (I normally capture the mouse and move
> it around a little), otherwise as you mention you see a freeze just
> before "Debugger Installed" appears.
>
> My guess is that MacsBugs is trying to work out whether to use ADB or
> USB for keyboard, so unless the OS 9 ADB driver gets any input then it
> can't decide and hangs on boot. Then again this could be another bug
> somewhere in the QEMU ADB emulation...
>
>
> ATB,
>
> Mark.
>
>
Mark,

You are correct about booting MacsBug and mouse or keyboard input during
happy mac icon!  Also, Programmingkid, you hit the nail on the head
regarding those extensions.  Removing those 4 extensions and
Multiprocessing Folder does indeed allow boot to desktop.

In my testing tonight, I was able to successfully patch the System file to
allow the System Folder from the installation cd to boot off the hard disk
image, before it was throwing an error after happy mac icon saying the
media had been copied and would not boot.  I achieved this by editing the
System file and removing the resource "xboo". This resource apparently
checks whether the boot volume is a locked HFS volume or not, and denies
boot accordingly.

I have included MacsBug 6.6.3 in the System Folder, and right before I get
to desktop, MacsBug opens with a "PowerPC Illegal Instruction at ",
but I am able to type ES (escape to shell) to successfully boot into the
desktop.

Next, when running either the 9.2.1 OR 9.2.2 installer, MacsBug throws,
"PowerPC unmapped memory exception at AAFE0700".  I am then able to escape
to shell and resume the Finder.  I have tried copying the installer to
another disk image, increase memory allocation, to no avail.  The same
error persists.

I was also unable to find a method to boot any installed System File.  I
attempted to use an existing 9.2.2 System Folder found on macintoshgarden,
which would crash QEMU completely.  Next, extracting the "Big System
Morsels" file from the 9.2.2 installation cd (which should be the System
file, just renamed and with a different creator code) and setting the
Creator and Type Codes, throwing it in the System Folder and rebooting,
results in an Illegal Instruction and or Bus Error during boot.

Seems we still have some work to do...

I'm uploading a disk image y'all can use to boot to OS9.2.2CDSYSTEM for
further testing, I will forward the link when its ready to download.

-Alfonso


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-24 Thread Alfonso Gamboa
On Tue, Nov 24, 2015 at 12:06 AM, Mark Cave-Ayland <
mark.cave-ayl...@ilande.co.uk> wrote:

> On 24/11/15 05:23, Alfonso Gamboa wrote:
>
> > Here are some links I packaged for the emaculation forum, included is an
> > image with macsbug installed already.  I had success booting to desktop.
> >
> > Note:  it seems as time goes by, booting several times using the ISO
> > images corrupts them, resulting in failed boots with crashes at the boot
> > splash screen.  Crashes will continue until you replace them with fresh
> > ones from the zip files.  Reasons as to why are unknown at this time.
>
> Yeah I noticed when booting from a CDROM that my open windows are
> remembered across sessions(!). This makes me think that OS 9 thinks the
> HFS volume is a HD rather than a CDROM and so mounts it read/write on
> boot. How would I find this out in OS9?
>
> > Resedit, Stuffit, Toast, Disk Copy, utilities in an ISO to mount within
> > QEMU:
> > http://bebop.gtxent.com/qemu_os9_utilities.iso.zip
> >
> > MacOS 9.2.2 bootable image(extensions all removed):
> > http://bebop.gtxent.com/os922_uni.iso.zip
> >
> > MacOS 9.2.1 bootable image(extensions all removed):
> > http://bebop.gtxent.com/os92_test.iso.zip
> >
> > MacOS 9.2.1 bootable image with macsbug (extensions all removed):
> > http://bebop.gtxent.com/os92_test_macsbug.iso.zip
>
> These images are definitely helpful, however what would be really useful
> to know is exactly what the modules in question do:
>
> - Multiprocessing (maybe uses a currently unimplemented CPU instruction
> to facilitate faster multitasking?)
>
> - Open Transport ASLM Modules (no idea what these do)
>
> - Apple Audio Extension Module (is this just a standard sound driver or
> other? I did get a backtrace once suggesting that it was trying to
> access digital CDROM audio which is why it crashed. Then again if it
> thinks that the CDROM is a HD then that's not going to help too much
> here either).
>
>
> ATB,
>
> Mark.
>
>
​The "Multiprocessing" folder contains a file named "Apple CPU Plugins" of
type cpup. Looking at the resource "cpups", it seems to contain code to
supplement the OS to support various newer CPUs and architectures.  The
resources in the file are named (and contain):

PowerSurge2PPlugin:
"hammerhead" (old clone computers based off multiple PPC 604I believe)

G3Plugin:
Powerbook1,1

Core99Plugin:
uni-north
keylargo
PowerMac2,1
PowerMac2,2
PowerMac3,4
PowerMac3,5
PowerMac4,1
PowerBook3,3
PowerBook3,4

The "Open Transport ASLM Modules" file seem to be a collection of shared
libraries, since many programs, once this file is removed from the
extensions folder, refuses to run, for example Apple System Profiler.
OTLib$NBPScnr, OTLib$SerIAB are some examples of shared libraries contained
within this file.  This is verified from the book "Sad Macs, Bombs, and
Other Disasters: And what to Do about Them By Ted Landau
​, see https://goo.gl/TVm9Tt"​

I will do more research.

Thanks,
Alfonso


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-23 Thread Programmingkid

On Nov 23, 2015, at 4:00 PM, Mark Cave-Ayland wrote:

> On 22/11/15 17:39, Programmingkid wrote:
> 
> Hi Alfonso,
> 
> Has there been any progress at all as to which extensions may be causing
> the crashes?
 
 Remove these extensions from the Extensions folder and Mac OS 9 will boot 
 to the desktop:
 
 Apple Audio Extension
 Apple Enet
 Multiprocessing folder
 Open Transport aslm modules
 Text Encoding Converter
 
 Note: I used Cormac's Mac OS 9.2.1 iso file to do my testing.
>>> 
>>> Now this is definitely helpful. Just to confirm that the presence of any
>>> *one* of these modules causes boot to fail?
>> 
>> Yes. That is correct. 
> 
> I've just done some testing here on my 9.2.2 ISO and I've found the
> following:
> 
> - Removing "Apple Audio Extension" appears to prevent some kind of
> corruption which allows MacsBugs to give non-corrupt stack traces
> 
> - The resulting stack trace points at "AINI 8042 05AE Startup ASLM PPC"
> 
> - Further removing "Open Transport ASLM Modules" allows boot to proceed
> nearly all the way except for a hang just before the progress bar
> reaches the end
> 
> - Finally removing "Multiprocessing" allows boot to proceed all the way
> to the desktop
> 
> Alfonso/John can you confirm whether removing these 3 extensions works
> for your images too? If you are able to run the OS 9 installer all the
> way through and manually mount the hd images to remove them by hand
> before the next boot, do you end up with a bootable OS 9 HD image?

It does work for me, but an illegal instruction error took place when the
desktop showed up. I could not do anything after the crash. Mac OS 9 does
hang sometimes earlier in the boot process,  so the above results are not 
consistent. 

My info:
Image: Mac OS 9.2.1 (Cormac's image)
Macsbug 6.6.3
Host: Mac OS 10.6




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-23 Thread Alfonso Gamboa
On Mon, Nov 23, 2015 at 7:28 PM, Programmingkid 
 wrote:

>
> On Nov 23, 2015, at 4:00 PM, Mark Cave-Ayland wrote:
>
> > On 22/11/15 17:39, Programmingkid wrote:
> >
> > Hi Alfonso,
> >
> > Has there been any progress at all as to which extensions may be
> causing
> > the crashes?
> 
>  Remove these extensions from the Extensions folder and Mac OS 9 will
> boot to the desktop:
> 
>  Apple Audio Extension
>  Apple Enet
>  Multiprocessing folder
>  Open Transport aslm modules
>  Text Encoding Converter
> 
>  Note: I used Cormac's Mac OS 9.2.1 iso file to do my testing.
> >>>
> >>> Now this is definitely helpful. Just to confirm that the presence of
> any
> >>> *one* of these modules causes boot to fail?
> >>
> >> Yes. That is correct.
> >
> > I've just done some testing here on my 9.2.2 ISO and I've found the
> > following:
> >
> > - Removing "Apple Audio Extension" appears to prevent some kind of
> > corruption which allows MacsBugs to give non-corrupt stack traces
> >
> > - The resulting stack trace points at "AINI 8042 05AE Startup ASLM PPC"
> >
> > - Further removing "Open Transport ASLM Modules" allows boot to proceed
> > nearly all the way except for a hang just before the progress bar
> > reaches the end
> >
> > - Finally removing "Multiprocessing" allows boot to proceed all the way
> > to the desktop
> >
> > Alfonso/John can you confirm whether removing these 3 extensions works
> > for your images too? If you are able to run the OS 9 installer all the
> > way through and manually mount the hd images to remove them by hand
> > before the next boot, do you end up with a bootable OS 9 HD image?
>
> Which version of Macsbug are you using? Do you have an 9.2.2 image file
> available for download that has macsbug installed? I tried installing
> Macsbug
> 6.6.3 into my iso file, but Mac OS 9 always stops booting right before the
> debugger
> message is suppose to appear.


Here are some links I packaged for the emaculation forum, included is an
image with macsbug installed already.  I had success booting to desktop.

Note:  it seems as time goes by, booting several times using the ISO images
corrupts them, resulting in failed boots with crashes at the boot splash
screen.  Crashes will continue until you replace them with fresh ones from
the zip files.  Reasons as to why are unknown at this time.

Resedit, Stuffit, Toast, Disk Copy, utilities in an ISO to mount within
QEMU:
http://bebop.gtxent.com/qemu_os9_utilities.iso.zip

MacOS 9.2.2 bootable image(extensions all removed):
http://bebop.gtxent.com/os922_uni.iso.zip

MacOS 9.2.1 bootable image(extensions all removed):
http://bebop.gtxent.com/os92_test.iso.zip

MacOS 9.2.1 bootable image with macsbug (extensions all removed):
http://bebop.gtxent.com/os92_test_macsbug.iso.zip


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-23 Thread Programmingkid

On Nov 23, 2015, at 4:00 PM, Mark Cave-Ayland wrote:

> On 22/11/15 17:39, Programmingkid wrote:
> 
> Hi Alfonso,
> 
> Has there been any progress at all as to which extensions may be causing
> the crashes?
 
 Remove these extensions from the Extensions folder and Mac OS 9 will boot 
 to the desktop:
 
 Apple Audio Extension
 Apple Enet
 Multiprocessing folder
 Open Transport aslm modules
 Text Encoding Converter
 
 Note: I used Cormac's Mac OS 9.2.1 iso file to do my testing.
>>> 
>>> Now this is definitely helpful. Just to confirm that the presence of any
>>> *one* of these modules causes boot to fail?
>> 
>> Yes. That is correct. 
> 
> I've just done some testing here on my 9.2.2 ISO and I've found the
> following:
> 
> - Removing "Apple Audio Extension" appears to prevent some kind of
> corruption which allows MacsBugs to give non-corrupt stack traces
> 
> - The resulting stack trace points at "AINI 8042 05AE Startup ASLM PPC"
> 
> - Further removing "Open Transport ASLM Modules" allows boot to proceed
> nearly all the way except for a hang just before the progress bar
> reaches the end
> 
> - Finally removing "Multiprocessing" allows boot to proceed all the way
> to the desktop
> 
> Alfonso/John can you confirm whether removing these 3 extensions works
> for your images too? If you are able to run the OS 9 installer all the
> way through and manually mount the hd images to remove them by hand
> before the next boot, do you end up with a bootable OS 9 HD image?

Which version of Macsbug are you using? Do you have an 9.2.2 image file
available for download that has macsbug installed? I tried installing Macsbug
6.6.3 into my iso file, but Mac OS 9 always stops booting right before the 
debugger
message is suppose to appear.


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-23 Thread Mark Cave-Ayland
On 22/11/15 17:39, Programmingkid wrote:

 Hi Alfonso,

 Has there been any progress at all as to which extensions may be causing
 the crashes?
>>>
>>> Remove these extensions from the Extensions folder and Mac OS 9 will boot 
>>> to the desktop:
>>>
>>> Apple Audio Extension
>>> Apple Enet
>>> Multiprocessing folder
>>> Open Transport aslm modules
>>> Text Encoding Converter
>>>
>>> Note: I used Cormac's Mac OS 9.2.1 iso file to do my testing.
>>
>> Now this is definitely helpful. Just to confirm that the presence of any
>> *one* of these modules causes boot to fail?
> 
> Yes. That is correct. 

I've just done some testing here on my 9.2.2 ISO and I've found the
following:

- Removing "Apple Audio Extension" appears to prevent some kind of
corruption which allows MacsBugs to give non-corrupt stack traces

- The resulting stack trace points at "AINI 8042 05AE Startup ASLM PPC"

- Further removing "Open Transport ASLM Modules" allows boot to proceed
nearly all the way except for a hang just before the progress bar
reaches the end

- Finally removing "Multiprocessing" allows boot to proceed all the way
to the desktop

Alfonso/John can you confirm whether removing these 3 extensions works
for your images too? If you are able to run the OS 9 installer all the
way through and manually mount the hd images to remove them by hand
before the next boot, do you end up with a bootable OS 9 HD image?


ATB,

Mark.




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-22 Thread Mark Cave-Ayland
On 21/11/15 22:59, Programmingkid wrote:

> On Nov 21, 2015, at 7:32 AM, Mark Cave-Ayland wrote:
> 
>> On 20/11/15 17:06, Alfonso Gamboa wrote:
>>
>>> booting into MacOS9 with qemu to the Desktop is now possible, see:
>>>
>>> http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250
>>>
>>> Some issues,  remain,  certain extensions crash on boot.
>>
>> Hi Alfonso,
>>
>> Has there been any progress at all as to which extensions may be causing
>> the crashes?
> 
> Remove these extensions from the Extensions folder and Mac OS 9 will boot to 
> the desktop:
> 
> Apple Audio Extension
> Apple Enet
> Multiprocessing folder
> Open Transport aslm modules
> Text Encoding Converter
> 
> Note: I used Cormac's Mac OS 9.2.1 iso file to do my testing.

Now this is definitely helpful. Just to confirm that the presence of any
*one* of these modules causes boot to fail?


ATB,

Mark.




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-22 Thread Programmingkid

On Nov 22, 2015, at 6:58 AM, Mark Cave-Ayland wrote:

> On 21/11/15 22:59, Programmingkid wrote:
> 
>> On Nov 21, 2015, at 7:32 AM, Mark Cave-Ayland wrote:
>> 
>>> On 20/11/15 17:06, Alfonso Gamboa wrote:
>>> 
 booting into MacOS9 with qemu to the Desktop is now possible, see:
 
 http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250
 
 Some issues,  remain,  certain extensions crash on boot.
>>> 
>>> Hi Alfonso,
>>> 
>>> Has there been any progress at all as to which extensions may be causing
>>> the crashes?
>> 
>> Remove these extensions from the Extensions folder and Mac OS 9 will boot to 
>> the desktop:
>> 
>> Apple Audio Extension
>> Apple Enet
>> Multiprocessing folder
>> Open Transport aslm modules
>> Text Encoding Converter
>> 
>> Note: I used Cormac's Mac OS 9.2.1 iso file to do my testing.
> 
> Now this is definitely helpful. Just to confirm that the presence of any
> *one* of these modules causes boot to fail?

Yes. That is correct. 


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-21 Thread Programmingkid

On Nov 21, 2015, at 7:32 AM, Mark Cave-Ayland wrote:

> On 20/11/15 17:06, Alfonso Gamboa wrote:
> 
>> booting into MacOS9 with qemu to the Desktop is now possible, see:
>> 
>> http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250
>> 
>> Some issues,  remain,  certain extensions crash on boot.
> 
> Hi Alfonso,
> 
> Has there been any progress at all as to which extensions may be causing
> the crashes?

Trying to find that out is going to be hard. The extension manager does not 
appear when the space bar is held down.


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-21 Thread Programmingkid

On Nov 21, 2015, at 7:32 AM, Mark Cave-Ayland wrote:

> On 20/11/15 17:06, Alfonso Gamboa wrote:
> 
>> booting into MacOS9 with qemu to the Desktop is now possible, see:
>> 
>> http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250
>> 
>> Some issues,  remain,  certain extensions crash on boot.
> 
> Hi Alfonso,
> 
> Has there been any progress at all as to which extensions may be causing
> the crashes?

Remove these extensions from the Extensions folder and Mac OS 9 will boot to 
the desktop:

Apple Audio Extension
Apple Enet
Multiprocessing folder
Open Transport aslm modules
Text Encoding Converter

Note: I used Cormac's Mac OS 9.2.1 iso file to do my testing.


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-21 Thread Mark Cave-Ayland
On 20/11/15 22:40, BALATON Zoltan wrote:

> On Fri, 20 Nov 2015, Alfonso Gamboa wrote:
>> booting into MacOS9 with qemu to the Desktop is now possible, see:
>>
>> http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250
> 
> Very nice.
> 
>> On Nov 20, 2015 7:46 AM, "Programmingkid" 
>> wrote:
>>> I use to have the same belief until Mark set me straight. We are only
>>> making an emulator of a new world Mac, not a simulator of a PowerMac3,1.
>>> This means we might be able to get away with not exactly mirroring a
>>> real
>>> Mac. The fact that Mac OS 9 can boot up at all does give me hope we
>>> are on
>>> the right path.
> 
> I'm clear on that but what I've meant was that we probably have to make
> a closer emulation of the real PowerMac (not one to one but close
> enough) to make OSes written for that hardware happy. I think we are
> missing some i2c and gpio emulation that these OSes might expect but I'm
> not sure.
> 
> One thing that might help to hint at what's missing is to compile QEMU
> with DEBUG_UNASSIGNED (this will generate a lot of logs) and try to find
> out what is accessed that is not emulated.

Just to clarify here that this doesn't mean that I'm unwilling to accept
patches that move the device model more towards a real Mac, only that
any such patches must provide replacements for any new peripherals
introduced so that during the transition there is no loss of functionality.


ATB,

Mark.




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-21 Thread Mark Cave-Ayland
On 20/11/15 17:06, Alfonso Gamboa wrote:

> booting into MacOS9 with qemu to the Desktop is now possible, see:
> 
> http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250
> 
> Some issues,  remain,  certain extensions crash on boot.

Hi Alfonso,

Has there been any progress at all as to which extensions may be causing
the crashes?


ATB,

Mark.




Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-20 Thread Alfonso Gamboa
booting into MacOS9 with qemu to the Desktop is now possible, see:

http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250

Some issues,  remain,  certain extensions crash on boot.
On Nov 20, 2015 7:46 AM, "Programmingkid"  wrote:

>
> On Nov 20, 2015, at 8:39 AM, BALATON Zoltan wrote:
>
> > On Thu, 19 Nov 2015, Segher Boessenkool wrote:
> >> Some mac99/pmu99 hardware has an ADB keyboard, fwiw (tibook, for
> example).
> >> The do have built-in USB; that, and being newworld, are not directly
> >> related things.
> >
> > Maybe, but the PowerMac3,1 we are trying to emulate here does not have
> ADB AFAIK. Although qemu's mac99 is not a real machine now we should move
> to being closer to some existing hardware if we want OSes written for that
> hardware to run.
>
> I use to have the same belief until Mark set me straight. We are only
> making an emulator of a new world Mac, not a simulator of a PowerMac3,1.
> This means we might be able to get away with not exactly mirroring a real
> Mac. The fact that Mac OS 9 can boot up at all does give me hope we are on
> the right path.
> --
> OpenBIOS http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you
>


Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] CUDA has problems with Mac OS 10.4

2015-11-20 Thread BALATON Zoltan

On Fri, 20 Nov 2015, Alfonso Gamboa wrote:

booting into MacOS9 with qemu to the Desktop is now possible, see:

http://www.emaculation.com/forum/viewtopic.php?f=34=7047=250


Very nice.


On Nov 20, 2015 7:46 AM, "Programmingkid"  wrote:

I use to have the same belief until Mark set me straight. We are only
making an emulator of a new world Mac, not a simulator of a PowerMac3,1.
This means we might be able to get away with not exactly mirroring a real
Mac. The fact that Mac OS 9 can boot up at all does give me hope we are on
the right path.


I'm clear on that but what I've meant was that we probably have to make a 
closer emulation of the real PowerMac (not one to one but close enough) to 
make OSes written for that hardware happy. I think we are missing some i2c 
and gpio emulation that these OSes might expect but I'm not sure.


One thing that might help to hint at what's missing is to compile QEMU 
with DEBUG_UNASSIGNED (this will generate a lot of logs) and try to find 
out what is accessed that is not emulated.


Regards,
BALATON Zoltan