lpukraine Posted February 10, 2015 Share Posted February 10, 2015 invalid kernel opcode 64 you can take a photograph ? invalid kernel opcode 64 : code ?????? OS 10.10.2 or 10.10.1 ?? Absolutely wrong frequency detection: Should be fsb=200 Opcode error: Link to comment Share on other sites More sharing options...
Meowthra Posted February 10, 2015 Share Posted February 10, 2015 Absolutely wrong frequency detection: ImageUploadedByTapatalk1423574588.995567.jpg Should be fsb=200 Opcode error: ImageUploadedByTapatalk1423574635.122432.jpg OK I know I Not Use New TSC Old TSC APU Bus Speed to 100 MHz Perfect audio stuttering Use New RTC Reprocessing tomorrow I Sleep 1 Link to comment Share on other sites More sharing options...
Kaya80 Posted February 10, 2015 Share Posted February 10, 2015 Ok, solved audio problem with busratio=16 fsb=200 on 1090t, is there a way to save this settings? Link to comment Share on other sites More sharing options...
lpukraine Posted February 10, 2015 Share Posted February 10, 2015 Ok, solved audio problem with busratio=16 fsb=200 on 1090t, is there a way to save this settings? Kernel flags in org.chameleon.Boot.plist Link to comment Share on other sites More sharing options...
Eweie Posted February 10, 2015 Share Posted February 10, 2015 @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. 3 Link to comment Share on other sites More sharing options...
Bronya Posted February 10, 2015 Share Posted February 10, 2015 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 More sharing options...
gils83 Posted February 10, 2015 Share Posted February 10, 2015 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 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 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 . Link to comment Share on other sites More sharing options...
Destroya01 Posted February 10, 2015 Share Posted February 10, 2015 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. 1 Link to comment Share on other sites More sharing options...
gils83 Posted February 11, 2015 Share Posted February 11, 2015 Good Link to comment Share on other sites More sharing options...
Meowthra Posted February 11, 2015 Share Posted February 11, 2015 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 1 Link to comment Share on other sites More sharing options...
Destroya01 Posted February 11, 2015 Share Posted February 11, 2015 Intel FSB = AMD HT-Link I Use Old TSC & New RTC TEST Audio Stuttering 1010-SSEPlus-Rev.8 works exactly the same. No audio stuttering on ALC 889. The frequencies are also the same still detected as 3.61Ghz in CPU-x. 1 Link to comment Share on other sites More sharing options...
jsl Posted February 11, 2015 Share Posted February 11, 2015 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 ! mach_10.9.5_bronya_rc1.zip mach_10.10_all_amd_rc4.zip 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 ? Link to comment Share on other sites More sharing options...
Meowthra Posted February 11, 2015 Share Posted February 11, 2015 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 1 Link to comment Share on other sites More sharing options...
Kaya80 Posted February 11, 2015 Share Posted February 11, 2015 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 More sharing options...
jsl Posted February 11, 2015 Share Posted February 11, 2015 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 More sharing options...
Andy Vandijck Posted February 11, 2015 Share Posted February 11, 2015 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 More sharing options...
Destroya01 Posted February 11, 2015 Share Posted February 11, 2015 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 More sharing options...
Kaya80 Posted February 11, 2015 Share Posted February 11, 2015 If i try to boot -f the system doesn't start, already tried many times ago Link to comment Share on other sites More sharing options...
Destroya01 Posted February 11, 2015 Share Posted February 11, 2015 Open a terminal and type in: uname -a Post the output here. That should tell me what kernel you are booting with. Link to comment Share on other sites More sharing options...
jsl Posted February 12, 2015 Share Posted February 12, 2015 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 More sharing options...
ameris_cyning Posted February 12, 2015 Share Posted February 12, 2015 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 More sharing options...
jsl Posted February 12, 2015 Share Posted February 12, 2015 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. 10.10.1 only. Link to comment Share on other sites More sharing options...
jsl Posted February 12, 2015 Share Posted February 12, 2015 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 Link to comment Share on other sites More sharing options...
0xAE9 Posted February 12, 2015 Share Posted February 12, 2015 @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. Link to comment Share on other sites More sharing options...
Meetesh Posted February 12, 2015 Share Posted February 12, 2015 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 More sharing options...
Recommended Posts