Contribute
Register

Some sleep & reset & cmos & speedstep issues lion 10.7.2

Status
Not open for further replies.
Joined
Sep 20, 2011
Messages
224
Motherboard
GA-Z77X-UDH5
CPU
i7 3770k
Graphics
GTX650 TI
Mobile Phone
  1. iOS
Hi all, I've installe lion on two partitions, the same process so all is the same.
First of all I have no /Extra/Extensions only S/L/E folder
Sleep was working (from apple>sleep) but when restart I got a "Cmos checksum error" so reconfigure bios. that can be fixed using jpa solution:

sudo perl -pi -e 's|\x8b\x45\xc8\x39\x45\xcc\x74\x0b|\x8b\x45\xc8\x39\x45\xcc\xeb\x0b|; s|\x8b\x45\xb4\x39\x45\xb8\x74\x08|\x8b\x45\xb4\x39\x45\xb8\xeb\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

sudo chown -R 0:0 /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions

so the Machine goes to sleep and wake up and no more reconfigue BIOS, so happy for now...

But the story continues, periodically when the mach is sleeping, it tries to turn on by itself, I can hear the fans for a couple of seconds and then it goes to sleep again, and so on...and if I press any key or mouse (wired for now) it wakes up without any noticiable problem. BTW I have the five options checked on energy pref pane. So I think that could be issued by the router sending arp requests or dhcp refresh...should I disable WOL from the energy pref pane?
In one of the installations I re-run MB4.1 to install mobo monitor kexts, so by accident installed the famous nullcpupowermanagement kext and when going to sleep, it restart instead of sleep, weird, so next step is to delete that kext and repair permisions and reboot.
on the other way, which confusses me a little, by the end of that post jap now needs that kext and adds el sleepenabler kext
viewtopic.php?f=169&t=25450
So my questions is if you can help me:
Do I have to create an /extra/extensions folder? which kexts should I put in What about the S/L/E kexts? is any special cham.plist edit needed? why is the null cpu kext needed? does that sleepenabler kext causes other network issues?
Big Tks
 
Re: Some sleep & reset & cmos issues lion 10.7.2

I also had some trouble after installing NullCPU kext but that was fixed with the sleepenabler kext. I don't have any network issues with it
 
Re: Some sleep & reset & cmos issues lion 10.7.2

Bimbo69 said:
Do I have to create an /extra/extensions folder? which kexts should I put in What about the S/L/E kexts? is any special cham.plist edit needed? why is the null cpu kext needed? does that sleepenabler kext causes other network issues?
Big Tks

Extra/Extensions= Keeping your system more fault tolerant.
Which Kexts in EE= Any kext will be read by chimera (except AppleHDA, AppleRTC and sometimes VoodooHDA- These did't work on my EE), if "UseKernelCache" option is set to "NO" in org.chameleon.boot.plist
NullCPUPowerMangemet= is a disabler for AppleIntelCPUPowerManagement; which causes KP when HPET, C-sates,P-states is not configured for native power management.
SleepEnabler= Yes it does cause issues when you install apple software updates.
You have to remove it before updates, then put it back after update.

Reccomendations.
-Extra extensions is not very much important, you either install it or not, but if you install you have to have: Org. chameleon.boot.plist, SMBios.plist, Extensions folder with inside; FakeSMC, and other Multibeast kexts that make your system work. DSDT, Themes folder.
-If you use NullCPUPowerMangemet you are safe about power management, but this kext lead Sleep issues on some configurations
-Using sleepenabler is required when you use NullCPUPowerMangemet , otherwise you don't need it if you not using NullCPUPowerMangemet. *SleepEnabler causes KP on Software Updates.
 
Re: Some sleep & reset & cmos issues lion 10.7.2

Tks for your answer MAK1, here are my tests and results, with null&sleep kexts and patched appleRTC kext to prevent cmos issues, btw kernelcache: yes on my settings
case 1: Manual sleep, wake up from wired keyboard or mouse ok, from power button wakes up but black screen so no video, so works almost good
case 2: Auto sleep based on energy settings (5 minutes) only got a monitor sleep wakes up from wired keyboard or mouse, so doesn't work
In addition speedstep doesn't looks like working, so cpu is always @3.2G ~40C+ and from windows varies from 1.2G to 3.2G deppending on CPU load, of course temps are about 10C higher in mac than in windows. Temps idle @3.2G are both the same ~40-42C
Any idea on what am I doing wrong? I've read somewheree and cannot remember exactly but does usb3 kext cause sleep issues?
Big Tks
 
Re: Some sleep & reset & cmos issues lion 10.7.2

Bimbo69 said:
Tks for your answer MAK1, here are my tests and results, with null&sleep kexts and patched appleRTC kext to prevent cmos issues, btw kernelcache: yes on my settings
case 1: Manual sleep, wake up from wired keyboard or mouse ok, from power button wakes up but black screen so no video, so works almost good
case 2: Auto sleep based on energy settings (5 minutes) only got a monitor sleep wakes up from wired keyboard or mouse, so doesn't work
In addition speedstep doesn't looks like working, so cpu is always @3.2G ~40C+ and from windows varies from 1.2G to 3.2G deppending on CPU load, of course temps are about 10C higher in mac than in windows. Temps idle @3.2G are both the same ~40-42C
Any idea on what am I doing wrong? I've read somewheree and cannot remember exactly but does usb3 kext cause sleep issues?
Big Tks

you can get your computer to auto sleep with pleasesleep.app
 
Re: Some sleep & reset & cmos issues lion 10.7.2

Bimbo69 said:
Tks for your answer MAK1, here are my tests and results, with null&sleep kexts and patched appleRTC kext to prevent cmos issues, btw kernelcache: yes on my settings
case 1: Manual sleep, wake up from wired keyboard or mouse ok, from power button wakes up but black screen so no video, so works almost good
case 2: Auto sleep based on energy settings (5 minutes) only got a monitor sleep wakes up from wired keyboard or mouse, so doesn't work
In addition speedstep doesn't looks like working, so cpu is always @3.2G ~40C+ and from windows varies from 1.2G to 3.2G deppending on CPU load, of course temps are about 10C higher in mac than in windows. Temps idle @3.2G are both the same ~40-42C
Any idea on what am I doing wrong? I've read somewheree and cannot remember exactly but does usb3 kext cause sleep issues?
Big Tks

For Case 1: I had the same issue when waking the system up with power button, it was waking up but with monitor still on energy saver, i had to press a button on keyboard or mouse to wake the monitor up as well. But i have clean installation now and it wakes up right from power button, I still have the same configuration with previous install. Only that RTC terminal patched applied. I think that solved the issue
For Case 2: Mine is configured to sleep after 15 minutes, but it sleeps just a few minutes after that period. ±2 mins. Autosleep was a issue for me too on previous install.

In which way you achieved SpeedStep? Because speedstep is can't be achieved by default configuration, you have to make DSDT edits.

And yes sometimes some drivers cause sleep issues, like usb, netwrok. You can try to remove the additional kexts you installed one by one, and may be you can troubleshoot the issue. That's the way i work; Trial & Error. :D
 
Re: Some sleep & reset & cmos issues lion 10.7.2

Well I've try with pleasesleep.app and seems to work better, also changed in bios the power button from instant to 4 seconds, so at least works much better, but have to test if I have more issues about. But noticed that OC setings goes away, hrm, wierd...so I removed erp support and will retest.
About speedstep i didn't edit dsdt, just the original downloaded here so enabling c&p states are not enough...this is my bdmesg output:
Alexs-Mac-Pro:~ Alex$ bdmesg
Chameleon 1.6.0 (svn-r1394) [2011-10-28 20:34:09]
msr(301): platform_info 40031400
msr(305): flex_ratio 00011400
Sticking with [BCLK: 160Mhz, Bus-Ratio: 200]
CPU: Brand String: Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping: 0x1e/0x1/0x5
CPU: MaxCoef/CurrCoef: 0x0/0x14
CPU: MaxDiv/CurrDiv: 0x0/0x0
CPU: TSCFreq: 3200MHz
CPU: FSBFreq: 160MHz
CPU: CPUFreq: 3200MHz
CPU: NoCores/NoThreads: 4/4
CPU: Features: 0x0000027f
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
...
Read HFS+ file: [hd(0,2)/Extra/org.chameleon.Boot.plist] 995 bytes.
Module 'Symbols.dylib' by 'Chameleon' Loaded.
Description: Chameleon symbols for linking
Version: 0
Compat: 0
Read HFS+ file: [hd(0,2)/Extra/Themes/Default/theme.plist] 2688 bytes.
...
Read HFS+ file: [hd(0,2)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] 232 bytes.
Read HFS+ file: [hd(0,2)/Extra/org.chameleon.Boot.plist] 995 bytes.
Read HFS+ file: [hd(0,2)/System/Library/CoreServices/SystemVersion.plist] 478 bytes.
Loading Darwin 10.7
Loading kernel cache /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache] 15767818 bytes.
Using PCI-Root-UID value: 1
nVidia GeForce GT 430 1024MB NVc1 [10de:0de1] :: PciRoot(0x1)/Pci(0x3,0x0)/Pci(0x0,0x0)
LAN Controller [10ec:8168] :: PciRoot(0x1)/Pci(0x1c,0x1)/Pci(0x0,0x0)
Setting up lan keys
Read HFS+ file: [hd(0,2)/Extra/smbios.plist] 468 bytes.
Intel NHM IMC DRAM Controller [8086:d131] at 00:00.0
Frequency detected: 800 MHz (1600) Dual Channel
CAS:9 tRC:9 tRP:9 RAS:24 (9-9-9-24)
SMBus CmdReg: 0x3
Scanning SMBus [8086:3b30], mmio: 0xfbffc004, ioport: 0x500, hostc: 0x1
SPD[0] (size): 146 @0x50
Slot: 0 Type 24 2048MB (DDR3 SDRAM) 1600MHz Vendor=G Skill Intl
PartNo=F3-12800CL9-2GBRL SerialNo=00000000
SPD[0] (size): 146 @0x51
Slot: 1 Type 24 2048MB (DDR3 SDRAM) 1600MHz Vendor=G Skill Intl
PartNo=F3-12800CL9-2GBRL SerialNo=00000000
SPD[0] (size): 146 @0x52
Slot: 2 Type 24 2048MB (DDR3 SDRAM) 1600MHz Vendor=G Skill Intl
PartNo=F3-12800CL9-2GBRL SerialNo=00000000
SPD[0] (size): 146 @0x53
Slot: 3 Type 24 2048MB (DDR3 SDRAM) 1600MHz Vendor=G Skill Intl
PartNo=F3-12800CL9-2GBRL SerialNo=00000000
SPD[0] (size): 255 @0x54
SPD[0] (size): 255 @0x55
SPD[0] (size): 255 @0x56
SPD[0] (size): 255 @0x57
CPU is Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz, family 0x6, model 0x1e

