Chameleon with DSDT override, I written a patch for Chameleon which overrides default DSDT |
Welcome to the Genius Bar. Here's how this forum works:
1. Members are encouraged to make a guide that details something that they might have found troubling or challenging.
Chances are, if you've seen the same question asked over and over again, you should write a guide for it.
2. This is not the forum for asking questions. If you have a question about a thread that's already here, feel free to ask it.
Just don't start a thread for a specific question. Use the other forums here for that.
3. Posting links to off-site tutorials is not allowed.
4. That's it! Thanks for sharing your information with the rest of us. :)
To keep this forum clean this forum is moderated. You can post in existing topics but new ones will have to be approved before they show up.
![]() |
Chameleon with DSDT override, I written a patch for Chameleon which overrides default DSDT |
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 23 2008, 02:58 PM Post #1
|
![]() ![]()
|
Update: also have a look at http://forum.insanelymac.com/index.php?showtopic=133683
Update: file chameleon in chameleon.zip should become your /boot if you use "easy install method" for Chameleon. If you don't know how to install Chameleon chances are you may screw this up. But reinstall of Chameleon should cure. Still I take no responsibility. Try at your own risk Update: relaxed some sanity checks due to the problem on Superhai's mobo. Thanks him for testing
chameleon.zip ( 76.15K )
Number of downloads: 9080Update: I've just added two options to control DSDT override. First one is DSDT=<filename> which let you specify DSDT file to load. Second one is DropSSDT. If you write DropSSDT=y then all SSDT tables (additions to main DSDT) will be hidden from OSX. If you need to patch SSDT just reunite it with SSDT and override DSDT dropping SSDT. Debug version is also in the archive
chameleon_ssdt.zip ( 76.31K )
Number of downloads: 310Hello. Some people were experiencing problems because of the incompatible DSDT. So I've written a patch to Chameleon which looks for the file named /DSDT.aml and if it finds one it overrides the DSDT with contents of this file. Micro-howto. Under Ubuntu CODE sudo cat /proc/acpi/dsdt > dsdt.dat sudo aptitude install iasl iasl -d dsdt.dat Then correct your dsdt.dsl. (Look at http://forum.insanelymac.com/index.php?showtopic=90505) CODE iasl -ta dsdt.dsl then put dsdt.aml to DSDT.aml in the root of your macos partition. Install Chameleon (any Chameleon install method should do. I personally load it with GRUB) On my system this had mixed results: I now can use vanilla AppleACPIPlatform and AppleAPIC (before I had to use old JaS kexts) but when I try to boot with cpus=2 I recieve a crash (but significantly later than before). Perhaps I have to fix my DSDT some more, perhaps my new problem isn't DSDT-related or perhaps my patch has some problems. This patch is really fresh, I've just written it and I tested it only on my machine . So any bug is possible. You try this patch on your own risk. I take no responsibility of any possible damage. But if you try please leave a comment in this thread Just for the people using search: DSDT replacement solves different problems. One of them is the problem "using 10485 buffer headers and 4096 cluster IO buffer headers" (like http://forum.insanelymac.com/index.php?showtopic=78235 except that you get both cores working) EDIT: Removed old version. Put new which should support more configurations
chameleondsdt_acpi12.zip ( 38.03K )
Number of downloads: 356 |
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 23 2008, 05:01 PM Post #2
|
![]() ![]()
|
Small update: on my laptop additionally GenericCPUPowerManagement.kext was conflicting with dual-core. After reinstall (just to clear everything) using modified DSDT allowed me to use second core but since I didn't reinstall GenericCPUPowerManagement.kext I have no speedstep. Will go around and look for another speedstep solution
|
|
H4ckster
InsanelyMac Protégé
|
![]() |
Oct 23 2008, 05:11 PM Post #3
|
|
Wow this is great news, I too need the old ACPI and APIC to boot, if this works out maybe it can be merged with the chameleon /dfe for the boot-132 cd's and dfe/efi partition booting. This would be huge imo. Great job
I am booing a patched kernel + extensions + boot.plist from the efi partition on my P4 system so this would be of interest to me. |
|
zef
InsanelyMac Geek
|
![]() |
Oct 23 2008, 07:35 PM Post #4
|
![]() ![]()
|
Hi! Grats for your additions to Chameleon 1.0.11! Bye, zef I'm terribly sorry, just missed that patch file in the attached zip! Thank you so much Bye, zef |
|
|
olvko
InsanelyMac Protégé
|
![]() |
Oct 23 2008, 10:15 PM Post #5
|
|
Seems to work OK for me. I used to use modified BIOS and I dumped DSDT from that - now I can use vanilla BIOS and with Your patch everything is OK - two cores and new AppleACPIPlatform and AppleAPIC as weel. Good work!
|
|
H4ckster
InsanelyMac Protégé
|
![]() |
Oct 24 2008, 02:05 AM Post #6
|
|
Hi! Grats for your additions to Chameleon 1.0.11! Bye, zef I'm terribly sorry, just missed that patch file in the attached zip! Thank you so much Bye, zef Looks like zef is on top of it |
|
netkas
InsanelyMac Legend
|
![]() |
Oct 24 2008, 01:48 PM Post #7
|
![]() ![]() ![]() ![]() ![]() ![]()
|
now to merge hibernate and x64 code into chamellion and all will be happy
|
|
cyclonefr
InsanelyMacaholic
|
![]() |
Oct 24 2008, 02:37 PM Post #8
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
that's a great fix, great work ! works perfectly
|
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 25 2008, 03:42 PM Post #9
|
![]() ![]()
|
now to merge hibernate and x64 code into chamellion and all will be happy I personally don't care much about sleep (my system refuses to wake up from sleep) but x64 support would be very nice. x64 support+DSDT override is exactly what I need to get my system Snow Leopard-x64-ready (if Snow Leopard doesn't break anything else) P.S. I added a line to say what this patch can fix: for the people using search |
|
netkas
InsanelyMac Legend
|
![]() |
Oct 25 2008, 07:13 PM Post #10
|
![]() ![]() ![]() ![]() ![]() ![]()
|
ur patch doesnt work on gigabytes, freeze after it find rsdt address (enabled debug)
can it be cause by bl unable to find acpi2.0 rsdp on gigas ? |
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 25 2008, 08:33 PM Post #11
|
![]() ![]()
|
ur patch doesnt work on gigabytes, freeze after it find rsdt address (enabled debug) can it be cause by bl unable to find acpi2.0 rsdp on gigas ? I don't think so since on my computer it doesn't find ACPIv1 and the code is completely symmetrical about v1 and v2. Do you have more than 4GB of RAM? If it's the case then it's possible that xsdt is upper than 4 GB and then my patch find some random data instead of XSDT. So it writes "rsdt=..." but no "TABLE ..."? P.S. Corrected the name of compiler in first post. Sorry for mistake EDIT: deleted this download. Use the latest version |
|
ovof
InsanelyMac Geek
|
![]() |
Oct 25 2008, 09:48 PM Post #12
|
![]() ![]() ![]() ![]()
|
NEed help plz.
I boot OSX with an USB key. I use chameleon on it. I copied boot file in chameleon.app/Contents/resources/boot/, then installed again chameleon. Did i do right ? How can i know if it works correctly ? Any Message in verbose mode ? |
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 25 2008, 09:53 PM Post #13
|
![]() ![]()
|
NEed help plz. I boot OSX with an USB key. I use chameleon on it. I copied boot file in chameleon.app/Contents/resources/boot/, then installed again chameleon. Did i do right ? How can i know if it works correctly ? Any Message in verbose mode ? I don't know. I always use GRUB method. You can try just putting boot at the root of your partition. Have you put the corrected DSDT in the file /DSDT.aml of your partition? Did you put the compiled version? Try debug version from last post (use chameleon2debug as boot) |
|
ovof
InsanelyMac Geek
|
![]() |
Oct 25 2008, 10:06 PM Post #14
|
![]() ![]() ![]() ![]()
|
I used the debug V2.
I simply copy it in the / of the boot drive it works Now i have to find what i have to change to get dual core working on my hp laptop NC6400, as it crash randomely when dual core is enabled Hre's my DSDT
Attached File(s)
|
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 25 2008, 10:37 PM Post #15
|
![]() ![]()
|
I used the debug V2. I simply copy it in the / of the boot drive it works Now i have to find what i have to change to get dual core working on my hp laptop NC6400, as it crash randomely when dual core is enabled Hre's my DSDT I looked at your dsdt (downloaded from parallel thread). It doesn't suffer from the same problem as mine (aliases). UnfortunatelyI don't have a lot of experience with DSDT to determine what's wrong with it. But my first suggestion would be to go through kexts. Perhaps some of them conflict with dual-core. Try moving all the modified and non-apple kexts out of the extension folder. Try also to boot with -f, -x or -s |
|
ovof
InsanelyMac Geek
|
![]() |
Oct 26 2008, 08:32 AM Post #16
|
![]() ![]() ![]() ![]()
|
I looked at your dsdt (downloaded from parallel thread). It doesn't suffer from the same problem as mine (aliases). UnfortunatelyI don't have a lot of experience with DSDT to determine what's wrong with it. But my first suggestion would be to go through kexts. Perhaps some of them conflict with dual-core. Try moving all the modified and non-apple kexts out of the extension folder. Try also to boot with -f, -x or -s i Tried... nothing works it seems when crash, that one core stops responding, as it sleep |
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 26 2008, 09:40 AM Post #17
|
![]() ![]()
|
i Tried... nothing works it seems when crash, that one core stops responding, as it sleep Hello. I removed the power-state information from your DSDT. Not sure what effect it will have. So I give no warranty whatsoever. Try at your own risk
Attached File(s)
|
|
fassl
InsanelyMac Legend
|
![]() |
Oct 26 2008, 03:17 PM Post #18
|
|
Thanks for that, the chameleon2 version works without any hassle
|
|
mackerintel
InsanelyMac Geek
|
![]() |
Oct 26 2008, 04:37 PM Post #19
|
![]() ![]()
|
Hello. For all those having Gigabyte or any other mobo with ACPIv1 support. Could you test the new version that I uploaded at http://forum.insanelymac.com/index.php?s=&...st&p=944536 . In case of problems the debug version is at http://forum.insanelymac.com/index.php?s=&...st&p=944496. Great thanks to roisoft for his testing
|
|
roisoft
InsanelyMac Legend
|
![]() |
Oct 26 2008, 05:05 PM Post #20
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
thanks for this, you rock man
|
![]() |
|
Lo-Fi Version | Time is now: 21st November 2009 - 02:56 AM |