Jump to content

GA-EX58 and GA-X58A DSDT native power management modifications


d00d
 Share

1,771 posts in this topic

Recommended Posts

No longer getting any kernel panics...

 

I only get a kernel panic after sleep if I use any of the JMicron ports. Which sucks because I only usually use one of the JMicron ports for my DVD drive. Any way we can fix this? It appears to be caused by IOAHCIFamily.kext

 

Maybe this post http://www.insanelymac.com/forum/index.php?showtopic=186558 can shed some light on the situation.

 

I also cannot boot 64bit kernel with turbo mode enabled, kernel panics when reading p-states.

 

Any idea how to get wake on lan to work? Is that simply an ethernet driver issue?

Link to comment
Share on other sites

Can anyone with a working DSDT for GA-X58-UD3R post their dsdt file and configuration so I can compare to mine.

 

I have this working but sleep results in reboot when trying to wake:

 

My config:

 

GA-X58-UD3R version 1.0 with f8D BIOS

10.6.2 64 bit mode

10.5 boot loader by Netkas

GE-Force 8800GS 384MB video card

in Syestem/Library/Extensions/ I have ALC-888 sound via hacked AppleHDA.kext and Lan via RTL1000 snow.

In Extra/Extensions/ I have fakesmc 2.5, IOAHCI orange icon fix, jmicron fix, openhaltsretsart, platformuuid kexts.

removed nullcpupm.kext - no problems booting

 

Thanks.