Type: 0, Length: 24, Handle: 0x0
BIOSInformation:
vendor: Apple Inc.
version: MultiBeast.tonymacx86.com
releaseDate: 11/06/2009

Type: 1, Length: 27, Handle: 0x1
SystemInformation:
manufacturer: Apple Inc.
productName: MacPro3,1
version: 1.0
serialNumber: G88451235J4
uuid: 00000000-0000-0000-0000-1C6F653F0EFE
wakeupReason: 0x6
skuNumber: ?
family: Mac Pro

Type: 2, Length: 8, Handle: 0x2
BaseBoard:
manufacturer: Apple Inc.
product: Mac-F42C88C8
version: x.x
serialNumber: ?
assetTagNumber:
locationInChassis:
boardType: 0x20

Type: 3, Length: 17, Handle: 0x3
SystemEnclosure:
manufacturer: Gigabyte Technology Co., Ltd.
type: 3
version:
serialNumber:
assetTagNumber:

Type: 4, Length: 35, Handle: 0x4
ProcessorInformation:
socketDesignation: Socket 1156
processorType: 3
processorFamily: 0x1
manufacturer: Intel
processorID: 0x106E5
processorVersion: Intel(R) Core(TM) i5 CPU
externalClock: 160MHz
maximumClock: 3200MHz
currentClock: 3200MHz
serialNumber: ?
assetTag: ?
partNumber: ?

Type: 5, Length: 24, Handle: 0x5
...
MemoryDevice:
deviceLocator: A0
bankLocator: Bank0/1
memoryType: DDR3
memorySpeed: 1600MHz
manufacturer: G Skill Intl
serialNumber: 00000000
assetTag: ?
partNumber: F3-12800CL9-2GBRL
...
Type: 19, Length: 15, Handle: 0x1f
...
AppleProcessorType:
ProcessorType: 0x601

Type: 132, Length: 6, Handle: 0x26
AppleProcessorBusSpeed:
ProcessorBusSpeed (QPI): 5.1GT/s

Type: 127, Length: 4, Handle: 0x27

Customizing SystemID with : 00000000-0000-0000-0000-1c6f653f0efe
Read HFS+ file: [hd(0,2)/Extra/DSDT.aml] 15524 bytes.
ACPI table not found: SSDT.aml
FADT: Restart Fix applied!
FADT: Using custom DSDT!
Found ACPI CPU: CPU0
Found ACPI CPU: CPU1
Found ACPI CPU: CPU2
Found ACPI CPU: CPU3
Found ACPI CPU: CPU4
Found ACPI CPU: CPU5
Found ACPI CPU: CPU6
Found ACPI CPU: CPU7
SSDT with CPU C-States generated successfully
P-States: min 0x9, max 0x14
SSDT with CPU P-States generated successfully
RSDT: Added 2 SSDT table(s)
LoadDrivers: Loading from [/Extra/Extensions.mkext]
Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 108646 bytes.
Starting Darwin x86_64
Read HFS+ file: [hd(0,2)/Extra/Themes/Default/boot.png] 10950 bytes.

Would you help me on making it work, if possible?
big tks
 
Re: Some sleep & reset & cmos issues lion 10.7.2

I have the same issue with 5 second wake ups on my system. Everything else about sleep is ok. Here's my E/E:

ACPI Monitor
FakeSMC
IntelCPUMonitor
IntelThermal
NVClockX
SuperIOFamily
 
Re: Some sleep & reset & cmos issues lion 10.7.2

Taucesays said:
I have the same issue with 5 second wake ups on my system. Everything else about sleep is ok. Here's my E/E:

ACPI Monitor
FakeSMC
IntelCPUMonitor
IntelThermal
NVClockX
SuperIOFamily

I have the same files in E/E. now with pleasesleep.app & sleepenabler & nullCPU kexts the behavior changed to the oposite, so now autosleep seems to run fine but not manual sleep, where I have to unplug the power, it goes to sleep but when waking up turns on except video, so no matter what I do, nothing happens besides endless reset.
So next test will be removing those kexts and usb3 kext too, then retest all cases... :beachball: :banghead: :headbang:
 
Re: Some sleep & reset & cmos issues lion 10.7.2

Bimbo69 said:
Would you help me on making it work, if possible?
big tks

Do you still use NullCpu...kext?
 
Status
Not open for further replies.
Back
Top