Jump to content

Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)

Mountain Lion AMD legacy kernel x64_86 ssse3 ssse3 emulator

  • Please log in to reply
6354 replies to this topic

#301
Shaneee

Shaneee

    AMD Dev Tester

  • Retired
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.
ML on AMD would be great. Its a shame I cant code to help but I would happily test on my AMD Athlon II X2 215

#302
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

ML on AMD would be great. Its a shame I cant code to help but I would happily test on my AMD Athlon II X2 215


this is good, you can use the latest kernel "connatic" and "Xnu.diff" check on your computer

#303
Shaneee

Shaneee

    AMD Dev Tester

  • Retired
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.

this is good, you can use the latest kernel "connatic" and "Xnu.diff" check on your computer


Are they listed in this thread?

#304
SS01

SS01

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts
  • Gender:Male
  • Location:Ottawa
yes, look in the previous pages

spakk, is lion on amd relatively stable, or should i stick to snow leopard

#305
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

yes, look in the previous pages

spakk, is lion on amd relatively stable, or should i stick to snow leopard



Lion 10.7.2 to 10.7.5

with CPU Phenom II X6 1100T is not stable also only 32-bit DP2 Finder. In between comes kernel panic, it's only for testing purpose.
With CPU FX 8150 8-core, it seems to work very well, with 64-bit

What kind of CPU do you have?

if you do not not have CPU FX8150, then install SNOW 10.6 and then update to 10.6.8.

#306
SS01

SS01

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts
  • Gender:Male
  • Location:Ottawa
spakk: okay, was just curious, i have basically your cpu but with 4 cores

#307
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português
I have dug a nice toy from the old forums

"581_AMD_Intel_SSE2_SSE3_Kernel_Patcher" and "OSx86_Socket_Source_Code" checks that, please!

http://www.workupload.com/file/VtYUP7j

spakk: okay, was just curious, i have basically your cpu but with 4 cores


Snow 10.6.8 works very well

#308
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

Are they listed in this thread?


see here #275

#309
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português
Author: Nero24
Discrimination by Intel compiler on AMD systems deal
The theme is basically a few years old and also in our forum discussed sufficiently, so we here simply refer to the relevant threads and messages:Short and concise summary: Intel maintains its own compiler and the high financial cost. Now you can argue about whether it is "fair" - if that term is applicable at all in a competitive situation on the free market - that Intel will ensure that the optimization of the Intel compiler mostly Intel processors used to benefit and AMD processors - although they would eventually benefit from the optimizations - not.

Already 2 years ago, we have reported in detail the difference it can make in terms of performance, if manufacturer-specific optimizations are used or not. At that time, the VIA Nano processor was used as a comparison, which makes it possible to change the CPUID Vendor VIA processor and the program - in this case the Futuremark PCMark2005 - An Intel pretend. Then the value in the memory benchmarks increased from 1845 (CPUID = VIA) to 2721 (CPUID = Intel) points.

With an AMD processor, however, it is not so easy to manipulate the visible Vendor ID for the programs. Only option here: virtualization. I set up on VMWare up a virtualized system, it is very possible the guest to miss another CPUID, when the host system actually has. In Agners CPU blog explains how this works:

By analogy to Andrew's code, I assume that you can make an AMD processor spoof to be "GenuineIntel" with these lines:

cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"
cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"
epuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"

The Intel software checks so the family number, Which should be set to 6:

cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"

The software then looks inside the guest an Intel processor, even if the host system has an AMD CPU. If the performance-critical software to be used, translated with an Intel compiler, which should improve performance significantly. Provided however, that the software used all the flags correctly polls, because not always dominate current AMD processors and all commands from the comparable Intel processors. Example: SSSE3, which previously dominated non-AMD processor, or special SMT SIMD instructions older Intel processors, which were not on AMD processors in the absence of SMT implemented. The software asks all relevant flags from correctly, that's no problem. However, the software is programmed sloppy and "thinks", "ah, Intel processor, then this and that must indeed be supported", the program crashes when using this virtualization tricks out of hand.

is it possible to implement something in the code? So that the kernel thinks it is such a Intel i7 980 cpu and not a CPU AMD Phenom II X6 1100T is? Something like a generator compared with various Intel and AMD cpus. sorry for my bad english.

here is the download link of cpuidfake:
http://www.agner.org...mize/#cpuidfake

http://www.agner.org/optimize/


Important information for programmers:
http://devgurus.amd.com/thread/95754


look here for if this is useful?
http://code.metager....ochs/cpu/cpudb/

#310
SS01

SS01

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts
  • Gender:Male
  • Location:Ottawa
I'm sorry spakk, I'm not a programmer. I think we'll have to wait till connactic gets back.

#311
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

I'm sorry spakk, I'm not a programmer. I think we'll have to wait till connactic gets back.



We all hope theconnatic can program an amd bulldozer kernel.. :wink2:
:yoji:

#312
Shaneee

Shaneee

    AMD Dev Tester

  • Retired
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.
Maybe there is something to be learnt from the Lion AMD kernel thats out?

#313
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