Does checking the `Start up automatically after a power failure' option in Energy Saver help the sleep reboot (assuming PX40 section of the DSDT fixed to get AppleLPC.kext to load)?

 

No longer getting any kernel panics...

 

I only get a kernel panic after sleep if I use any of the JMicron ports. Which sucks because I only usually use one of the JMicron ports for my DVD drive. Any way we can fix this? It appears to be caused by IOAHCIFamily.kext

 

Maybe this post http://www.insanelymac.com/forum/index.php?showtopic=186558 can shed some light on the situation.

 

I also cannot boot 64bit kernel with turbo mode enabled, kernel panics when reading p-states.

 

Any idea how to get wake on lan to work? Is that simply an ethernet driver issue?

I can't clock higher than 3.7 GHz and turbo without KPs in OS X, and I'm booting 32 bit (x22 is 4.07 GHz).

However, I can clock at 4.1 without turbo and it doesn't KP.

Wake on LAN appears to be a driver feature, and none of the Realtek kexts I've tried enable this feature.

Link to comment
Share on other sites

You should be able to boot 32 bit with the following in com.apple.Boot.plist;

<key>Kernel Flags</key>

<string>arch=i386</string>

 

To tell if you were successful (32bit is i386, 64bit is x86_64);

[mac05:~] me% uname -p

i386

[mac05:~] me%

 

Do you get CPULimit 0x0 using demong1's MacPro4_1.plist, or does that happen automatically on GA-P55?

 

Confirmed that yes you do need to use demong1's MacPro4_1.plist to get CPULimit 0x0. As well, IOHWControls value increase from 1 to 3, and IOHWCtrlLoops increase from 1 to 2. Funny thing is though, AppleLPC.kext loads either way.

Link to comment
Share on other sites

Warning;

BIOS F9e: S3 sleep functional with C2RC3, PCEFI10.5 and DSDT fixes

BIOS F9h: S3 sleep functional with C2RC3, PCEFI10.5 and DSDT fixes

BIOS F9i: S3 sleep doesn't fully wake with C2RC3, PCEFI10.5 and DSDT fixes

Link to comment
Share on other sites

Warning;

BIOS F9e: S3 sleep functional with C2RC3, PCEFI10.5 and DSDT fixes

BIOS F9h: S3 sleep functional with C2RC3, PCEFI10.5 and DSDT fixes

BIOS F9i: S3 sleep doesn't fully wake with C2RC3, PCEFI10.5 and DSDT fixes

 

 

I'm using F9i and my sleep & wake is working fine, however there are some funnies

 

I have a 920 C0 which when set on default setting is reported on the bios splash as 2.88GHz

I'm currently at 3.5GHz according to the bios cpu screen but the splash says over 3.66GHz

 

 

I'm using PCEFI 10.5 and have followed the DSDT fixes in this thread and not getting any running errors

(the OrangeIconFix didn't work for me - the only version I found was the Leopard version though so I went back to the old IOBlock thingy whatsit). I'm running in 64bit mode by the way

 

Since I'm running at 3.5GHz+ is there any way of verifying that all the CPU patches were applied? I'd applied some

of the other DSDT edits already via the DSDTSE editor

 

What I am still looking to fix are the following

 

1 - get rid of EvoReboot/OpenHaltRestore kext - thought I once saw a DSDT fix for this?

2 - get wake from Bluetooth working - I've got my fourth dongle on order which I think will work as I've tried 1.1, 2.0,

& 2.1 (without suitable firmware) versions and think I see the pattern ;) Sorted

3 - I'm not sure my USB EHCI in system profiler is fully correct & Mac like yet (aesthetic only?)

4 - Find documentation on what the SMC keys in FakeSMC mean

5 - Fix the following glitch in Serial-ATA

 

 

Unknown AHCI Standard Controller:

 

Vendor: Unknown

Product: AHCI Standard Controller

Speed: 3 Gigabit

Description: AHCI Version 1.00 Supported

 

 

steve

Link to comment
Share on other sites

5 - Fix the following glitch in Serial-ATA

 

 

Unknown AHCI Standard Controller:

 

Vendor: Unknown

Product: AHCI Standard Controller

Speed: 3 Gigabit

Description: AHCI Version 1.00 Supported

 

 

steve

 

I found this kext last night and it works for me. Put in /E/E. Although it's no DSDT fix, at least you will have the info injected.

OpenAHCI.kext.zip

Link to comment
Share on other sites

I found this kext last night and it works for me. Put in /E/E. Although it's no DSDT fix, at least you will have the info injected.

 

 

Thanks, a quick google for OpenAHCI.kext and I found this from some guy called d00d on the internet ;)

 

"Their OpenAHCI.kext showed me the device-id value I needed to add to IDE1 to correctly show Intel ICH10 AHCI in the System Profiler’s Serial-ATA section on my GA-EX58."

 

Means I probably missed something ...

 

steve

Link to comment
Share on other sites

I'm using F9i and my sleep & wake is working fine, however there are some funnies

 

I have a 920 C0 which when set on default setting is reported on the bios splash as 2.88GHz

I'm currently at 3.5GHz according to the bios cpu screen but the splash says over 3.66GHz

 

 

I'm using PCEFI 10.5 and have followed the DSDT fixes in this thread and not getting any running errors

(the OrangeIconFix didn't work for me - the only version I found was the Leopard version though so I went back to the old IOBlock thingy whatsit). I'm running in 64bit mode by the way

 

Since I'm running at 3.5GHz+ is there any way of verifying that all the CPU patches were applied? I'd applied some

of the other DSDT edits already via the DSDTSE editor

 

What I am still looking to fix are the following

 

1 - get rid of EvoReboot/OpenHaltRestore kext - thought I once saw a DSDT fix for this?

2 - get wake from Bluetooth working - I've got my fourth dongle on order which I think will work as I've tried 1.1, 2.0,

& 2.1 (without suitable firmware) versions and think I see the pattern :wacko:

3 - I'm not sure my USB EHCI in system profiler is fully correct & Mac like yet (aesthetic only?)

4 - Find documentation on what the SMC keys in FakeSMC mean

5 - Fix the following glitch in Serial-ATA

 

 

Unknown AHCI Standard Controller:

 

Vendor: Unknown

Product: AHCI Standard Controller

Speed: 3 Gigabit

Description: AHCI Version 1.00 Supported

 

 

steve

 

1. I use OSXRestart.kext but it would be nice if there was a DSDT patch for that.

2. What's a dongle?? :P

3. d00d's DSDT patches all ports for hot plug. I think the real MacPro uses this feature on only some of the ports.

4. Yeah even fakesmcv2.5 gives those errors.

5. d00d's DSDT patch identifies ICH10 properly....I still don't think its quite right since we have to use OrangeFix.kext. But along side that issue is we still need to get JMicron identified properly and/or playing nice with IOAHCIFamily.kext. I think someone is working on a kext that is 64bit, maybe that will help. As of right now, I can get the JMicron controller to identify properly but it causes KP after waking from sleep.

 

And one more for your list.

 

6. Realtek1000.kext support for wake on lan. I think this is in the works as well. I've seen numerous people discuss the lack of this feature.

Link to comment
Share on other sites

You mean d00d, the thread author, or this d00d?

 

dude.jpg

 

Dunno, how could I tell? Hence the ;)

 

 

 

1. I use OSXRestart.kext but it would be nice if there was a DSDT patch for that.

2. What's a dongle?? :P

3. d00d's DSDT patches all ports for hot plug. I think the real MacPro uses this feature on only some of the ports.

4. Yeah even fakesmcv2.5 gives those errors.

5. d00d's DSDT patch identifies ICH10 properly....I still don't think its quite right since we have to use OrangeFix.kext. But along side that issue is we still need to get JMicron identified properly and/or playing nice with IOAHCIFamily.kext. I think someone is working on a kext that is 64bit, maybe that will help. As of right now, I can get the JMicron controller to identify properly but it causes KP after waking from sleep.

 

And one more for your list.

 

6. Realtek1000.kext support for wake on lan. I think this is in the works as well. I've seen numerous people discuss the lack of this feature.

 

A dongle is often USB plug in device that does something eg Bluetooth Adapter

 

Anyhow, here is my kernel log, any thoughts?

 

 

Dec  1 09:27:06 localhost kernel[0]: npvhash=4095
Dec  1 09:27:06 localhost kernel[0]: Darwin Kernel Version 10.2.0: Tue Nov  3 10:35:19 PST 2009; root:xnu-1486.2.11~1/RELEASE_X86_64
Dec  1 09:27:06 localhost kernel[0]: vm_page_bootstrap: 3003920 free pages and 141808 wired pages
Dec  1 09:27:06 localhost kernel[0]: kext submap [0xffffff7f80600000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000600000]
Dec  1 09:27:06 localhost kernel[0]: standard timeslicing quantum is 10000 us
Dec  1 09:27:06 localhost kernel[0]: mig_table_max_displ = 73
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=2 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=4 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=6 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=1 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=5 LocalApicId=3 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=6 LocalApicId=5 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=7 LocalApicId=7 Enabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=8 LocalApicId=8 Disabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=9 LocalApicId=9 Disabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=10 LocalApicId=10 Disabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=11 LocalApicId=11 Disabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=12 LocalApicId=12 Disabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=13 LocalApicId=13 Disabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=14 LocalApicId=14 Disabled
Dec  1 09:27:06 localhost kernel[0]: AppleACPICPU: ProcessorId=15 LocalApicId=15 Disabled
Dec  1 09:27:06 localhost kernel[0]: calling mpo_policy_init for Quarantine
Dec  1 09:27:06 localhost kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
Dec  1 09:27:06 localhost kernel[0]: calling mpo_policy_init for Sandbox
Dec  1 09:27:06 localhost kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
Dec  1 09:27:06 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet
Dec  1 09:27:06 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Dec  1 09:27:06 localhost kernel[0]: Copyright © 1982, 1986, 1989, 1991, 1993
Dec  1 09:27:06 localhost kernel[0]: The Regents of the University of California. All rights reserved.
Dec  1 09:27:06 localhost kernel[0]: MAC Framework successfully initialized
Dec  1 09:27:06 localhost kernel[0]: using 16384 buffer headers and 4096 cluster IO buffer headers
Dec  1 09:27:06 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
Dec  1 09:27:06 localhost kernel[0]: ACPI: System State [s0 S3 S4 S5] (S3)
Dec  1 09:27:06 localhost kernel[0]: RTC: Only single RAM bank (128 bytes)
Dec  1 09:27:06 localhost kernel[0]: mbinit: done (96 MB memory set for mbuf pool)
Dec  1 09:27:06 localhost kernel[0]: From path: "uuid", 
Dec  1 09:27:06 localhost kernel[0]: Waiting for boot volume with UUID A1BB832B-5118-36E7-BC00-8197FE2FA0F4
Dec  1 09:27:06 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Dec  1 09:27:06 localhost kernel[0]: netkas presents fakesmc, a kext which emulates smc device
Dec  1 09:27:06 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
Dec  1 09:27:06 localhost kernel[0]: AppleIntelCPUPowerManagementClient: ready
Dec  1 09:27:06 localhost kernel[0]: FireWire runtime power conservation disabled. (2)
Dec  1 09:27:06 localhost kernel[0]: FireWire (OHCI) TI ID 8024 PCI now active, GUID 00dcaf5700001fd0; max speed s400.
Dec  1 09:27:06 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IDE1@1F,2/AppleAHCI/PRT3@3/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/WDC WD1001FALS-00J7B1 Media/IOGUIDPartitionScheme/Untitled@2
Dec  1 09:27:06 localhost kernel[0]: BSD root: disk1s2, major 14, minor 4
Dec  1 09:27:06 localhost kernel[0]: Kernel is LP64
Dec  1 09:27:06 localhost kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 1112
Dec  1 09:27:06 localhost kernel[0]: AppleIntelCPUPowerManagement: initialization complete
[color="#FF0000"]Dec  1 09:27:14 localhost kernel[0]: SerialATAPI initial device configuration did not complete successfully.  (failedCommandInfo = 0x1)[/color]
Dec  1 09:27:15 localhost kernel[0]: systemShutdown false
Dec  1 09:27:17 LocusOfControl kernel[0]: Previous Shutdown Cause: 0
Dec  1 09:27:17 LocusOfControl kernel[0]: identified as RTL8168D/8111D
Dec  1 09:27:18: --- last message repeated 1 time ---
Dec  1 09:27:18 LocusOfControl kernel[0]: Waiting for DSMOS...
Dec  1 09:27:19 LocusOfControl kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled
Dec  1 09:27:20 LocusOfControl kernel[0]: DSMOS has arrived
Dec  1 09:27:20 LocusOfControl kernel[0]: com_chucko_RealtekR1000: Ethernet address 00:24:1d:11:81:09
Dec  1 09:27:20 LocusOfControl kernel[0]: ** Device in slot: SLOT-1 **
Dec  1 09:27:20 LocusOfControl kernel[0]: com_chucko_RealtekR1000: Ethernet address 00:24:1d:11:81:0b
Dec  1 09:27:21 LocusOfControl kernel[0]: AppleTyMCEDriver::start coreVIDPID = 0x2c418086 Number of packages = 1 Number of cpus = 8 memory monitor trough MCA
Dec  1 09:27:21 LocusOfControl kernel[0]: NTFS driver 3.1 [Flags: R/W].
Dec  1 09:27:21 LocusOfControl kernel[0]: NTFS volume name , version 3.1.
Dec  1 09:27:22 LocusOfControl kernel[0]: [ffffff801b24a800][bNBMouseDevice::init][30] init is complete
Dec  1 09:27:22 LocusOfControl kernel[0]: [ffffff801b24a800][bNBMouseDevice::handleStart][30] Done
Dec  1 09:27:22 LocusOfControl kernel[0]: [ffffff801c200800][AppleMultitouchHIDEventDriver::start] entered
Dec  1 09:27:22 LocusOfControl kernel[0]: [ffffff801b696e00][AppleMultitouchDevice::start] entered
Dec  1 09:27:27 LocusOfControl kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDAWidget.cpp" at line 3641 goto handler
.... 
several more sound assertions

Link to comment
Share on other sites

BIOS (UD5).

F9e: S3 sleep functional with C2RC3, PCEFI10.5 and DSDT fixes

F9h: S3 sleep functional with C2RC3, PCEFI10.5 and DSDT fixes

F9i: S3 sleep doesn't fully wake with C2RC3, PCEFI10.5 and DSDT fixes if boot drive is SSD

F9j: S3 sleep doesn't fully wake with C2RC3, PCEFI10.5 and DSDT fixes if boot drive is SSD

Link to comment
Share on other sites

VMware Fusion 2.0.6.196839:

 

4.2 GHz, no problem (~4.2 GHz, but shows 4 GHz in Start:Settings:Control Panel:System:General);

kernel[0]: vmmon: PTSC: initialized at 4198528000 Hz using reference clock

 

4.3 GHz, slowness problem (~5 MHz !);

kernel[0]: vmmon: PTSC: initialized at 4963704 Hz using reference clock

___

 

VMware Fusion 3.0.0.204229:

 

4.2 GHz, no problem (~4.2 GHz);

kernel[0]: vmmon: PTSC: initialized at 4198611000 Hz using reference clock

 

4.3 GHz, no problem (~4.3 GHz);

kernel[0]: vmmon: PTSC: initialized at 4298376000 Hz using reference clock

Link to comment
Share on other sites

Hi dood ga-ex58-ud4

 

I do as you advise

 

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
               {
Return (Package (0x02)
{
                        0x0D,
                        0x05
                    })
                }
               Method (_DSM, 4, NotSerialized)
{
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x42, 0x00, 0x00, 0x00  

 

 

commpiled

 

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D,
                        0x05
                    })
                }
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Unicode ("B"),
                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                                }

 

It is correct?

 

I wish to make a sound without additional kext , help?

Link to comment
Share on other sites

Hi dood ga-ex58-ud4

 

I do as you advise

 

Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
Return (Package (0x02)
{
                       0x0D,
                       0x05
                   })
               }
               Method (_DSM, 4, NotSerialized)
{
                   Store (Package (0x04)
                       {
                           "layout-id",
                           Buffer (0x04)
                           {
                               0x42, 0x00, 0x00, 0x00  

 

 

commpiled

 

Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (Package (0x02)
                   {
                       0x0D,
                       0x05
                   })
               }
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "layout-id",
                           Unicode ("B"),
                           "PinConfigurations",
                           Buffer (Zero) {}
                       }, Local0)
                               }

 

It is correct?

 

I wish to make a sound without additional kext , help?

Yes, `Unicode ("B"),' is the compiled version of layout-id 66.

