Jump to content

CMOS Resets on Restarts after Sleep and Wake in 10.7 (Lion)


  • Please log in to reply
485 replies to this topic

#441
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
This should delete the Caches.

sudo rm -r /System/Library/Caches/com.apple.kext.caches/Startup/*

#442
EnzoFX

EnzoFX

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
Thanks rayap, deleted the caches and restart. The issue remains =/. I was thinking, could it possibly be hardware? Seeing as it was working from 10.7.0 to .2 up until just recently without any real reason to (that I can see at least). Maybe I'll see if Windows is sleeping properly. Other than that, I suppose I could try a fresh install soon.

#443
r0nnie

r0nnie

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
Hi,

i have a Gigabyte GA-P67A-UD3-B3 (f7) motherboard and the CMOS Reset Problem. When i shut down lion sometimes the pc won´t start. I must press sometimes 10 times the startbutton, sometimes 50 times, until the pc will start. Then i get a black screen with a main bios checksum error and the cmos will be reset to verison f4.

- I disabled usb legacy (didn´t help)
- I patched the appletrc.kext in E/E
- I deinstall my realtek lan 2.0.6 driver and install the Lnx driver (the cmos didn´t reset)

Now when i shut down the pc, it won´t start. Only after some time, but now the cmos didn´t reset. I think this was a problem with the realtek lan driver. I hope someone can help me, that the pc will start every time.

#444
EnzoFX

EnzoFX

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
an update on my issue:

Well the other day sleep just started working again. Aside from trying what was mentioned above, and not having it work soon after, I don't think I did anything really. Oh well =P.

#445
r0nnie

r0nnie

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
Which motherboard does not have a cmos error?

Now I have the cmos again error and think, that the easiest way is to buy another board.

#446
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,258 posts
  • Gender:Not Telling
@r0onnie: I tried the F7 bios but I had that restart loop often, then I went back to the F4 and now it's all smooth again.

#447
davidm71

davidm71

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 172 posts
  • Gender:Male
Hi,

I have a couple questions if anyone would mind answering them. I have 10.7.2 and my RTC DSDT _CRS Name method has 0x02 length. Thats how it was as I didn't have to mod it when I pulled my DSDT from the PC under Linux. Though I never have tried to put the machine to sleep I think I've seen that 128mb RTC error pop up occasionally. Right now I have ElliotRTC in the Extra folder though and if I patch the AppleRTC Kext should I delete the Device (RTC) from my DSDT and remove ElliotRTC?

Thanks.

#448
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,258 posts
  • Gender:Not Telling
1- patch AppleRTC
2- remove ElliotRTC
3- clear kext cache -- refresh the /Extra/Extensions.mkext too, Kext Wizard recommended.

It's not necessary to touch the DSDT, otherwise the kext probably won't load and halt your system. Just a guess, never did that.

#449
newstar55a

newstar55a

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
guys,

how come if i delete sleepimage it still exist when reboot?

#450
schmoppa

schmoppa

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
I came into this forum for help but found this post... if I understand correctly, is this why my BIOS seems to be resetting to a non-good configuration with crashes and sometimes (maybe? not sure) going to sleep? Important configurations like ICH SATA Control Mode, Onboard SATA/IDE Ctrl Mode, and more are changed.

Thanks

#451
tkenney65

tkenney65

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
I am trying to patch AppleRTC.kext to eliminate the CMOS reset issue on my Gigabyte GA-P45-UD3P mobo. I tried it and it doesn't seem to work because the "Modified Date" on the file isn't changing. Do I have to modify S/L/E permissions to apply the patch?

#452
DarwinX

DarwinX

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Florida

how come if i delete sleepimage it still exist when reboot?


Merely deleting the sleepimage is not sufficient as the system simply recreates it upon reboot. To prevent that from occuring, you must first set your hibernate mode to zero via this terminal command:

sudo pmset -a hibernatemode 0


#453
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil

I tried it and it doesn't seem to work because the "Modified Date" on the file isn't changing.


Are you sure you're looking at the right file? Look closely at the Perl script, towards the end.

My guess is you're looking at the modified date of AppleRTC.kext instead of the AppleRTC binary inside the kext.

#454
marcussebe

marcussebe

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:ITALY
I install Lion on USB HDD, it work, but,

When i shut down lion the notebook won´t start. The error is in the image. I

must press sometimes 10 times the startbutton, sometimes 50 times, until the pc will start.



My notebook is Acert TM 6292.


Can you help me?

Attached Files

  • Attached File  err6.jpg   143.37KB   30 downloads


#455
NoMadMan

NoMadMan

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts

Added 10th day of July, 2011
An alternate patch for AppleRTC.kext of Lion GM. (Post # 340)

sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
Comment 1st day of Septemebr, 2011
You may wish to put the patched kext in E/E and leave the Vanilla kext in S/L/E alone.

October 24th, 2011 - Above patch reportedly good for 10.7.2 too.


working.. asus p5q.. no EvOreboot and NullCPUPowerManagement

#456
HFW

HFW

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
  • Gender:Male
  • Location:England
Thought I'd mention this patch isn't required on the Asus P8Z68 Deluxe/Gen3. Not sure about other Intel 6 series boards, but might be worth trying if you haven't already.

I also ran into an issue with reboot when I had this patch. Issue being: reboot doesn't work after a sleep/wake.

Removed patch and tried with stock AppleRTC.kext, sleep works fine, no CMOS reset.

Besides that, everything was incredibly easy with this board... too easy. :P

#457
OonihiloO

OonihiloO

    InsanelyMac Protégé

  • Donators
  • 27 posts
Hi everyone,
Just install 10.7.3 Combo Update,
Still the same version of AppleRTC.kext,
So the patch is still good and if you've already patched it, no need to run it again
Happy Hacks

#458
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
Confirmed, AppleRTC contents do not change, even when using the 10.7.3 combo update. S3 sleep/wake still works.

#459
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
The AppleRTC executable file appears to remain unchanged in 10.7.3. However revisiting the perl script in post#340; found the following on a kext copy in Extra is sufficient:-

sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|' /Extra/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

#460
coscos

coscos

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
I recently was trying to fix the sleep/wake issue on my hackintosh, and need some help. My hackintosh has a gigabyte p35-ds3l, Sapphire Radeon HD5770. Running 10.7.2, everything is good except wake up.

After the machine sleeps properly, when it is woke up by keyboard or power button, it goes to black screen directly. The power is on, fans spinning, but no output to screen. I tried to ping it from another machine, but no response. Clearly the NIC was not brought up either.

I’ve tried patching AppleRTC file, using SleepEnabler, set darkwake to 0, using official RTL8111B or Lnx2mac network card drivers, but none of them works (all black screen)

Now I'm stucked. Any suggestion?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy