기술

OS X kernel panic by version mis-match

jayjean 2012. 7. 7. 14:24

해킨토시 사용할 경우 Snow Leopard 10.6.6에서 10.6.8로 업데이트 한 후에는 바로 리부팅 하지 말고,

SleepEnabler patch를 해주어야 한다. 필요하다면 Legacy_kernel 설치도 해주어야 한다.


이 생각을 못하고 바로 리부팅 했다가 kernel panic에 빠져 한 달째 진입을 못하고 있다.

kernel panic은 "Version mis-match between kernel and CPU xx/xx/xxx etc.."라는 형태이다.

이를 해결하기 위해서는 chameleon boot flag에 pmVersion=0으로 주어 부팅한 후에

sleepenabler를 설치해 주면 된다고 한다.



http://www.tonymacx86.com/viewtopic.php?f=3&t=16391&p=104525#p104525

There have been a lot of problems that seem to be related to SleepEnabler recently.

Good news: a version has been released that restores compatibility with 10.6.7

http://code.google.com/p/xnu-sleep-enab ... p&can=2&q=

If you are having problems with the old version, you can fix the issue by doing the following:

1) Boot with "pmVersion=21" as a boot flag from Chameleon.
2) Use KextBeast to install the new one (make sure you have no other kexts on your desktop)
3) If you had previously added pmVersion=xx to your com.apple.Boot.plist (as I had) you should edit it and remove this flag.
4) Reboot.

If you are using the Sandy Bridge 10.7.3 kernel from the MBP update, you should try the above with "pmVersion=23".

If that simple method doesn't work you can try some of the following options:

Option 1:
Boot with "pmVersion=0" to disable the kext altogether. This didn't work for me, but is documented as such.

Option 2:
Boot into Single User Mode (optionally also Safe Mode) by using '-s' or '-s -x'.

Delete the kext manually:

mount -uw /
sudo rm -r /System/Library/Extensions/SleepEnabler.kext
sudo kextcache -system-caches
sudo kextcache -system-mkext
sudo reboot

And now install the new one using KextBeast as normal.

Note also that this new version is not in any way specific to 10.6.7. It will work with any 10.6.x.

https://tonymacx86.com/viewtopic.php?t=39981&p=252567

Hi guys,

hoping someone out there can help :)

Recently used the guide to update to 10.6.8 and install the latest version of multi beast, this went without a hitch but when I rebooted I get a kernel panic (version mismatch between kernel and cpu pm) and also a mention of sk.triaxis.kext.sleepenabler.

However when I give it the pmVersion=0 flag, I boot without a care in the world.

I've checked and I don't even have a sleep enabler in my extras/extensions folder so I'm stumped.

Is there a way I can force this command on boot as it's slightly annoying to have to type it each time I want to start in OSX.

Any help is much appreciated.

add your pm version flag to kernel flags in com.apple.boot.plist or org.chameleon.boot.plist, whichever one you have. If you already have a flag between the <string> </string> just be sure to leave a single space between the one there and your additiion