Jump to content

Haswell early reboot, Mavericks, locked MSRs, and HP Envy 15-J063CL (i7-4700MQ)

mavericks kernel mach_kernel locked MSR reboot power management

  • Please log in to reply
469 replies to this topic

#401
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

I was wondering since PMPatch doesn't work on Laptop Machines, if there was a way to actually unlock the MSR's on a notebook with some sort of patch. I am about to purchase an Asus Notebook for really cheap refurbished with a Haswell i5 Ultrabook CPU for $449. 

http://www.newegg.co...N82E16834231588

 

Since this is a great deal and I would love to take advantage of it, I have read also that there is a great chance that there are locked MSR's on this machine from some sources. This notebook for Hackintoshing has not been very popular.

 

In plan for the future OS Exe's and in terms of compatibility, I would love to Unlock my MSR's somehow with some sort of BIOS Patch that would work.

 

I don't wanna be stuck with a machine (Newegg's policy on refurbished machines is no return) that won't work with future OS Ex'es like Syrah or anything. I know I thinking way ahead right now but I was just wondering about any sort of way.

 

 

Things I have tried:
Calling Asus Support for some sort of BIOS Update/Patch (I've heard that some people have done this with Success)

Calling Asus Motherboards for Notebooks/Desktops (they knew nothing)

 

 

All those things I've tried before purchasing the notebook have not been successful, as calling the Asus support was not a great experience. It was as if I knew more than the representative, and unluckily, they don't keep record of any of the Motherboard components of any of their Notebooks and I believe Desktops.

 

 

I would also like to know if anyone has also had trouble finding info before buying a Haswell machine about getting info about the motherboard from the manufacturer.

The only option would be unlocking the BIOS.  Not always possible or easy.

 

But mach_kernel is easy to patch and is quite automatic with Clover+KernelPm.  So it really isn't a big deal.


Wakeup issue seems to be solved after reset bios and disable all unused bios options (such as Antitheft, Discrete Security Chip...).

 

But Power LED still continues blink after wake up.

My laptop has two LEDs. one is on Power button, another one is on Display housing.

 

How can I control status of Power LED?

You might check to be sure your _PTS/_WAK methods are executing to completion.  Perhaps it is one of the tasks taken care of by DSDT during _WAK.  You can use ACPIDebug to put traces into _WAK to be sure it executes from beginning to end.


I don't know if anyone has had an annoying experience with this before setting up a Lappy Hack

Annoying experience with what?



#402
Yung Raj

Yung Raj

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Houston, Texas

Thanks for the response RehabMan, the thing is that for future OS Ex'es a patch would take a while before it actually is able to be done unless the patch to the kernel like you said is easy. (not to sound overassuming)

 

I would just like some advice on what to do since this is a a great deal and would love to take advantage to it.

 

Since Clover patches the kernel by default with Kernel PowerManagement, would a future OS X be supported for something like that? I know this is a difficult question to ask because I'm pretty sure you very little about what's to come for the next OS X

 

 

And in regards to what I asked earlier, I'm pretty sure on desktop motherboards it's easier to recognize if the MSR's are locked by the bios, and plus PMPatch also works well on Desktops, but with Laptops I was wondering about any issues people have had in figuring out if MSR's are locked by default when you buy the machine at retail.



#403
nuschnuschi

nuschnuschi

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts
  • Gender:Male

You might check to be sure your _PTS/_WAK methods are executing to completion.  Perhaps it is one of the tasks taken care of by DSDT during _WAK.  You can use ACPIDebug to put traces into _WAK to be sure it executes from beginning to end.

 

Thank you. I will try ACPIDebug.

 

EDIT: Solved

http://www.insanelym...keup/?p=2014480



#404
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Thanks for the response RehabMan, the thing is that for future OS Ex'es a patch would take a while before it actually is able to be done unless the patch to the kernel like you said is easy. (not to sound overassuming)


I don't understand the question... if there is a question there...??
 

I would just like some advice on what to do since this is a a great deal and would love to take advantage to it.
 
Since Clover patches the kernel by default with Kernel PowerManagement, would a future OS X be supported for something like that? I know this is a difficult question to ask because I'm pretty sure you very little about what's to come for the next OS X


Crystal ball is cloudy at the moment. No way to predict the future.
 

And in regards to what I asked earlier, I'm pretty sure on desktop motherboards it's easier to recognize if the MSR's are locked by the bios, and plus PMPatch also works well on Desktops, but with Laptops I was wondering about any issues people have had in figuring out if MSR's are locked by default when you buy the machine at retail.


You quickly know that MSR 0xe2 is locked when your laptop reboots with unpatched mach_kernel.

#405
Yung Raj

Yung Raj

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Houston, Texas

I don't understand the question... if there is a question there...??
 

Crystal ball is cloudy at the moment. No way to predict the future.
 

You quickly know that MSR 0xe2 is locked when your laptop reboots with unpatched mach_kernel.

 

I know (that when a Haswell reboots instantly that MSR's are locked).

 

I guess I was not clear enough (that's my fault)

 

I was asking if there was a way to figure out if a computer or motherboard has locked MSR's somehow before actually purchasing the machine.

 

Edit : I am sorry if this is off topic, didn't really want to start a completely new thread



#406
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

I know (that when a Haswell reboots instantly that MSR's are locked).
 
I guess I was not clear enough (that's my fault)
 
I was asking if there was a way to figure out if a computer or motherboard has locked MSR's somehow before actually purchasing the machine.
 
Edit : I am sorry if this is off topic, didn't really want to start a completely new thread


The only way would be to run a program that would display MSR 0xE2 for you. Then you could check (I think it is bit 15). Or see if you can boot a non-patched USB OSX installer and see what happens.

In the case of laptops, if anyone is fool enough to take your bet, you could make a lot of money betting that it is locked.

#407
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Recently updated DSDT patch repo for this laptop to enable:

 

- Fn+brightness keys to allow keyboard access to brightness controls
- HDMI audio provided by DSDT patches + AppleIntelFramebufferAzul patches in config.plist

 

See post #1 for github link.

 

Note: I do not have this laptop anymore, so someone will need to test recent changes.



#408
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars
Updated post #1 with md5 sums for 10.9.3 mach_kernel (13.2.0).

#409
Yung Raj

Yung Raj

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Houston, Texas

would kernelpm in clover work with the latest 10.9.3 kernel or nope



#410
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

would kernelpm in clover work with the latest 10.9.3 kernel or nope


KernelPm implements the same patch as I provide in post #1. If my patch works, Clover's KernelPm works... and vice-versa.

#411
Yung Raj

Yung Raj

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Houston, Texas

oh nevermind

 

 

I thought the 10.9.3 had a new different implementation of the patch



#412
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

oh nevermind
 
 
I thought the 10.9.3 had a new different implementation of the patch


Nope... Same patch is working 10.9 -> 10.9.3. It is likely a future update will break the patch, but not this time.

#413
IDis

IDis

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

can you give me a link to  mach_kernel (pached) for 10.9.3

rassant @ mail . ru



#414
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

can you give me a link to  mach_kernel (pached) for 10.9.3
rassant @ mail . ru


No. See post #1 to patch your own copy.

#415
tinkleton

tinkleton

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male

can your dsdt patch be used on any Haswell laptop? My laptop also has a 4700mq but it is a Toshiba Satellite. 



#416
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

can your dsdt patch be used on any Haswell laptop? My laptop also has a 4700mq but it is a Toshiba Satellite.


The kernel patch can be used on any computer that needs it (Haswell or Ivy using -xcpm).

The DSDT patch repo for the Envy is likely specific to the this particular Envy, although many of the patches are generic as if you look closely you'll see many of them come directly from my generic laptop DSDT patch repo.

#417
tinkleton

tinkleton

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male

The kernel patch can be used on any computer that needs it (Haswell or Ivy using -xcpm).

The DSDT patch repo for the Envy is likely specific to the this particular Envy, although many of the patches are generic as if you look closely you'll see many of them come directly from my generic laptop DSDT patch repo.

Thanks for the reply! I have gone ahead and started to patch my DSDT with your guide, but, when I compile my Vanilla DSDT, I get 22 errors and I have no idea what to do. I am very new to creating a hackintosh, especially on a laptop. Here is a link to my errors. http://imgur.com/9ptkW13

 

Help would be much appreciated.



#418
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Thanks for the reply! I have gone ahead and started to patch my DSDT with your guide, but, when I compile my Vanilla DSDT, I get 22 errors and I have no idea what to do. I am very new to creating a hackintosh, especially on a laptop. Here is a link to my errors. http://imgur.com/9ptkW13
 
Help would be much appreciated.


I assume you have the *same* laptop?
It is normal to get errors on vanilla DSDT. Read the README.

If you don't have the same laptop, post all native DSDT/SSDT in another thread, probably here: http://www.insanelym...um/345-laptops/

#419
tinkleton

tinkleton

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male

I assume you have the *same* laptop?
It is normal to get errors on vanilla DSDT. Read the README.

If you don't have the same laptop, post all native DSDT/SSDT in another thread, probably here: http://www.insanelym...um/345-laptops/

Finally understood how to get to the patches. It seems as though none of the common error fixes are related to the errors I have. What can I do?

 

EDIT: Used DSDT Editor and managed to have it fix 18 errors. These are the 4 that are left. http://imgur.com/cZsDLqA



#420
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,487 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Finally understood how to get to the patches. It seems as though none of the common error fixes are related to the errors I have. What can I do?
 
EDIT: Used DSDT Editor and managed to have it fix 18 errors. These are the 4 that are left. http://imgur.com/cZsDLqA


You are probably disassembling them incorrectly. Post all native DSDT/SSDT extracted Linux. With modern computers, you really can't treat each file as an island. Files need to be disassembled as a group (with 'iasl -da *').

IMHO, using DSDT Editors "auto fix" is a bad idea.





Also tagged with one or more of these keywords: mavericks, kernel, mach_kernel, locked MSR, reboot, power management


1 user(s) are reading this topic

0 members, 1 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