InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Blackknight (AnV/Qoopz-based) kernel w/corrected Phenom FSB detection (http://infinitemac.com/showthread.php?t=5112)

andyvand 04-21-2010 09:10 PM

It has to do with the sysenter instruction being unavailable on AMD.
We need sysenter emu / replacement code in custom dyld...

RayFlower 04-21-2010 11:49 PM

Thanks, this kernel works fine for me with the exception of 64bit of course, however about the dyld fix, was this something that worked in leopard and can be backwards engineered or is this something completely different that will be hard to implement?

SL is still not an option to me because the experience is too unstable but i always keep a partition of it on a old ide drive to play around with, my main issue now is that some AudioUnit plugins(from ikmultimedia only) kills /usr/bin/avaltool which is the tool Logic and Logic Express uses to verify AudioUnits, this wasn't a problem with my previous SL install but i have no idea what causes this.

Otherwise SL on amd is now pretty stable after removing the necessary cpuids, so a big thumbs up for everyone who are involved with the development of this kernel and the kernels its based on:)

blackknight 05-03-2010 11:00 PM

I am sure both Andy and I are glad to help. Andy definitely knows more about the kernel than I do.

As far as the on-the-fly CPUID patcher, is anyone working on this? Did the Voodoo team die or something? This is one thing that makes AMD installs so difficult. If it wasn't for the fact that my Radeon HD 4550 won't work in Leopard, I would be using it exclusively as it is rock-solid and easy to setup. If someone would give me some help in building a kernel for 10.5, I would have my Phenom patch working with it too. At least with Leopard, I can get my ALC889a working with 7.1 analog surround sound whereas I can't get any sound to work in SL. I wonder if it has something to do with the kernel though.

RayFlower 05-03-2010 11:29 PM

A phenom optimized leopard kernel would be most welcome!

gotytytyty 05-27-2010 03:04 AM

@ m28ew : Hi, how did you manage to install SL? I have the same motherboard as yours but mine gets stuck at " controller will be unloaded across sleep ".

Thanks in advance!

andyvand 05-27-2010 12:17 PM

This evening I'll make a full and complete kernel with otf patcher (cpuid + sysenter patcher). I'll post it when done... keep you posted ;)
update:
voodoobuild.sh 60 procent done
dyld patch ready

eMatoS 05-28-2010 08:47 PM

I'll be waiting to test that :)

RayFlower 05-28-2010 11:09 PM

Great, thats lovely news!

Imkantus 05-28-2010 11:11 PM

Me, too! :)

Can't wait to try this... :cool:

Quote:

Originally Posted by andyvand (Post 48498)
dyld patch ready

Just for my interest & better understanding as kind of N00b regarding these things: dyld is used to load libraries, frameworks, etc needed by a process? And SYSENTER is an Opcode that is required by dyld to peform some kind of operation (64-Bit related??), but SYSENTER is not supported by AMD CPUs right?
So even with having that dyld Patch - I would still need to patch CPUIDs? And CPUID means that the software is checking if the machine is using a GenuineIntel CPU?

Sorry for that many (dumb?) questions & if I might be totally wrong - but I would realy appreciate to get some help with understanding things better. :)

andyvand 05-29-2010 10:30 AM

sysenter is used by dyld to map the app and then run it.
the custom dyld uses syscall 8 (used to be old creat call in Tiger and older, customized to map segment).
Here is an update:
voodoobuild about 85 procent done
fixed Libc build issue, it now builds correct
fixed libsyscall, added dependencies from iokit and the required headers which were missing from IOUSBFamily and IOFireWireFamily, it now builds too.
Now all that is left is libsystem static libc build, dyld and then I can work on the kernel.
dyld will thus be finished today ;)