duey101 Posted March 7, 2014 Share Posted March 7, 2014 I prefer to try and figure things out for myself but this has me totally stumped. If I try to use a DSDT file in Chameleon I get a KP/system halt and can't boot up my otherwise working Mav's install (except SD Card reader/WiFI - Ordered supported WiFi card). But a few things need tweaking so I wanted to use a DSDT option and besides that I just want to learn how to use it for future reference and my own education. I already spent a week learning what/how to use DSDT but now when I try, no go. This is what I did... Open DSDT EditorExtract DSDT Clicked complie Installed DGTP patchFixed errors (DGTP/Expecting "("/_REG/_T_0) Compiled again (without any errors) one warning)---> 9451 Warning - Not all control paths return a value (COKE) Method (COKE, 0, NotSerialized) (After 3.5 hours I gave up on trying to figure this warning out) Saved as DSDT.aml (no errors) Copied DSDT.aml to Extra folder In Chameleon Wizard checked box dsdt.aml and set path /Extra/DSDT.aml Clicked save Used DPCIManager to repair permissions, rebuld kernel cache Reboot... Crash/Kernel Panic/System halt... I searched the forums for this issue (First use of DSDT causes crash/kernel panic) but didn't find an answer. I followed instructions exactly and tried over and over again but the same thing happens. If I go to my Win7 boot (dual boot setup) and delete DSDT.aml from the Extra folder (MacDrive) and restore the backup org.chameleon.Boot.plist to it's pre-DSDT form and reboot all is fine. What am I missing? The DSDT is error free and the only patch I used was for DGTP (to fix some errors). After 15 or so attempts I haven't figured it out yet. Any ideas? Link to comment Share on other sites More sharing options...
iFIRE Posted March 7, 2014 Share Posted March 7, 2014 and why only DGTP '? and no DGTP, HPET, IRQs, SMBUS, HDEF, LPC, RTC, EHCI, HID to CID, etc...... Link to comment Share on other sites More sharing options...
RehabMan Posted March 7, 2014 Share Posted March 7, 2014 Usually this is caused by saving a text file to /Extra/dsdt.aml. /Extra/dsdt.aml must be an ACPI Machine Language Binary. If you write 'cat /Extra/dsdt.aml|head' in Terminal and see readable text, you saved the file incorrectly. Link to comment Share on other sites More sharing options...
duey101 Posted March 7, 2014 Author Share Posted March 7, 2014 Well iFire, remember way, way, way, back... how many years? When you knew nothing about DSDT's KP's, Binaries, and XCode? Well... that is where I am right now, but I'm reading, learning, trying, succeeding. I am grateful someone like you and RHM took the time to look and help, thanks. I only discovered Hackintosh a month ago. I just DL'd RehabMan's DSDT patches (he suggested) and MaciASL and I am patching my DSDT now. Found a bunch of errors DSDT Editor missed... thanks for your post and advice RHM, helped with this error, had many. # rehabman: # _PLD is supposed to return a variable length Package of Buffers into_all all code_regex (Name\s*\(_PLD,\s*)Buffer(\s\(0x10\)[^\)]*) replaceall_matched begin %1Package() { Buffer%2} end; RIght now I'm patching and will try again and report back. Thank you iFire and RHM for your help and suggestions. I'll get this all figured out, I enjoy learning, and having a dual boot Mac/PC is something I am really enjoying, just need to learn more. I spent weeks just getting it to install correctly but now it works, except for a few little things. My goal is to learn as much as I can so when I get new machines I know what to do. All patched, no errors, just this warning. I have been trying to figure it out since yesterday... 10266, 1088, Not all control paths return a value (COKE) }) Method (COKE, 0, NotSerialized) { I'll try the newly compiled DSDT tomorrow and report back. Link to comment Share on other sites More sharing options...
RehabMan Posted March 7, 2014 Share Posted March 7, 2014 ... All patched, no errors, just this warning. I have been trying to figure it out since yesterday... 10266, 1088, Not all control paths return a value (COKE) }) Method (COKE, 0, NotSerialized) { I'll try the newly compiled DSDT tomorrow and report back. That question is answered by me elsewhere... Link to comment Share on other sites More sharing options...
duey101 Posted March 8, 2014 Author Share Posted March 8, 2014 Okay I am happy to report success, thank you. I think it was the DSDT Editor as in MaciASL there were several errors that were not detected in DSDT. I patched the DSDT with all the things you suggested iFire, looks like it works!I gained...Working WiFi Atheros 9285 (with no kext)Realtek Lan (with no kext)Character viewer in the taskbarOther things I probably have no idea of as yet.However when I booted I got to that common system halt IOBluetooth error and black screen...**** [iOBluetoothHCIController][searchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport!rebooted, then got another system halt at stoppage NTFS volume name Drive D, version 3.1....Mar 8 17:47:07 Dueys-Mac-Pro kernel[0]: NTFS driver 3.11 [Flags: R/W].Mar 8 17:47:08 Dueys-Mac-Pro kernel[0]: NTFS volume name Drive C, version 3.1.Mar 8 17:47:08 Dueys-Mac-Pro.local ReportCrash[119]: Metadata.framework [Error]: couldn't get the client portHad to reboot a couple of times but it works. If it hangs up I just have to reboot a couple of times, no other errors halt the system.From reading threads I think this has to do with graphics. One thing I noticed on boot is that in the boot log (reported in DPCIManager)it says...ERROR: dcbtable_version is 0x10ERROR: nVidia ROM Patching Failed!Toshiba GeForce GT 540M 1024MB NVc1 [10de:0df4]-[1179:fc31] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0) device number: 1and in the system -v boot log I see GeForce Sensors waiting to start... a couple of different times during the boot up process.In the system report from my Win7 and AIDA 64 EE reports my nVidia GT 540M as a 2 GB card...NVIDIA GeForce GT 540M (2 GB)Graphics Processor Properties:Video Adapter nVIDIA GeForce GT 540M (Toshiba)GPU Code Name GF108M (PCI Express 2.0 x16 10DE / 0DF4, Rev A1)GPU Clock (Geometric Domain) 50 MHzGPU Clock (Shader Domain) 101 MHzMemory Clock 135 MHzBut... System report in Mavericks reports it as a 1 GB card...Toshiba GeForce GT 540M: Chipset Model: Toshiba GeForce GT 540M Type: GPU Bus: PCIe Slot: Slot-1 PCIe Lane Width: x16 VRAM (Total): 1024 MB Vendor: NVIDIA (0x10de) Device ID: 0x0df4 Revision ID: 0x00a1 ROM Revision: 0x00This is causing me a problem I think, just to let you know the whole reason I tried this Hackintosh thing was so I could dual bootand use Adobe Premiere Pro CC and the Mercury Playback Engine technology for video editing in Mac. I started another thread about thisbecause I really need some advice on this as I have tried to figure this one out for a while now.Again, thank you for your help and suggestions. Overall I noticed a perfomance improvement from before the DSDT was loaded Now that I have a working DSDT I have more things to study/try/fail/adjust/try/fail/adjust/try/succeed. WindowServerError.txt DPCIManager_boot.txt system_boot.txt Link to comment Share on other sites More sharing options...
duey101 Posted March 8, 2014 Author Share Posted March 8, 2014 Thanks RHM, I figured it out for myself... Method (COKE, 0, NotSerialized) { Name (T_0, Zero) Store (ToInteger (PJID), T_0) If (LEqual (T_0, 0xBE)) { If (LEqual (^GFX0.DVID, 0x0126)) { Return (BE01) } If (LEqual (^GFX0.DVID, 0x0116)) { Return (BE00) } } Else { If (LEqual (T_0, 0xC2)) { If (LEqual (^GFX0.DVID, 0x0126)) {} If (LEqual (^GFX0.DVID, 0x0116)) {} } Else { If (LEqual (T_0, 0xC4)) { If (LEqual (^GFX0.DVID, 0x0126)) {} If (LEqual (^GFX0.DVID, 0x0116)) {} } Else { If (LEqual (T_0, 0xC5)) { If (LEqual (^GFX0.DVID, 0x0126)) {} If (LEqual (^GFX0.DVID, 0x0116)) {} } Else { If (LEqual (T_0, 0xC6)) { If (LEqual (^GFX0.DVID, 0x0126)) {} If (LEqual (^GFX0.DVID, 0x0116)) {} } Else { If (LEqual (T_0, 0xC8)) { If (LEqual (^GFX0.DVID, 0x0126)) {} If (LEqual (^GFX0.DVID, 0x0116)) {} } Else { If (LEqual (T_0, 0xC9)) { If (LEqual (^GFX0.DVID, 0x0126)) {} If (LEqual (^GFX0.DVID, 0x0116)) {} } Else { } } } } } } } Return (Zero) <--- Needed to add this } } } Everything is going well so far. Just have my one real problem the rest is minor. But I guess the Optimus won't work in OS X. So that shoots that down. I'll have to do without it. Link to comment Share on other sites More sharing options...
Recommended Posts