Do you have sound now?

Link to comment
Share on other sites

I'm using F9i and my sleep & wake is working fine, however there are some funnies

 

I have a 920 C0 which when set on default setting is reported on the bios splash as 2.88GHz

I'm currently at 3.5GHz according to the bios cpu screen but the splash says over 3.66GHz

UD5 BIOS F9h, F9i and F9j show the CPU speed at the 21 clock ratio (920 or W3520) at POST if turbo is enabled.

For example, 2.66 and turbo shows the following at POST;

2.80GHz(133x21)

Also, if you set the ratio to 21 in the MB Intelligent Tweaker screen it enables turbo in the Advanced CPU Features screen.

Previous BIOSs would only let you set the ratio to 20 in the MB Intelligent Tweaker, and you could only enable turbo in the Advanced CPU Features screen.

Link to comment
Share on other sites

dumb stupid question - Is the lower case "f" a typo or does it need to be lowercase - does it make a difference?

 

<key>REV </key>

<data>

ATkPAAAF

</data>

</dict>

<key>smc-compatible</key>

<string>smc-thurley</string>

 

 

I used lower case and it didn't make a difference, at least when using DSDTSE.

Link to comment
Share on other sites

I used lower case and it didn't make a difference, at least when using DSDTSE.
I'm not sure I understand, the lower case k isn't a typo, and this isn't a DSDT modification.