Maybe there is something to be learnt from the Lion AMD kernel thats out?


I don't know, probably by Andy Vandijck legacy kernel? I am not a programmer

#314
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português
What do you think ,#310 possible?

#315
SS01

SS01

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts
  • Gender:Male
  • Location:Ottawa
spakk, ist Ihr Englisch besser als mein Deutsch!

Author: Nero24
Discrimination by Intel compiler on AMD systems deal
The theme is basically a few years old and also in our forum discussed sufficiently, so we here simply refer to the relevant threads and messages:

Short and concise summary: Intel maintains its own compiler and the high financial cost. Now you can argue about whether it is "fair" - if that term is applicable at all in a competitive situation on the free market - that Intel will ensure that the optimization of the Intel compiler mostly Intel processors used to benefit and AMD processors - although they would eventually benefit from the optimizations - not.

Already 2 years ago, we have reported in detail the difference it can make in terms of performance, if manufacturer-specific optimizations are used or not. At that time, the VIA Nano processor was used as a comparison, which makes it possible to change the CPUID Vendor VIA processor and the program - in this case the Futuremark PCMark2005 - An Intel pretend. Then the value in the memory benchmarks increased from 1845 (CPUID = VIA) to 2721 (CPUID = Intel) points.

With an AMD processor, however, it is not so easy to manipulate the visible Vendor ID for the programs. Only option here: virtualization. I set up on VMWare up a virtualized system, it is very possible the guest to miss another CPUID, when the host system actually has. In Agners CPU blog explains how this works:

By analogy to Andrew's code, I assume that you can make an AMD processor spoof to be "GenuineIntel" with these lines:

cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"
cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"
epuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"

The Intel software checks so the family number, Which should be set to 6:

cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"

The software then looks inside the guest an Intel processor, even if the host system has an AMD CPU. If the performance-critical software to be used, translated with an Intel compiler, which should improve performance significantly. Provided however, that the software used all the flags correctly polls, because not always dominate current AMD processors and all commands from the comparable Intel processors. Example: SSSE3, which previously dominated non-AMD processor, or special SMT SIMD instructions older Intel processors, which were not on AMD processors in the absence of SMT implemented. The software asks all relevant flags from correctly, that's no problem. However, the software is programmed sloppy and "thinks", "ah, Intel processor, then this and that must indeed be supported", the program crashes when using this virtualization tricks out of hand.

is it possible to implement something in the code? So that the kernel thinks it is such a Intel i7 980 cpu and not a CPU AMD Phenom II X6 1100T is? Something like a generator compared with various Intel and AMD cpus. sorry for my bad english.

here is the download link of cpuidfake:
http://www.agner.org...mize/#cpuidfake

http://www.agner.org/optimize/


Important information for programmers:
http://devgurus.amd.com/thread/95754


look here for if this is useful?
http://code.metager....ochs/cpu/cpudb/

Hmm.. This seems like a rather ambitious idea, but I can actually see it working. I'm learning C, but veeeeeeery slowly - I've just learned how to declare an array, lol. Lets ask connactic about it when he gets back.spakk, ist Ihr Englisch besser als mein Deutsch!

#316
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

spakk, ist Ihr Englisch besser als mein Deutsch!

Hmm.. This seems like a rather ambitious idea, but I can actually see it working. I'm learning C, but veeeeeeery slowly - I've just learned how to declare an array, lol. Lets ask connactic about it when he gets back.spakk, ist Ihr Englisch besser als mein Deutsch!


I really hope that someone is able, at the end result, a running kernel.

PS: Dein Deutsch ist gut :king:

AMD Phenom II on Linux

http://duopetalflowe...bit-kernel.html

when running on Linux then it should also be possible to run on Mac OS X?

#317
Shaneee

Shaneee

    AMD Dev Tester

  • Retired
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.
Here it is trying to boot on my AMD system in my signature,

Attached File  IMG_0022.JPG   366.69KB   23 downloads

#318
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

Here it is trying to boot on my AMD system in my signature,

Attached File  IMG_0022.JPG   366.69KB   23 downloads


we have to wait until theconnatic builds us a new kernel. This is basically the same kernel panic

you can try with the following boot flags;
-v -x cpus=2 arch=x86_64 maxmem=4096 busratio=20
or
-v -x cpus=2 arch=x86 maxmem=4096 busratio=20

#319
Shaneee

Shaneee

    AMD Dev Tester

  • Retired
  • 1,002 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Web Design. OS X. Music.
Also tried it on an old P4 CPU and the panic on that is "can't preform kext scan: no kext summary" the rest of the screen is the same as above.

#320
spakk

spakk

    If you try to please everyone, then you have certainly forgotten

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,894 posts
  • Gender:Male
  • Location:português

Also tried it on an old P4 CPU and the panic on that is "can't preform kext scan: no kext summary" the rest of the screen is the same as above.


Problem to load corecrypto.kext





Also tagged with one or more of these keywords: Mountain Lion, AMD, legacy kernel, x64_86, ssse3, ssse3 emulator


3 user(s) are reading this topic

3 members, 0 guests, 0 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy