InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Lion 10.7 (http://infinitemac.com/forumdisplay.php?f=100)
-   -   10.7.4 AMD Kernel (http://infinitemac.com/showthread.php?t=7687)

The Connactic 08-03-2012 05:34 PM

As for me, i expect it not to be the clue. If we have to emulate more instructions yet than ssse3, then i think AMD hackintoshing is really at the verge of obsolescence.

justinster123 08-05-2012 08:45 PM

I compiled a 10.7.4 kernel with a mix of patches with R:A:W 's patches and the anv's legacy kernel 0.5.1 for on the fly patching, it boots up for x86_64 and i386 without instant reboot. but gives a kernel panic near where launchd would start up...
I'll upload it soon for you to test.. I doubt you'll get any further than the KP tho, interesting that I am the only one who made a kernel that didn't instantly reboot....
http://www.mediafire.com/download.php?u3kbvqy9it4sjda

The Connactic 08-05-2012 09:46 PM

Great job, Justin! Cool that someone takes the torch from RAW and keeps it running for AMD machines. If a 64-bit kernel is really built, we can even make it to Mountain Lion someday!

Did you ran your kernel on a FX series CPU, or on an older series (therefore, lacking the need of ssse3 support)? Can you upload a screen of your KP, for us to help identify the causes?

Thanks in advance!

justinster123 08-05-2012 09:49 PM

Quote:

Originally Posted by The Connactic (Post 58294)
Great job, Justin! Cool that someone takes the torch from RAW and keeps it running for AMD machines. If a 64-bit kernel is really built, we can even make it to Mountain Lion someday!

Did you ran your kernel on a FX series CPU, or on an older series (therefore, lacking the need of ssse3 support)? Can you upload a screen of your KP, for us to help identify the causes?

Thanks in advance!

Yes, I Will do that, I'm trying to compile the kernel again making some patches to see if it changed anything, but I tested it on a normal NON ssse3 amd cpu,
AMD Athlon X2 7550

the KP is NOT related to ACPI like in the previous kernels for Snow Leopard. It's to do with the patcher I think, Let me upload a screenie soon ^_^
In the meantime, Please try it yourself and let me know your results

The Connactic 08-05-2012 10:41 PM

I'll do just that, but i'm afraid i'll get similar results, since i have a similar dual core, one generation newer, an Athlon II X2 250. Two questions:

1) The KP you got was when booting arch X64_86? Or both archs?

2) Assuming it's possible to boot arch=i386, did it give you 64-bit apps support on your 32-bit non ssse3 capable system? It would be an important thing to know, because it would be a step further even without a true 64-bit kernel with 64-bit extensions (the latest RAW kernel give 64-bit support for i386 kernels, but only on ssse3 capable CPUs).

Thank you, and keep up the good work!

justinster123 08-05-2012 10:48 PM

Quote:

Originally Posted by The Connactic (Post 58296)
I'll do just that, but i'm afraid i'll get similar results, since i have a similar dual core, one generation newer, an Athlon II X2 250. Two questions:

1) The KP you got was when booting arch X64_86? Or both archs?

2) Assuming it's possible to boot arch=i386, did it give you 64-bit apps support on your 32-bit non ssse3 capable system? It would be an important thing to know, because it would be a step further even without a true 64-bit kernel with 64-bit extensions (the latest RAW kernel give 64-bit support for i386 kernels, but only on ssse3 capable CPUs).

Thank you, and keep up the good work!

Any boot flag gives that KP, it has something to do with the integration of the on the fly patcher...

ham4ever 08-05-2012 11:09 PM

good work Justin , i'd really love to test ur kernel as soon i get a new HDD keep the hard work guys

davisin666 08-06-2012 01:18 AM

Good work! :D

Maybe with std_dyld=Yes could work

misterfrista 08-06-2012 08:28 AM

With FX and useflags: -v busratio=155 npci=0x2000 arch=x86_64 I get instant reboot!

R:A:W:X86 08-06-2012 12:37 PM

Quote:

Originally Posted by justinster123 (Post 58292)
I compiled a 10.7.4 kernel with a mix of patches with R:A:W 's patches and the anv's legacy kernel 0.5.1 for on the fly patching, it boots up for x86_64 and i386 without instant reboot. but gives a kernel panic near where launchd would start up...

Well your KP most likely has to do with the binary opcode parsing, that's why the code changes in mach_loader.c are excluded from my patch.

Like I wrote previously, there is not any more need for CPUID parsing in Lion (there is not any application that needs it) + 32-Bit Apps are working for the 64-Bit capable users just fine by binary patching.
That's why I haven't made any attempt to fix this...

Quote:

Originally Posted by justinster123 (Post 58292)
interesting that I am the only one who made a kernel that didn't instantly reboot....

Ehm mate - no offense, but I think you are missing something:

Quote:

Originally Posted by justinster123 (Post 58265)
I tried the kernel on x86_64 on my amd Athlon X2 7550 and it booted to the point where launchd would start up. no further, just like booting without -legacy
it says verbosely "Kernel is LP64" meaning 64-bit i've tried all the possible boot combination but it's a no-go.
SSSE3 emulator, how can it be so hard? (theoretically speaking) because there's only 16 new instructions that SSSE3 introduced.. hmm...

I think it has something to do with the CPU identification routines, why the 64-Bit Kernel boots for you, while it reboots for many others.

The fact that I can boot the x86_64 Pcj XNU on Snow Leopard on my FX machine kinda proves this hypothesis.
Sadly that guy has not ever released any source code (like many other people in the scene). -.-

I will start looking further into this during the next weeks...
...I am currently busy trying some Mountain Lion stuff. :p

Quote:

Originally Posted by misterfrista (Post 58303)
With FX and useflags: -v busratio=155 npci=0x2000 arch=x86_64 I get instant reboot!

It is the same for me - both Kernel don't work at all not x86_64 nor i386 - just instant reboot.