spakk Posted July 13, 2013 Share Posted July 13, 2013 tu as raison , j'ai noté une surchauffe importante du matèriel , surtout le CPU et ses périphériques (condo/diode/mosfet) c'est dangereux pour le matèriel et j'ai eu le message "time out opengl" suivi d'artefact beaucoup plus important que sur ATI !! et maintenant nvidia ne marche plus mauvaise info de ma part !! j'y croyais pourtant . Sorry Gils, I have not expressed myself correctly. luckily I did not have damage hardware, but a problem with Mountain Lion, it was broken, I have reinstalled Mountain Lion and now its works! I can only boot with Andy's amd_kernel with Clover. Unfortunately I have no success to start with the current kernel of bronzovka in the desktop. Link to comment Share on other sites More sharing options...
spakk Posted July 14, 2013 Share Posted July 14, 2013 hello Spakk , il marche très bien son noyau sur Phenom/FX lequel tu as prit ? ah !!! mais il n'est pas dispo je te l'envoies en MP mais attention fais attention à ton hardware it works very well on its core Phenom / FX which you took? ah! but it is not available I send thee MP but watch pay attention to your hardware My friend, unfortunately I had no success with the last two kernel Link to comment Share on other sites More sharing options...
spakk Posted July 15, 2013 Share Posted July 15, 2013 with ML DP2 x86_64 ? I'm stupid, testing with OS X 10.8.2 Mountain Lion DP4 Link to comment Share on other sites More sharing options...
spakk Posted July 16, 2013 Share Posted July 16, 2013 Hi Bronzovka, Hi Gilsthe retarder (Erratum 298, aka TLB-Bug ), ie the built-TLB patch in AMD boards (BIOS) can be permanently deactivated possible from the new AM2 + motherboards with AMD 700 chipset by a tool, see link (unfortunately all in German ) with Tools , can this information help us out of the sh_it ? please check it Edit: AMD Overdrive Utility 4.2.6 download link an old version AMD Overdrive Utility http://www.planet3dnow.de/cgi-bin/newspub/viewnews.cgi?category=2&id=1198763768 CrystalCPUID (x86 version, NOT the x64 version) http://crystalmark.info/download/index-e.html#CrystalCPUID http://www.hardwarecanucks.com/forum/o-ss-drivers-general-software/5634-helping-hand-vista-service-pack-1-vs-your-phenom.html Phenom TLB Disable Tool and Phenom MSR tweaking tool http://www.xtremesystems.org/forums/showthread.php?180338-Phenom-TLB-Disable-Tool-and-Phenom-MSR-tweaking-tool link off 2 Link to comment Share on other sites More sharing options...
spakk Posted July 17, 2013 Share Posted July 17, 2013 it's a shame it works only on Windows 32-bit, I have a 64-bit system, so it does not work. may be someone in a position to write a tool for OSX which stops the TLB-bug. Link to comment Share on other sites More sharing options...
bcobco Posted July 17, 2013 Share Posted July 17, 2013 it's a shame it works only on Windows 32-bit, I have a 64-bit system, so it does not work. may be someone in a position to write a tool for OSX which stops the TLB-bug. that bug is known, to be fixed by updated bioses. if your cpu has this bug (Phenom B2 stepping http://www.anandtech.com/show/2477/2) please use the TLB cache fix from the bios and thats all. if you have a fixed cpu stepping, you dont need that fix at all. there is also software solution fot the bug (see linux source) from where we can see the implementation of the bugfix. when i taked about that TLB bug fix, i was meaning in how that bugfix handles that incorrect cpu parameters to avoid that issue. in our case, the "incorrect situation" would be all those intel instructions unsupported on amd cpus. i was wondering if its possible to inspire in this solution unluckily i dont understand source code to involve deeper into this, 1 Link to comment Share on other sites More sharing options...
spakk Posted July 17, 2013 Share Posted July 17, 2013 that bug is known, to be fixed by updated bioses. if your cpu has this bug (Phenom B2 stepping http://www.anandtech.com/show/2477/2) please use the TLB cache fix from the bios and thats all. if you have a fixed cpu stepping, you dont need that fix at all. there is also software solution fot the bug (see linux source) from where we can see the implementation of the bugfix. when i taked about that TLB bug fix, i was meaning in how that bugfix handles that incorrect cpu parameters to avoid that issue. in our case, the "incorrect situation" would be all those intel instructions unsupported on amd cpus. i was wondering if its possible to inspire in this solution unluckily i dont understand source code to involve deeper into this, bcobco, thanks for your quick response, but in my BIOS I did not find this option for activation or deactivation of the TLB bug. I have installed the latest BIOS update, and can not remember the previous BIOS versions have a activation or deactivation of the Bug admitted. when the PC starts I see during boot: Processor: AMD Phenom (tm) II X6 1100T Processor (CPUID: 00100FA0 ID: 00BF) what are these information? the patch is active or disabled, sorry for my lack of knowledge. Link to comment Share on other sites More sharing options...
spakk Posted July 17, 2013 Share Posted July 17, 2013 (edited) Information whether or not I think they will not accéssible interface bios. It should read ROM directly via an application to this effect as expected for a graphics card that would be to simply flash the bios Gils, there exist on the AMD website various microcode_amd.bin files for various CPUs, I do not know if we can embed these bin files in clover? under the bin folder? This package provides latest microcode patches for AMD processor families >= 0x10. See http://www.amd64.org/support/microcode.html for details. Microcode patches are included in container files: - 'microcode_amd.bin' (for AMD CPU families 10h - 14h) - 'microcode_amd_fam15h.bin' (for AMD CPU family 15h) Please read the file INSTALL for install instructions. Please read the file LICENSE for licensing information. The container files include following microcode patches: mc_patch_01000083_PUB-v4/mc_patch_01000083.asm mc_patch_01000084_PUB-v4/mc_patch_01000084.asm mc_patch_010000C7_PUB-v1/mc_patch_010000C7.asm mc_patch_010000C8_PUB-v1/mc_patch_010000C8.asm mc_patch_010000D9_PUB-v1/mc_patch_010000D9.asm mc_patch_010000DA_PUB-v1/mc_patch_010000DA.asm mc_patch_010000DB_PUB-v1/mc_patch_010000DB.asm mc_patch_010000DC_PUB-v1/mc_patch_010000DC.asm mc_patch_03000027_PUB-v1/mc_patch_03000027.asm mc_patch_05000028_PUB-v3/mc_patch_05000028.asm mc_patch_0500010D_PUB-v1/mc_patch_0500010D.asm mc_patch_06000624_PUB-v1/mc_patch_06000624.asm *********************************************************************** Copyright 2008, 2012 ADVANCED MICRO DEVICES, INC. All Rights Reserved. AMD is granting you permission to use this software and documentation (if any) (collectively, the “Materials”) pursuant to the terms and conditions of the Software License Agreement included with the Materials. This header does NOT give you permission to use the Materials or any rights under AMD’s intellectual property. Your use of any portion of these Materials shall constitute your acceptance of those terms and conditions. If you do not agree to the terms and conditions of the Software License Agreement, you do not have permission to use any portion of these Materials. If you do not have a copy of the Software License Agreement, contact your AMD representative for a copy. LIMITATION OF LIABILITY: THE MATERIALS ARE PROVIDED “AS IS” WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT OF THIRD-PARTY INTELLECTUAL PROPERTY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE, OR THOSE ARISING FROM CUSTOM OF TRADE OR COURSE OF USAGE. FOR CLARIFICATION, THE ENTIRE RISK ARISING OUT OF USE OR PERFORMANCE OF THE MATERIALS REMAINS WITH YOU. AMD DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS AS TO THE CORRECTNESS, ACCURACY, COMPLETENESS, QUALITY, OR RELIABILITY OF THE MATERIALS. AMD DOES NOT WARRANT THAT OPERATION OF THE MATERIALS WILL BE UNINTERRUPTED OR ERROR-FREE. YOU ARE RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING THE SOFTWARE AND ASSUME ALL RISKS ASSOCIATED WITH THE USE OF THE MATERIALS, INCLUDING BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO OR LOSS OF DATA, PROGRAMS OR EQUIPMENT, AND UNAVAILABILITY OR INTERRUPTION OF OPERATIONS. Some jurisdictions do not allow for the exclusion or limitation of implied warranties, so the above limitations or exclusions may not apply to you. IN NO EVENT SHALL AMD OR ITS DIRECTORS, OFFICERS, EMPLOYEES AND AGENTS, ITS SUPPLIERS OR ITS LICENSORS BE LIABLE TO YOU OR ANY THIRD PARTIES IN RECEIPT OF THE MATERIALS UNDER ANY THEORY OF LIABILITY, WHETHER EQUITABLE, LEGAL OR COMMON LAW ACTION ARISING HEREUNDER FOR CONTRACT, STRICT LIABILITY, INDEMNITY, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE FOR DAMAGES WHICH, IN THE AGGREGATE EXCEED TEN DOLLARS ($10.00). IN NO EVENT SHALL AMD BE LIABLE FOR ANY CONSEQUENTIAL, INCIDENTAL, PUNITIVE OR SPECIAL DAMAGES, INCLUDING, BUT NOT LIMITED TO LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION ARISING OUT OF THE USE OF OR INABILITY TO USE THE MATERIALS, EVEN IF AMD HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. BY USING THE MATERIALS WITHOUT CHARGE, YOU ACCEPT THIS ALLOCATION OF RISK. Because some jurisdictions prohibit the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you. AMD does not assume any responsibility for any errors which may appear in the Materials or any other related information provided to you by AMD, or result from use of the Materials or any related information. You agree that you will not reverse engineer or decompile the Materials, in whole or in part. NO SUPPORT OBLIGATION: AMD is not obligated to furnish, support, or make any further information, software, technical information, know-how, or show-how available to you. Additionally, AMD retains the right to modify the Materials at any time, without notice, and is not obligated to provide such modified Materials to you. U.S. GOVERNMENT RESTRICTED RIGHTS: The Materials are provided with "RESTRICTED RIGHTS." Use, duplication, or disclosure by the Government is subject to the restrictions as set forth in FAR 52.227-14 and DFAR252.227-7013, et seq., or its successor. Use of the Materials by the Government constitutes acknowledgement of AMD's proprietary rights in them. EXPORT RESTRICTIONS: You shall adhere to all applicable U.S., European, and other export laws, including but not limited to the U.S. Export Administration Regulations (“EAR”), (15 C.F.R. Sections 730 through 774), and E.U. Council Regulation (EC) No 1334/2000 of 22 June 2000. Further, pursuant to Section 740.6 of the EAR, You hereby certify that, except pursuant to a license granted by the United States Department of Commerce Bureau of Industry and Security or as otherwise permitted pursuant to a License Exception under the EAR, You will not (1) export, re-export or release to a national of a country in Country Groups D:1, E:1 or E:2 any restricted technology, software, or source code it receives from AMD, or (2) export to Country Groups D:1, E:1 or E:2 the direct product of such technology or software, if such foreign produced direct product is subject to national security controls as identified on the Commerce Control List (currently found in Supplement 1 to Part 774 of EAR). For the most current Country Group listings, or for additional information about the EAR or Your obligations under those regulations, please refer to the U.S. Bureau of Industry and Security’s website at http://www.bis.doc.gov/. and I do not know if these files, disable the TLB bug? amd-ucode-latest.tar Edited July 17, 2013 by spakk Link to comment Share on other sites More sharing options...
spakk Posted July 17, 2013 Share Posted July 17, 2013 \amd-ucode-2012-01-17\microcode_amd.bin.README ;******************************************************************************; The associated microcode container file fixes the errata as documented in; Revision Guide for AMD Family 10h Processors, order #41322,; Revision Guide for AMD Family 12h Processors, order #44739,; Revision Guide for AMD Family 14h Models 00h-0Fh Processors, order #47534,; for different revisions of AMD processors as follows:;; CPUIDFn[0000_0001]_EAX; ID; Errata fixed;;; 0x00100F22; 0x01000083; 244, 260, 280, 302, 308, 315, 342;; 0x00100F23; 0x01000083; 244, 260, 280, 302, 308, 315, 342;; 0x00100F2A; 0x01000084; 244, 260, 280, 302, 308, 315, 342;; 0x00100F42; 0x010000DB; 342, 440, 573;; 0x00100F43; 0x010000C8; 407, 440;; 0x00100F52; 0x010000DB; 342, 440, 573;; 0x00100F53; 0x010000C8; 407, 440;; 0x00100F62; 0x010000C7; 407, 440;; 0x00100F63; 0x010000C8; 407, 440;; 0x00100F80; 0x010000DA; 419, 440, 573;; 0x00100F81; 0x010000D9; #406, #407, #440, #573, #669;; 0x00100F91; 0x010000D9; #406, #407, #440, #573, #669;; 0x00100FA0; 0x010000DC; 438, 440, 573;; 0x00300F10; 0x03000027; #564, #573, #662, #686;; 0x00500F10; 0x05000028; #461, #564, #594, #595;; 0x00500F20; 0x0500010D; #461, #564, #594, #639, #662, #686;;;****************************************************************************** \amd-ucode-2012-01-17\microcode_amd_fam15h.bin.README ;******************************************************************************; The associated microcode container file fixes the errata as documented in; Revision Guide for AMD Family 15h Models 00h-0Fh Processors, order #48063,; for different revisions of AMD processors as follows:;; CPUIDFn[0000_0001]_EAX; ID; Errata fixed;;; 0x00600F12; 0x06000624; #659, #660, #661, #668, #671, #672, #673;;;****************************************************************************** how can we integrate these microcode.bin-files during the boot of OSX? Link to comment Share on other sites More sharing options...
Overclocked Tardis Posted July 18, 2013 Share Posted July 18, 2013 Hey folks, greetings I got Bronya's 10.8.3 rc 4 working on my AMD A-10 5800k APU (with an integrated 7660D) using Clover r1888. I used the kernel to install and boot 10.8.3 Quick specs: An Aptio board from MSI (FM2-A55M-E33) AMD A10 5800k APU Integrated 7660D(I couldn't even get to Clover's GUI while using this integrated GPU, I had to fetch an old PCIe GeForce 9400GT) 8Gigs of Ram What went wrong: 6 minutes or so after booting to the desktop, I'd get a kernel panic. Everything up until that point is smooth as butter ( not considering software OpenGL) As stated in the first post of this thread and in the amd nvidia thread, I had to remove those GeForce kexts to avoid the gray screen, but in return, experience the wonders of software mode GL. Also, I've tried andy's kernels with Clover and It seems as if I can't get to the desktop. I'm totally new to clover, so I may be missing something somewhere. the amount of options are overwhelming, but booting an untouched, vanilla osx iso made me moist. But yeah, I plan to play around with 10.8.2 tonight with various kernels and clover and we'll see how far I get with this setup. Not asking for help or anything, just wanted to chime in as an A-10 user, as I've not seen anyone else with these in this thread. Thanks for all the hard work!!! update: The instability was caused by an incorrect bus/TSC numbers. Once corrected, everything remains stable. Link to comment Share on other sites More sharing options...
spakk Posted July 18, 2013 Share Posted July 18, 2013 It makes sense to integrate the TLB patch in the DSDT, Gil's idea is good This part of the patch modifies the involved MSR registers to disable the TLB-fix if applied via bios: /* enable workaround for AMD Erratum 298 if necessary */+ if ((c->x86 == 0x10) && (c->x86_model x86_mask != 3)) {+ /* re-enable TLB caching if BIOS disabled it */+ rdmsrl(MSR_K8_HWCR, value);+ value &= ~(1UL + wrmsrl(MSR_K8_HWCR, value);+ rdmsrl(0xC0011023, value);+ value &= ~(1UL + wrmsrl(0xC0011023, value);+ /* enable OS workaround */+ e298_bug = 1;+ printk(KERN_INFO "AMD erratum 298 workaround enabled\n");+ } more info see here: http://www.xtremesystems.org/forums/showthread.php?171105-Howto-disable-the-tlb-fix-with-CrystalCPU I do not know if this information is useful? 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted July 18, 2013 Share Posted July 18, 2013 It makes sense to integrate the TLB patch in the DSDT, Gil's idea is good This part of the patch modifies the involved MSR registers to disable the TLB-fix if applied via bios: more info see here: http://www.xtremesystems.org/forums/showthread.php?171105-Howto-disable-the-tlb-fix-with-CrystalCPU I do not know if this information is useful? I'll take a peek. I got some free time on my hands... EDIT: /* AnV: AMD TLB Fix */ void FixAMDTLB(void) { uint64_t value = 0; /* re-enable TLB caching if BIOS disabled it */ /* MSR_K8_HWCR mod */ value = rdmsr64(0xC0010015); value &= ~(1UL << 3); wrmsr64(0xC0010015, value); /* MSR_C0011023 mod */ value = rdmsr64(0xC0011023); value &= ~(1UL << 1); wrmsr64(0xC0011023, value); } Should do the trick. I added it to cpuid.c and the declaration in cpuid.h I'll compile the kernel now. New boot argument also added: -notlbfix This disables the patch above. I put the function in cpuid_set_info. Kernel compile is busy... EDIT2: Kernel compile done. Source diff is included as usual... SinetekBronzovkAnVoodoo_RC7.diff.zip amd_kernel.zip 6 Link to comment Share on other sites More sharing options...
spakk Posted July 18, 2013 Share Posted July 18, 2013 (edited) I'll take a peek. I got some free time on my hands... EDIT: /* AnV: AMD TLB Fix */ void FixAMDTLB(void) { uint64_t value = 0; /* re-enable TLB caching if BIOS disabled it */ /* MSR_K8_HWCR mod */ value = rdmsr64(0xC0010015); value &= ~(1UL << 3); wrmsr64(0xC0010015, value); /* MSR_C0011023 mod */ value = rdmsr64(0xC0011023); value &= ~(1UL << 1); wrmsr64(0xC0011023, value); } Should do the trick. I added it to cpuid.c and the declaration in cpuid.h I'll compile the kernel now. New boot argument also added: -notlbfix This disables the patch above. I put the function in cpuid_set_info. Kernel compile is busy... EDIT2: Kernel compile done. Source diff is included as usual... Many thanks, you are now as faster as the light Unfortunately I can not test at the moment, sitting in the office when I'm home I will test your new kernel and the patch, many thanks for the quick processing. Edited July 18, 2013 by spakk 2 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted July 18, 2013 Share Posted July 18, 2013 Many thanks, you are now as faster as the light Unfortunately I can not test at the moment, sitting in the office when I'm home I will test your new kernel and the patch, many thanks for the quick processing. No problem, free time means time to check things out 1 Link to comment Share on other sites More sharing options...
spakk Posted July 18, 2013 Share Posted July 18, 2013 No problem, free time means time to check things out If this should work, then mavericks is ready for AMD- hackintosh , or what do you think andy? 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted July 18, 2013 Share Posted July 18, 2013 If this should work, then mavericks is ready for AMD- hackintosh , or what do you think andy?When we get the Mavericks kernel source we will see.You never know what they changed. But lets hope yes EDIT: According to the internet AMD CPU's with this fix run faster 2 Link to comment Share on other sites More sharing options...
+ira Posted July 18, 2013 Share Posted July 18, 2013 if it works it is the revolution in AMD purists!! I'm still at work, I can not test, spakk your impressions? I can test it but i don't know if my specs would fit the need for a test, can someone briefly explain what this patch is for? I'm following the posts about TLB but i cannot get it because my lack of knowledge and time... 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted July 18, 2013 Share Posted July 18, 2013 I can test it but i don't know if my specs would fit the need for a test, can someone briefly explain what this patch is for? I'm following the posts about TLB but i cannot get it because my lack of knowledge and time... It disables the AMD TLB "fix" that is set by the BIOS. This enables thus TLB caching on AMD CPU's... Link to comment Share on other sites More sharing options...
+ira Posted July 18, 2013 Share Posted July 18, 2013 It disables the AMD TLB "fix" that is set by the BIOS. This enables thus TLB caching on AMD CPU's... Thank you Andy, i take a time to read about TLB, what i found is that this is only related to L3 cache but my CPU didn't have it so i assume this patch has nothing to do with my CPU (Athlon II X2 240), i'm right? Link to comment Share on other sites More sharing options...
bcobco Posted July 18, 2013 Share Posted July 18, 2013 booting here: Last login: Thu Jul 18 17:35:09 on consoleccs-iMac:~ cc$ sysctl -A kern hwkern.ostype: Darwinkern.osrelease: 12.3.0kern.osrevision: 199506kern.version: Darwin Kernel Version 12.3.0: do 18 jul 2013 16:05:36 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64kern.maxvnodes: 66560kern.maxproc: 1064kern.maxfiles: 12288kern.argmax: 262144kern.securelevel: 0kern.hostname: ccs-iMac.localkern.hostid: 0kern.clockrate: { hz = 100, tick = 10000, tickadj = 2, profhz = 100, stathz = 100 }kern.posix1version: 200112kern.ngroups: 16kern.job_control: 1kern.saved_ids: 1kern.boottime: { sec = 1374161372, usec = 0 } Thu Jul 18 17:29:32 2013kern.nisdomainname:kern.maxfilesperproc: 10240kern.maxprocperuid: 709kern.ipc.maxsockbuf: 4194304kern.ipc.sockbuf_waste_factor: 8kern.ipc.somaxconn: 128kern.ipc.mbstat: Format:S,mbstat Length:580 Dump:0xa002000054010000000000004b010000...kern.ipc.nmbclusters: 32768kern.ipc.soqlimitcompat: 1kern.ipc.mb_stat: Format:S,mb_stat Length:960 Dump:0x07000000000000006d62756600000000...kern.ipc.mleak_sample_factor: 500kern.ipc.mb_normalized: 0kern.ipc.mb_watchdog: 0kern.ipc.sosendminchain: 16384kern.ipc.sorecvmincopy: 16384kern.ipc.sosendjcl: 1kern.ipc.sosendjcl_ignore_capab: 0kern.ipc.sodefunctlog: 0kern.ipc.sothrottlelog: 0kern.ipc.sotcdb: 1kern.ipc.maxsockets: 512kern.ipc.njcl: 10920kern.ipc.njclbytes: 16384kern.ipc.soqlencomp: 0kern.ipc.io_policy.throttled: 0kern.ipc.sendfileuiobufs: 64kern.usrstack: 1392476160kern.netboot: 0kern.sysv.shmmax: 4194304kern.sysv.shmmin: 1kern.sysv.shmmni: 32kern.sysv.shmseg: 8kern.sysv.shmall: 1024kern.sysv.semmni: 87381kern.sysv.semmns: 87381kern.sysv.semmnu: 87381kern.sysv.semmsl: 87381kern.sysv.semume: 10kern.aiomax: 90kern.aioprocmax: 16kern.aiothreads: 4kern.corefile: /cores/core.%Pkern.coredump: 1kern.sugid_coredump: 0kern.delayterm: 0kern.shreg_private: 0kern.posix.sem.max: 10000kern.usrstack64: 140734585864192kern.nx: 0kern.tfp.policy: 2kern.procname:kern.speculative_reads_disabled: 0kern.osversion: 12D78kern.safeboot: 1kern.lctx.last: 1kern.lctx.count: 0kern.lctx.max: 8192kern.rage_vnode: 0kern.tty.ptmx_max: 127kern.threadname:kern.sleeptime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970kern.waketime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970kern.willshutdown: 0kern.progressmeterenable: 0kern.progressmeter: 0kern.hibernatefile:kern.bootsignature: 60453f40f249cac57a691756c86bd4333275f3edkern.hibernatemode: 0kern.nbuf: 16384kern.maxnbuf: 16384kern.jnl_trim_flush: 240kern.flush_cache_on_write: 0kern.sugid_scripts: 0kern.zleak.active: 0kern.zleak.max_zonemap_size: 1610612736kern.zleak.global_threshold: 805306368kern.zleak.zone_threshold: 100663296kern.uuid: 06F6E814-9DAE-32F6-A8F2-A08D3C7AE85Dkern.bootargs: boot-uuid=6AC566AB-6447-3CC0-917A-88ECD2133AA0 rd=*uuid -v npci=0x2000 -notlbfix -xkern.num_files: 790kern.num_vnodes: 18146kern.num_tasks: 2048kern.num_threads: 10240kern.num_taskthreads: 2048kern.namecache_disabled: 0kern.ignore_is_ssd: 0kern.preheat_pages_max: 256kern.preheat_pages_min: 8kern.speculative_prefetch_max: 24576kern.speculative_prefetch_max_iosize: 524288kern.vm_page_free_target: 2000kern.vm_page_free_min: 1500kern.vm_page_free_reserved: 100kern.vm_page_speculative_percentage: 5kern.vm_page_speculative_q_age_ms: 500kern.vm_max_delayed_work_limit: 32kern.vm_max_batch: 256kern.timer_coalescing_enabled: 1kern.setthread_cpupercent: 0kern.singleuser: 0kern.affinity_sets_enabled: 1kern.affinity_sets_mapping: 1kern.slide: 0kern.kdebug_thread_block: 0kern.stack_size: 16384kern.stack_depth_max: 8664kern.ipc_portbt: 0kern.sched: traditionalkern.msgbuf: 65536kern.wq_yielded_threshold: 2000kern.wq_yielded_window_usecs: 30000kern.wq_stalled_window_usecs: 200kern.wq_reduce_pool_window_usecs: 5000000kern.wq_max_timer_interval_usecs: 50000kern.wq_max_threads: 512kern.wq_max_constrained_threads: 64kern.secure_kernel: 0kern.ostype = Darwinkern.osrelease = 12.3.0kern.osrevision = 199506kern.version = Darwin Kernel Version 12.3.0: do 18 jul 2013 16:05:36 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64kern.maxvnodes = 66560kern.maxproc = 1064kern.maxfiles = 12288kern.argmax = 262144kern.securelevel = 0kern.hostname = ccs-iMac.localkern.hostid = 0kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100Use pstat to view kern.vnode informationUse ps to view kern.proc informationUse pstat to view kern.file informationkernel is not compiled for profilingkern.profiling: kern.posix1version = 200112kern.ngroups = 16kern.job_control = 1kern.saved_ids = 1kern.boottime = Thu Jul 18 17:29:32 2013kern.nisdomainname =kern.maxpartitions: no such MIBkern.kdebug: value is not availablekern.update: no such MIBkern.osreldate: no such MIBkern.ntp_pll: no such MIBkern.bootfile: no such MIBkern.maxfilesperproc = 10240kern.maxprocperuid = 709kern.dumpdev: no such MIBkern.ipc: no such MIBkern.dummy: no such MIBkern.dummy: no such MIBkern.usrstack = 1392476160kern.logsigexit: no such MIBkern.symfile: Input/output errorkern.procargs: Invalid argumentkern.dummy: no such MIBkern.netboot = 0kern.panicinfo: no such MIBkern.sysv: no such MIBkern.dummy: no such MIBkern.dummy: no such MIBkern.aiomax = 90kern.aioprocmax = 16kern.aiothreads = 4kern.procargs2: Invalid argumentkern.corefile = /cores/core.%Pkern.coredump = 1kern.sugid_coredump = 0kern.delayterm = 0kern.shreg_private = 0kern.proc_low_pri_io: no such MIBkern.low_pri_window: no such MIBkern.low_pri_delay: no such MIBkern.posix: no such MIBkern.usrstack64 = 140734585864192kern.nx = 0kern.tfp: no such MIBkern.procname =kern.threadsigaltstack: no such MIBkern.speculative_reads_disabled = 0kern.osversion = 12D78kern.safeboot = 1kern.lctx: no such MIBkern.rage_vnode = 0kern.tty: no such MIBkern.check_openevt: Invalid argumentkern.thread_name = kernhw.ncpu: 2hw.byteorder: 1234hw.memsize: 4294967296hw.activecpu: 2hw.physicalcpu: 2hw.physicalcpu_max: 2hw.logicalcpu: 2hw.logicalcpu_max: 2hw.cputype: 7hw.cpusubtype: 4hw.cpu64bit_capable: 1hw.cpufamily: 1114597871hw.cacheconfig: 2 1 1 2 0 0 0 0 0 0hw.cachesize: 4294967296 65536 524288 4194304 0 0 0 0 0 0hw.pagesize: 4096hw.busfrequency: 800000000hw.busfrequency_min: 800000000hw.busfrequency_max: 800000000hw.cpufrequency: 3000000000hw.cpufrequency_min: 3000000000hw.cpufrequency_max: 3000000000hw.cachelinesize: 64hw.l1icachesize: 65536hw.l1dcachesize: 65536hw.l2cachesize: 524288hw.l3cachesize: 4194304hw.tbfrequency: 1000000000hw.packages: 1hw.optional.floatingpoint: 1hw.optional.mmx: 1hw.optional.sse: 1hw.optional.sse2: 1hw.optional.sse3: 1hw.optional.supplementalsse3: 1hw.optional.sse4_1: 0hw.optional.sse4_2: 0hw.optional.x86_64: 1hw.optional.aes: 0hw.optional.avx1_0: 0hw.optional.rdrand: 0hw.optional.f16c: 0hw.optional.enfstrg: 0hw.optional.patcher_opts: 48hw.machine = x86_64hw.model = iMac8,1hw.ncpu = 2hw.byteorder = 1234hw.physmem = 2147483648hw.usermem = 563269632hw.pagesize = 4096hw.disknames: no such MIBhw.diskstats: no such MIBhw.epoch = 0hw.floatingpoint: no such MIBhw.machinearch: no such MIBhw.vectorunit = 1hw.busfrequency = 800000000hw.cpufrequency = 3000000000hw.cachelinesize = 64hw.l1icachesize = 65536hw.l1dcachesize = 65536hw.l2settings = 1hw.l2cachesize = 524288hw.l3settings = 1hw.l3cachesize = 4194304hw.tbfrequency = 1000000000hw.memsize = 4294967296hw.availcpu = 2ccs-iMac:~ cc$ hw.l3cachesize = 4194304 wrong, i will try to check myself regarding the TLB bug... the bios automatically applies the patch if it detects a cpu with the B2 Stepping, in other case, the patch is not applied. seems logic to me. post B2 revisions are not affected, so no TLB fix must be applied. Link to comment Share on other sites More sharing options...
bcobco Posted July 18, 2013 Share Posted July 18, 2013 (edited) the purpose of the TLB bug fix is to see if the CPU caches are cleared for proper operation, the only way to see if this is the cause is to look if there is still the graphics bug. nvidia fails when trying to do graphics acceleration. compatible modes only (-x boot flag) + /* kaitek: + * sysenter is used for 32-bit software, while syscall is used for 64-bit + * software. on amd, the situation is that 32-bit software running in legacy + * mode works, and 64-bit software running in long mode also works. 32-bit + * software running in compatibility mode, however, makes use of sysenter + * which is not available under either long sub-mode on amd processors. + * + * +--------------------------+--------------------------+ + * | amd64 | intel64 | + * +-------------------+--------+-----------------+--------+-----------------+ + * | mode | | long | | ia-32e | + * +-------------------+ legacy +--------+--------+ legacy +--------+--------+ + * | sub-mode | | 64-bit | compat | | 64-bit | compat | + * +-------------------+--------+--------+--------+--------+--------+--------+ + * | syscall/sysret | yes | yes | yes | no | yes | no | + * | sysenter/sysexit | yes | no | no | yes | yes | yes | + * +-------------------+--------+--------+--------+--------+--------+--------+ + * + */ http://stackoverflow.com/questions/9506353/how-to-invoke-a-system-call-via-sysenter-in-inline-assembly-x86-amd64-linux http://semipublic.comp-arch.net/wiki/SYSENTER/SYSEXIT_vs._SYSCALL/SYSRET maybe the win is in translating (intel's) sysenter/sysexit to (amd's) syscall/sysret ??? Edited July 18, 2013 by bcobco 2 Link to comment Share on other sites More sharing options...
spakk Posted July 18, 2013 Share Posted July 18, 2013 It would be very nice if it were true, we need to look further Link to comment Share on other sites More sharing options...
bcobco Posted July 18, 2013 Share Posted July 18, 2013 i am not native english speaker, my english is not very good but i will do my best i dont have technical knowledge, im still learning, just basic notions... so the things im about to say can be completely wrong! intel and amd implement the same thing (?) in different ways (sysenter vs syscall) is this the main -amd hackintosh- issue? if yes, can it be fixed? 1 Link to comment Share on other sites More sharing options...
instant idiot Posted July 18, 2013 Share Posted July 18, 2013 I'll take a peek. I got some free time on my hands... EDIT: /* AnV: AMD TLB Fix */ void FixAMDTLB(void) { uint64_t value = 0; /* re-enable TLB caching if BIOS disabled it */ /* MSR_K8_HWCR mod */ value = rdmsr64(0xC0010015); value &= ~(1UL << 3); wrmsr64(0xC0010015, value); /* MSR_C0011023 mod */ value = rdmsr64(0xC0011023); value &= ~(1UL << 1); wrmsr64(0xC0011023, value); } Should do the trick. I added it to cpuid.c and the declaration in cpuid.h I'll compile the kernel now. New boot argument also added: -notlbfix This disables the patch above. I put the function in cpuid_set_info. Kernel compile is busy... EDIT2: Kernel compile done. Source diff is included as usual... Hi Andy! Unfortunately, I don't think I see any difference (with a 6570) from before: still little artifacts everywhere, Cinebench gives the "red pixel error", and OpenGL apps have a lot of black squares and have a lot of missing characters in their text. Interestingly, unlike everyone else, I have not seen any artifacts whatsoever in Launchpad so far. I am, however, seeing lots of black lines in Firefox, flickering/disappearing Dock, and disappearing file names in Finder. 1 Link to comment Share on other sites More sharing options...
Shaneee Posted July 18, 2013 Share Posted July 18, 2013 Is sysenter and syscall files or kernel commands? If they are files could a roll back from say ML DP2 or Lion work? Link to comment Share on other sites More sharing options...
Recommended Posts