Jump to content

[AMD] Yosemite Kernel Testing (for help use the Help Topic)


Duran Keeley
 Share

1,898 posts in this topic

Recommended Posts

@Gils, test the kernel attached below on your Kabini CPU.

I take it is an AMD Athlon 5350? (2,05 Ghz)

Remove fsb=100 and busratio=21

Only specify fsb if it still does not work...

I added the required TSC code to the sources...

It gets the busratio from the AMD COFFVID MSR register so it should always be correct...

Let me know as I looked up some info on the CPU... Kabini = model 22 (which was missing in the tsc.c file).

It should now properly scale the clock...

It should not use much of the opemu as those CPU's have plenty of instructions...

 

Some info:

http://tweakers.net/pricewatch/376732/amd-athlon-5350-boxed/specificaties/

Instruction sets:
AES, AVX, MMX, SSE, SSE2, SSE3, SSE4, SSE4.1, SSE4.2, SSSE3, x86-64

I uploaded the sources to my Github parts... easier that way...

NOTE: Patch was not updated...

Using this kernel in 10.10.1. it's flawless in my system. you guys are geniuses.

things that have NEVER worked on my hack now work. Thank you very much...

no corrupted images anywhere. can select objects in finder. compiling works. and more.

iCloud still has half implementation with work around but it's good enough for me.

Thank you again. Testing stability. 

  • Like 3
Link to comment
Share on other sites

HI Bronya

 

//INS phaddw xmm0, xmmword ptr [rax+1020304h]

 

[rax+.....]

 

this rax is Base Not Index
 

 

if index in Pointer [ ] is display [rax*2] or[rax*4] or[rax*8]
 
index register  in Pointer Must is [index * Scaling factor]
 

Ok ! Tnx ! =))) 

Link to comment
Share on other sites

 

Currently On the Mac OS

 
Possible use to the instruction set
 
Look Xnu /osfmk/i386/commpage/commpage.c
Function commpage_init_cpu_capabilities
 
		case 9:
			bits |= kHasAVX1_0;
			/* fall thru */
		case 8:
			bits |= kHasSSE4_2;
			/* fall thru */
		case 7:
			bits |= kHasSSE4_1;
			/* fall thru */
		case 6:
			bits |= kHasSupplementalSSE3;
			/* fall thru */
		case 5:
			bits |= kHasSSE3;
			/* fall thru */
		case 4:
			bits |= kHasSSE2;
			/* fall thru */
		case 3:
			bits |= kHasSSE;
			/* fall thru */
		case 2:
			bits |= kHasMMX;

 

AVX1.0
SSE4.2
SSE4.1
SSSE3   <<< Minimum Requirements
SSE3
SSE2
SSE
MMX
 
K10 FX & APU Series Supported Currently Mac All May be Used instruction set
 
5350_CPUzs.jpg
 
K8 K10 because less than the minimum requirement No SSSE3
So Need SSSE3 Emulator
 
10.10.2 xnu version number is xnu-2782.10.72
 
10102-num_zps6fce6d45.png
 
Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64
 
 
Now APU Use xnu-2782.1.97 Kernel to invalid kernel opcode
 
This means that the New xnu Seems to have been redefined register

 

 

 

:)

 

10.10/10.10.1 works good , but look TSC , it's not correct default . 

post-1093405-0-21248100-1423605925_thumb.png

post-1093405-0-80190600-1423605941_thumb.png

post-1093405-0-92753000-1423606001_thumb.png

post-1093405-0-28778400-1423606055_thumb.png

Link to comment
Share on other sites

I tested both kernel_10.10_all_amd_rc5 and 1010-SSEPlus-rev7 both worked incredibly well. (no sound issues with ALC 889).

 

The only problem I have is incorrect frequency detection.

 

My AMD Phenom II 1090t is getting clocked at 3.61Ghz instead of its stock 3.2Ghz. (Online it says that 3.6Ghz is the turbo core clock for my processor. Coincidence??)

 

Hopefully this helps.

 

The picture of CPU-x attached is with 1010-SSEPlus-rev7 kernel.

post-983100-0-89250900-1423608130_thumb.png

  • Like 1
Link to comment
Share on other sites

I tested both kernel_10.10_all_amd_rc5 and 1010-SSEPlus-rev7 both worked incredibly well. (no sound issues with ALC 889).

 

The only problem I have is incorrect frequency detection.

 

My AMD Phenom II 1090t it is getting clocked at 3.61Ghz instead of it's stock 3.2Ghz. (Online it says that 3.6Ghz is the turbo core clock for my processor. Coincidence??)

 

Hopefully this helps.

 

The picture of CPU-x attached is with 1010-SSEPlus-rev7 kernel.

 

Intel FSB = AMD HT-Link

 

I Use Old TSC & New RTC

 

TEST Audio Stuttering

1010-SSEPlus-Rev.8.zip

  • Like 1
Link to comment
Share on other sites

 

Hi ! 
I modified my opemu without SSEPlus and working ))) .

 

But i watching problem bug glitches in avatar safari in only Yosemite ! Maybe problem in fetchoperands this mod .
This beta version . In archive include opemu files :) . Full diff file tomorrow .
I make kernels for 10.9.5 and 10.10 ! 
Try please !
 
 
Soon for 10.7.5 and 10.8.5 ! 

 

Thanks for your efforts to improve your kernels for old AMD CPUs.

