Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

> Forum Guidelines.

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.

13 Pages V   1 2 3 > »   
Reply to this topic Start new topic
Chameleon with DSDT override, I written a patch for Chameleon which overrides default DSDT
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
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
Attached File  chameleon.zip ( 76.15K ) Number of downloads: 9080


Update: 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
Attached File  chameleon_ssdt.zip ( 76.31K ) Number of downloads: 310



Hello. 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
Attached File  chameleondsdt_acpi12.zip ( 38.03K ) Number of downloads: 356
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
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
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 26
  • Joined: 8-October 08
  • Member No.: 300,665
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 smile.gif

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.
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 110
  • Joined: 31-July 05
  • Member No.: 1,113
mackerintel:

Hi! Grats for your additions to Chameleon 1.0.11! smile.gif However i'd like to ask you to follow APSL's terms which means you make your source code available somehow.

Bye,
zef


I'm terribly sorry, just missed that patch file in the attached zip! tongue.gif

Thank you so much smile.gif

Bye,
zef
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 42
  • Joined: 27-October 07
  • Member No.: 145,566
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!
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 26
  • Joined: 8-October 08
  • Member No.: 300,665
QUOTE (zef @ Oct 23 2008, 07:35 PM) *
mackerintel:

Hi! Grats for your additions to Chameleon 1.0.11! smile.gif However i'd like to ask you to follow APSL's terms which means you make your source code available somehow.

Bye,
zef


I'm terribly sorry, just missed that patch file in the attached zip! tongue.gif

Thank you so much smile.gif

Bye,
zef


Looks like zef is on top of it biggrin.gif yay!
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 575
  • Joined: 25-July 07
  • Member No.: 123,282
now to merge hibernate and x64 code into chamellion and all will be happy biggrin.gif
PM Profile Card
Go to the top of the page
+ Quote Post
***********
  • Group: Members
  • Posts: 2,729
  • Joined: 3-September 05
  • From: Paris, France
  • Member No.: 9,104
that's a great fix, great work ! works perfectly smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
QUOTE (netkas @ Oct 24 2008, 03:48 PM) *
now to merge hibernate and x64 code into chamellion and all will be happy biggrin.gif


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
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 575
  • Joined: 25-July 07
  • Member No.: 123,282
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 ?
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
QUOTE (netkas @ Oct 25 2008, 09:13 PM) *
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 ..."? I'll add different sanity checks to be sure that it finds correct table
Try the attached version. I added some checks and if it finds an address over 4GB it drops XSDT completely hoping that OSX reverts to RSDT. Does anybody know about simple way of accessing memory over 4GB?
P.S. Corrected the name of compiler in first post. Sorry for mistake
EDIT: deleted this download. Use the latest version
PM Profile Card
Go to the top of the page
+ Quote Post
****
  • Group: Members
  • Posts: 195
  • Joined: 11-November 06
  • Member No.: 64,122
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 ?
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
QUOTE (ovof @ Oct 25 2008, 11:48 PM) *
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)
PM Profile Card
Go to the top of the page
+ Quote Post
****
  • Group: Members
  • Posts: 195
  • Joined: 11-November 06
  • Member No.: 64,122
I used the debug V2.

I simply copy it in the / of the boot drive

it works smile.gif

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)
Attached File  dsdt.dat.zip ( 28.77K ) Number of downloads: 155
 
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
QUOTE (ovof @ Oct 26 2008, 12:06 AM) *
I used the debug V2.

I simply copy it in the / of the boot drive

it works smile.gif

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
PM Profile Card
Go to the top of the page
+ Quote Post
****
  • Group: Members
  • Posts: 195
  • Joined: 11-November 06
  • Member No.: 64,122
QUOTE (mackerintel @ Oct 25 2008, 11:37 PM) *
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 sad.gif

it seems when crash, that one core stops responding, as it sleep
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
QUOTE (ovof @ Oct 26 2008, 10:32 AM) *
i Tried...
nothing works sad.gif

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)
Attached File  dsdt.aml.zip ( 27.8K ) Number of downloads: 113
 
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Retired
  • Posts: 606
  • Joined: 14-August 07
  • Member No.: 127,297
Thanks for that, the chameleon2 version works without any hassle smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
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
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,051
  • Joined: 14-August 05
  • From: Spain
  • Member No.: 5,767
thanks for this, you rock man smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
13 Pages V   1 2 3 > » 
Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 21st November 2009 - 02:56 AM