Piker-Alpha / ssdtPRGen.sh

Script to generate a SSDT for Power Management
713 stars 156 forks source link

System restart using Clover boot loader UEFI Bios #53

Open kudaz28 opened 10 years ago

kudaz28 commented 10 years ago

Hi

Still new to this stuff.

My system is restarting by itself for some reason that i've been trying to debug for the three days at least. The system setup is i5 3570k Sapphire Radeon HD 6850 Asus P8Z77-V motherboard with board-id [Mac-F60DEB81FF30ACF6] System profile is Mac Pro 6,1. I have patched the SSDT.aml and DSDT.aml. My Speedstepper is disabled in the BIOS otherwise i'll get a Failed to send stepper message in the console.

I am also getting a Pstate mismatch error in my console i.e.

This is the information that i get in the terminal if it may help when i run the ssdt command to generate an SSDT.

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v13.8 Copyright (c) 2013-2014 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

Override value: (-turbo) maximum (turbo) frequency, now using: 4200 MHz! Override value: (-t) maximum TDP, now using: 77 Watt! Override value: (-w) Ivy Bridge workarounds, now set to: 3! Override value: (-x) XCPM mode, now set to: 1!

System information: Mac OS X 10.9.3 (13D65) Brandstring 'Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz'

Scope (PR) {220 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant) Generating ssdt.dsl for a 'MacPro6,1' with board-id [Mac-F60DEB81FF30ACF6] Ivy Bridge Core i5-3570K processor [0x306A9] setup [0x0604] With a maximum TDP of '77' Watt, as specified by argument: -t 77 Number logical CPU's: 4 (Core Frequency: 3400 MHz) Number of Turbo States: 8 (3500-4200 MHz) Number of P-States: 27 (1600-4200 MHz) Injected C-States for CPU0 (C1,C3,C6) Injected C-States for CPU1 (C1,C3,C6) Warning: 'cpu-type' may be set improperly (0x0604 instead of 0x0a04) Warning: 'system-type' may be set improperly (1 instead of 3)

Intel ACPI Component Architecture ASL Optimizing Compiler version 20130117-64 [Jan 19 2013] Copyright (c) 2000 - 2013 Intel Corporation

ASL Input: /Users/William/Desktop/ssdt.dsl - 265 lines, 8643 bytes, 48 keywords AML Output: /Users/William/Desktop/ssdt.aml - 1878 bytes, 16 named objects, 32 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Im confused about the Warnings and the 0 optimisations bit. Does that mean that my system is not fully optimised.

Please help as this is driving me nuts now. screenshot 2014-09-14 17 49 17

Piker-Alpha commented 10 years ago

Is you system stable without overclocking it?

Using -x 1 will disable -w 3 so try -w 2 -x 0 or -w 3 -x 0

Warning: 'cpu-type' may be set improperly (0x0604 instead of 0x0a04) You can fix this by setting the cpu-type to 0x0a04 (check Clover Wiki).

Warning: 'system-type' may be set improperly (1 instead of 3) You can fix this by setting the system-type to 3 (check Clover Wiki).

This is perfect: Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations Can't be better.

kudaz28 commented 10 years ago

Thank you for the reply, the system works fine if it is not overclocked i.e 3800MHz as I have been doing some thorough tests. I'll try what you've suggested and let you know how it goes.

froggz19 commented 10 years ago

@Plker-Alpha

Please tell me what exactly should I search on Clover Wiki, my warning is

Warning: 'system-type' may be set improperly (2 instead of 1)

How do I set system-type to 1, what is this about, SMBIOS or what?

Thank you.

--edit--

It's smartUPS, why should I change system type to 01 when I have a notebook which it should be 02?

Can I ignore this warning?

Piker-Alpha commented 10 years ago

You need to read/check the Clover WiKi or ask other Clover users how to set/change the system-type in your Clover configuration file.

froggz19 commented 10 years ago

I was using iMac13,2 SMBIOS and ticked Mobile in Clover, that changed from default system-type 01(desktop) to system-type 02 (Mobile), I will try to use another SMBIOS. Thank you.