It's a change to fakesmc.kext/Contents/Info.plist, see post 1, number 13.

Link to comment
Share on other sites

I'm not sure I understand, the lower case k isn't a typo, and this isn't a DSDT modification.

It's a change to fakesmc.kext/Contents/Info.plist, see post 1, number 13.

 

 

Oops, my bad. Yes it's for fakeSMC. First blonde moment I had all week. Upper/lower case doesn't matter when editing DSDT I find, but that might just be the editor correcting this when it compiles. :o

Link to comment
Share on other sites

One more ??? - I have the Extreme version of this board - does anyone have Bios settings (using F7 right now) for a 4Ghz overclock? GeekBench 125547 @ 3.73 so far

 

d00d - how do you get past the x20 multiplier?

It's more about the revision of the CPU, a D0 is generally more over clockable than a C0.

There shouldn't really be any difference between an Extreme and a UD5.

With my D0 2.66 GHz W3520 I can boot at 4.1 GHz by leaving all voltages on auto except for DRAM, and using the other settings in the 4.2 GHz template attached to post 1.

 

I'm not sure what you mean by `getting past the 20x ratio'.

For an i7 920 or Xeon W3520 just enable turbo in BIOS and it will get you 21x on POST and 22x in OS X.

Link to comment
Share on other sites

 Share

×
×
  • Create New...