Comment 1 by Evan Lojewski, Aug 29, 2011
Comment 2 by Ernst Wtz, Aug 31, 2011
As cparm said i will post the issue i got with the new release here. After "Chameleon starting" the system restarts with my AMD K10 System. The old release is working without problems except FSB detection.
Comment 3 by armel cadet-petit, Aug 31, 2011
Comment 4 by armel cadet-petit, Sep 6, 2011
ok sorry for the delay, here is a version that should support AMD cpus, let me know if it work thank
- i386.zip - 542.07 kB
Comment 5 by Andy Moa, Sep 7, 2011
Nope instant Reboot !! Tx for looking into it
Comment 6 by armel cadet-petit, Sep 7, 2011
can you please test this version, nothing has changed so it will crash, but i have added some debug message + pause, just tell me what is the last debug message that u can see before it reboot cparm
- i386.zip - 544.40 kB
Comment 7 by Andy Moa, Sep 7, 2011
Done this is a screenshot of it http://cl.ly/2U2I451Q2D3Y153o1q3C Hope this helps AkimoA
Comment 9 by Ernst Wtz, Sep 7, 2011
This version is working again but it stops two times at the beginning and it´s waiting for a key. The messege that appears where it is stopping is: 1.Attemping to detect cpu mode 2. cpu mode is 32 bit The FSB detection is also not working in this momment. Thanks for your affords.
Comment 10 by Ernst Wtz, Sep 7, 2011
I will also post a dump from bdmesg: cpuid 1 , press any key rdmsr64(MSR_IA32_BIOS_SIGN_ID) , press any key cpuid 0x80000001 , press any key cpuid 0x80000007 , press any key cpuid 5 , press any key measure tsc , press any key AMD CPU Detection Enabled CPU: Vendor/Model/ExtModel: 0x68747541/0x4/0x0 CPU: Family/ExtFamily: 0x10/0x1 CPU (AMD): TSCFreq: 3000MHz CPU (AMD): FSBFreq: 0MHz CPU (AMD): CPUFreq: 0MHz CPU (AMD): MaxCoef/CurrCoef: 0x0/0x0 CPU (AMD): MaxDiv/CurrDiv: 0x0/0x0 CPU: NoCores/NoThreads: 4/1 CPU: Features: 0x178bfbff CPU: ExtFeatures: 0xefd3fbff CPU: MicrocodeVersion: 0 Press a key to continue...
Comment 11 by Ernst Wtz, Sep 7, 2011
Sorry i don´t recognized it that i´ve also to press a key after every line which is shown in bdmesg. Thanks.
Comment 13 by Ernst Wtz, Sep 9, 2011
Yeah men! You are the best!!! Everything is working perfect now. Thank´s for your great work. It´s really great that somebody did this for amd users. Here a dump from bdmesg: AMD CPU Detection Enabled CPU: Vendor/Model/ExtModel: 0x68747541/0x4/0x0 CPU: Family/ExtFamily: 0x10/0x1 CPU (AMD): TSCFreq: 3000MHz CPU (AMD): FSBFreq: 200MHz CPU (AMD): CPUFreq: 3000MHz CPU (AMD): MaxCoef/CurrCoef: 0x0/0x0 CPU (AMD): MaxDiv/CurrDiv: 0x0/0x0 CPU: NoCores/NoThreads: 4/1 CPU: Features: 0x178bfbff CPU: ExtFeatures: 0xefd3fbff
Comment 15 by Ernst Wtz, Sep 10, 2011
This version is working too. Whats the difference? Again a dump from bdmesg: Last login: Sat Sep 10 02:40:42 on console HackintoshX4:~ Wastez$ bdmesg AMD CPU Detection Enabled CPU: Vendor/Model/ExtModel: 0x68747541/0x4/0x0 CPU: Family/ExtFamily: 0x10/0x1 CPU (AMD): TSCFreq: 3000MHz CPU (AMD): FSBFreq: 200MHz CPU (AMD): CPUFreq: 3000MHz CPU (AMD): MaxCoef/CurrCoef: 0x0/0x0 CPU (AMD): MaxDiv/CurrDiv: 0x0/0x0 CPU: NoCores/NoThreads: 4/1 CPU: Features: 0x178bfbff CPU: ExtFeatures: 0xefd3fbff
Comment 16 by Ernst Wtz, Sep 10, 2011
On the second time i booted i got a wrong fsb: AMD CPU Detection Enabled CPU: Vendor/Model/ExtModel: 0x68747541/0x4/0x0 CPU: Family/ExtFamily: 0x10/0x1 CPU (AMD): TSCFreq: 3000MHz CPU (AMD): FSBFreq: 275MHz CPU (AMD): CPUFreq: 3000MHz CPU (AMD): MaxCoef/CurrCoef: 0x0/0x0 CPU (AMD): MaxDiv/CurrDiv: 0x0/0x0 CPU: NoCores/NoThreads: 4/1 CPU: Features: 0x178bfbff CPU: ExtFeatures: 0xefd3fbff
Comment 17 by Ernst Wtz, Sep 10, 2011
But i booted again 4 times and everything was ok. Seems that it was coincidence. But it would be interessting to know the difference. Thanks.
Comment 18 by Andy Moa, Sep 11, 2011
Works great ! Only thing i recognized is that i t gave me a never seen ACPI Error before it starts the Bootprocess(wich is fine) This one : Error: Incorect ACPI RSD PTR or not found (might be related to me using a wrong /or missing a module) and wondering about CPU: NoCores/NoThreads: 4/1 shouldnt it be the other way round or am i trippin ? Thanks again m8
Comment 19 by Andy Moa, Sep 11, 2011
Nevermind bout the acpi error it was again my fault ;) used the codec and it wasnt in extra/acpi now im on the acpipatcher and its smooth ;)
Comment 20 by armel cadet-petit, Sep 13, 2011
hi, i just updated my branch, note that amd support is not by default, you need to unquote //#define AMD_SUPPORT in cpu.c note 2: if AMD_SUPPORT is enabled intel support is disabled note 3: if you prefer i can move the amd code into a module AMD users, feel free to report any bugs... peace out, cparm
Comment 21 by Andy Moa, Sep 14, 2011
AMD Code in Module is a very good idea ...my dream is a module exualy allows us AMD user to exualy go full on vanilla without the need of patching a xnu kernel Very Good Work m8 !!!appreciated
Comment 22 by Ernst Wtz, Sep 14, 2011
Thx for your hard work. With your new branch i got with bdmesg this: AMD CPU Detection Enabled CPU: Vendor/Model/ExtModel: 0x68747541/0x4/0x0 CPU: Family/ExtFamily: 0x10/0x1 CPU (AMD): TSCFreq: 3000MHz CPU (AMD): FSBFreq: 200MHz CPU (AMD): CPUFreq: 3000MHz CPU (AMD): MaxCoef/CurrCoef: 0x0/0x0 CPU (AMD): MaxDiv/CurrDiv: 0x0/0x0 CPU: NoCores/NoThreads: 1/0 CPU: Features: 0x178bfbff CPU: ExtFeatures: 0xefd3fbf Is it correct that number of cores is 1, because mine is a quadcore! Or does it only show the number of cpu´s?
Comment 23 by armel cadet-petit, Sep 14, 2011
oops, the bug is now fixed and my branch is updated , thank you. now , can you test the attached version, where i try to go a little further on AMD cpus detection cparm
- i386.zip - 549.74 kB
Comment 24 by Andy Moa, Sep 14, 2011
Tryed works just fine AMD CPU Detection Enabled CPU: Vendor/Model/ExtModel: 0x68747541/0x4/0x0 CPU: Family/ExtFamily: 0x10/0x1 CPU (AMD): TSCFreq: 3214MHz CPU (AMD): FSBFreq: 200MHz CPU (AMD): CPUFreq: 3214MHz CPU (AMD): MaxCoef/CurrCoef: 0x0/0x0 CPU (AMD): MaxDiv/CurrDiv: 0x0/0x0 CPU: NoCores/NoThreads: 4/4 CPU: Features: 0x178bfbff CPU: ExtFeatures: 0xefd3fbff What exactly are you tryin may i ask
Comment 25 by armel cadet-petit, Sep 14, 2011
it should detect the correct number of core(s) and thread(s) for AMD cpus (since the method appear to not be exactly the same as intel cpus) and also the platform type (mobile or desktop) 1 have you changed the cpu frequency (is 3214mhz the good frequency ?) 2 can you send a complete bdmesg dump. cparm
Comment 26 by Andy Moa, Sep 14, 2011
tx for explaining the modules i used u can see in the bdmesg anyway rest is done by dsdt here is the dump http://pastebin.com/meiWuNFZ AkimoA
Comment 27 by Andy Moa, Sep 14, 2011
CPU is the rite one since we are 2 different people who are testing here ;)
Comment 28 by Ernst Wtz, Sep 15, 2011
Now everything is working fine. The only thing is that sometimes the feb detection is wrong. I´ve posted it a few posts before. But it is really rarely that this appears. Thx again for your work.
Comment 29 by Cosmosis Jones, May 8, 2012
Reported by Andy Moa, Aug 29, 2011