Unfortunately these two kernels always get the same invalid user opcode 64 errors for Athlon X2 4200+ (939 pins) in Asus A8N32-SLI MB.

Can you or any experts here solve it ?

post-70188-0-64318000-1423642622_thumb.jpg

Link to comment
Share on other sites

Thanks for your efforts to improve your kernels for old AMD CPUs.

Unfortunately these two kernels always get the same invalid user opcode 64 errors for Athlon X2 4200+ (939 pins) in Asus A8N32-SLI MB.

Can you or any experts here solve it ?

 

USBF: Error MSG  Unable to Use USB 2.0

 

/Extra/org.chameleon.Boot.plist
Add the following parameters
<key>USBLegacyOff</key>
<string>Yes</string>
USB 2.0 Can work
  • Like 1
Link to comment
Share on other sites

Unfortunately my audio stutter a lot with rev.8 without adding busratio and fsb as bootflag.....

a question....what about patch.diff in rar?how to use it, if it's made for being used, sorry for my ignorance about this

Link to comment
Share on other sites

 

USBF: Error MSG  Unable to Use USB 2.0

 

/Extra/org.chameleon.Boot.plist
Add the following parameters
<key>USBLegacyOff</key>
<string>Yes</string>
USB 2.0 Can work

 

Do you mean if I disable LegacyUSB in BIOS will make these kernels working too ?

Or I must Add this boot-argument in org.chameleon.Boot.plist ?

Because it always hanged there when this error message appeared without Kernel Panic sign.

Link to comment
Share on other sites

 

USBF: Error MSG  Unable to Use USB 2.0

 

/Extra/org.chameleon.Boot.plist
Add the following parameters
<key>USBLegacyOff</key>
<string>Yes</string>
USB 2.0 Can work

 

Either that or use my new custom IOUSBFamily.

That has legacy support built right in AppleUSBEHCI.

Just takes control from BIOS ;)

Link to comment
Share on other sites

Unfortunately my audio stutter a lot with rev.8 without adding busratio and fsb as bootflag.....

a question....what about patch.diff in rar?how to use it, if it's made for being used, sorry for my ignorance about this

I believe the developers created that file to show the changes they made to that specific kernel version, and so that other developers working on the same project could use that file to quickly make those same changes to their own kernel.

 

It's interesting how you and I have an ALC 889 and an AMD phenom II 1090t and yet we have different results, mainly your audio stutters and mine doesn't. Also try using the boot flag -f to ignore any previous kernel cache after you replace the kernel.

 

Maybe it is a motherboard issue?

 

Are you using the latest version of VoodooHDA.kext?

Link to comment
Share on other sites

 

USBF: Error MSG  Unable to Use USB 2.0

 

/Extra/org.chameleon.Boot.plist
Add the following parameters
<key>USBLegacyOff</key>
<string>Yes</string>
USB 2.0 Can work

 

Unfortunately the above procedure can not work for me.

It still got the same error as before:

invalid user opcode 64: 98 44 c1 8f ff 7f 00 00 2b 00 00 00 00 00 00 00

I guess it's the dead end of old AMD CPUs such as my Athlon 64 X2 4200+ now !

Link to comment
Share on other sites

Unfortunately the above procedure can not work for me.

It still got the same error as before:

invalid user opcode 64: 98 44 c1 8f ff 7f 00 00 2b 00 00 00 00 00 00 00

I guess it's the dead end of old AMD CPUs such as my Athlon 64 X2 4200+ now !

 

Are you using 10.10.1 or 10.10.2? Be honest here. 10.10.2 does not work yet and spits out invalid opcode errors.

Link to comment
Share on other sites

You Use old kernel Not Use Rev or AnV-R8 Series Ver

 

invalid user opcode 64: 98 44 c1 8f ff 7f 00 00 2b 00 00 00 00 00 00 00

 

98 44 c1 8f ff 7f 00 00 this is RIP 00 00 7f ff 8f c1 44 98 Not Opcode. Without this opcode encoding

 

I have modified OPEMU the display for invalid user opcode: to opcode

Do you mean I must use Kernel in R8x series instead of Bronya_all_amd.Rc4 ?

Because I always got reboot when I used your SSEPlus_R4, R5, & R6 or hanged as the below:

Invalid user opcode (64-bit): f0 48 0f c7 0f 75 ef 5b c3 0f

post-70188-0-16009200-1423722795_thumb.jpg

Link to comment
Share on other sites

@Tora Chi Yo @Bronya @AnV

Just want to say thank you for this amazing kernel! Using 1010-SSEPlus-Rev.8 kernel, works perfectly so far. No more graphic problems and launchpad looks great too! Here's my CPU/Mobo: AMD Phenom II X4 955 BE, M4A88T-V EVO/USB3. I will report back with any issues.

 

post-1312076-0-62502400-1423725852_thumb.png

Link to comment
Share on other sites

Do you mean I must use Kernel in R8x series instead of Bronya_all_amd.Rc4 ?

Because I always got reboot when I used your SSEPlus_R4, R5, & R6 or hanged as the below:

Invalid user opcode (64-bit): f0 48 0f c7 0f 75 ef 5b c3 0f

I got rid of that by removing AppleTymce kext or something like that, as i was using Mac Pro 6,1 and it used to get stuck after loading everything fine.... change smbios or remove the kext.... 

Link to comment
Share on other sites

 Share

×
×
  • Create New...