Open 13631181823 opened 3 years ago
same issue
2021-10-01 03:05:48 +0800 Sleep Entering Sleep state due to 'Software Sleep pid=154': Using Batt (Charge:81%) 2021-10-01 03:05:51 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(3017 ms)] Sleep/Wakes since boot at 2021-10-01 02:43:30 +0800 :0 Dark Wake Count in this sleep cycle:1 2021-10-02 13:22:02 +0800 ShutdownCause SMC shutdown cause: 5: Software initiated shutdown
Hi, i'm new on Hackintosh, but i have carrefully read both Readme and Dortiana Guide to try to figure best config then make adjust but .. still can't suspend the OS (Catalina) it just reboot or it just stay asleep or .. sometime if lucky i can suspend then come back but one time only, second try it's same problem. it reboot or stay asleep.
First i want to mention that i have performed NVRAM Reset multiple time to be sure it's not due to relicas.
Ok now, i will try to elaborate about what i've done, what i have understand and decuted from guide because i'm a newbie then i'm not 100% sure to performs things correctly. I've broken several times my EFI before began to understand things.
So, i used informations in both guide : https://github.com/banhbaoxamlan/X230-Hackintosh/blob/master/Other/README_OTHERS.md https://dortania.github.io/OpenCore-Post-Install/universal/pm.html#enabling-x86platformplugin
1) According to both guide i should found and enable : "Drop CpuPm" and "Drop Cpu0Ist" in "Delete" ACPI section of Config.plist. But.. i'm only able to found "Delete CpuPm" and "Delete Cpu0Ist" already enable. It was a bit confusing for me.
So i have trier whith "Delete" but also with "Drop" ..
2) So .. I've (re)generated multiple time SSDT-PM.aml with ssdtPRGen (Before and after GenSMBIOS operations).. So i guess it's ok .. Perhaps when i (re)do the thing after Serial etc.. setuped in Config.plist i get this during generation :
System information: Mac OS X 10.15.7 (19H15)
Brandstring: "Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz"
...
Notice: The LFM frequency in Mac-E43C1C25D4880AD6.plist is set to 1300 MHz!
This restriction can be lifted with help of freqVectorsEdit.sh from:
https://github.com/Piker-Alpha/freqVectorsEdit.sh
...
Error: board-id [Mac-E43C1C25D4880AD6] not supported by Ivy Bridge – check SMBIOS data / use the -target option
It's quite inquieting.. I guess ?!
3)
There is error report i got after tentative of suspend then crash :
panic(cpu 0 caller 0xffffff8008f739d7): "Zone cache element was used after free! Element 0xffffff802f1bf5f0 was corrupted at beginning; Expected 0xbe8e47e7597e797f but found 0; canary 0x4171b86776658c8f; zone 0xffffff80098a46e0 (kalloc.80)"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.141.2.2/osfmk/kern/zcache.c:658
Backtrace (CPU 0), Frame : Return Address
0xffffff91feafb5c0 : 0xffffff8008f1868d
0xffffff91feafb610 : 0xffffff8009052ab5
0xffffff91feafb650 : 0xffffff800904463e
0xffffff91feafb6a0 : 0xffffff8008ebea40
0xffffff91feafb6c0 : 0xffffff8008f17d57
0xffffff91feafb7c0 : 0xffffff8008f18147
0xffffff91feafb810 : 0xffffff80096bf2bc
0xffffff91feafb880 : 0xffffff8008f739d7
0xffffff91feafb8c0 : 0xffffff8008f6fc3f
0xffffff91feafb9f0 : 0xffffff8008f255c4
0xffffff91feafba60 : 0xffffff80095ef4a7
0xffffff91feafba90 : 0xffffff7f8bb98a34
0xffffff91feafbac0 : 0xffffff7f8bbd6ba6
0xffffff91feafbad0 : 0xffffff7f8bbca708
0xffffff91feafbb10 : 0xffffff7f8bbc8a44
0xffffff91feafbb90 : 0xffffff7f8bbca286
0xffffff91feafbbd0 : 0xffffff7f8bbcaf10
0xffffff91feafbc20 : 0xffffff7f8bbc25d3
0xffffff91feafbc60 : 0xffffff7f8bbc6cd2
0xffffff91feafbcc0 : 0xffffff7f8bb7ff12
0xffffff91feafbd50 : 0xffffff7f8a04ee99
0xffffff91feafbda0 : 0xffffff7f8a04e38e
0xffffff91feafbdc0 : 0xffffff7f8ca5a604
0xffffff91feafbe00 : 0xffffff7f8ca5b2ee
0xffffff91feafbe30 : 0xffffff8009610fe4
0xffffff91feafbea0 : 0xffffff8009610dea
0xffffff91feafbec0 : 0xffffff8008f5a645
0xffffff91feafbf40 : 0xffffff8008f5a171
0xffffff91feafbfa0 : 0xffffff8008ebe13e
Kernel Extensions in backtrace:
com.apple.iokit.IOACPIFamily(1.4)[2956198D-24F2-3790-A9B2-1EAB9434B906]@0xffffff7f8a04d000->0xffffff7f8a055fff
com.apple.driver.AppleACPIPlatform(6.1)[0EF10B66-B44B-32BB-9CE3-5434F4D40FE1]@0xffffff7f8bb7a000->0xffffff7f8bc14fff
dependency: com.apple.iokit.IOACPIFamily(1.4)[2956198D-24F2-3790-A9B2-1EAB9434B906]@0xffffff7f8a04d000
dependency: com.apple.iokit.IOPCIFamily(2.9)[2F37AE58-E6B9-3B18-9092-3B80D34C334B]@0xffffff7f89931000
dependency: com.apple.driver.AppleSMC(3.1.9)[D2F0B610-83F8-3B84-B0BD-D9D0CC95A697]@0xffffff7f8a05f000
org.zhen.YogaSMC(1.5.1)[430CC6FA-2A7A-3C12-92F5-0CD9B035CBD7]@0xffffff7f8ca53000->0xffffff7f8ca76fff
dependency: as.vit9696.Lilu(1.5.4)[C9A738CE-E035-3013-9F63-827414448043]@0xffffff7f8c740000
dependency: as.vit9696.VirtualSMC(1.2.5)[EC51B25D-121E-3981-BB0E-3C2D0FF4887A]@0xffffff7f8c76e000
dependency: com.apple.iokit.IOACPIFamily(1.4)[2956198D-24F2-3790-A9B2-1EAB9434B906]@0xffffff7f8a04d000
BSD process name corresponding to current thread: kernel_task
Boot args: brcmfx-country=VN -no_compat_check -v
Mac OS version:
19H15
Kernel version:
Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64
Kernel UUID: 9B5A7191-5B84-3990-8710-D9BD9273A8E5
Kernel slide: 0x0000000008c00000
Kernel text base: 0xffffff8008e00000
__HIB text base: 0xffffff8008d00000
System model name: MacBookPro12,1 (Mac-E43C1C25D4880AD6)
System shutdown begun: NO
Panic diags file available: YES (0x0)
System uptime in nanoseconds: 1724398170132
Link to my Reddit thread about this problem, where i elaborate the issue ..
Hi, i've been able to fix sleep issues on my side. I included some SSDT from other Thinkpad OC repository project.
My OC is actually 0.7.5 but based on banhbaoxamlan/X230-Hackintosh I recommand to go with "MacbookPro10,2" instead of "MacbookPro9,1"
There is an archive who contain them. SSDT_files.zip
Also in config.plist add in "Patch" :
<dict>
<key>Base</key>
<string></string>
<key>BaseSkip</key>
<integer>0</integer>
<key>Comment</key>
<string>change 0D-03 to 00, SSDT-PRW-0D6D.aml related</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>Cg0KAw==</data>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data></data>
<key>OemTableId</key>
<data></data>
<key>Replace</key>
<data>Cg0KAA==</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
<integer>0</integer>
<key>TableLength</key>
<integer>0</integer>
<key>TableSignature</key>
<data>RFNEVA==</data>
</dict>
Curious: does Wake On Lan (WOL) work?
Not tried ! currently only able to reach the network by phone thethering. Almost everything work on my setup. i'm just try to fix the last thing the SDcard reader
Almost everything work on my setup.
Facetime? I could not get it to work with Monterey. The same with online video. Works in Chrome, shows black in Safari. Might have something to do with DRM.
Yes, DRM stuff Facetime etc.. Netflix work well with Catalina
With Catalina and Big Sur it is OK. But not with Monterey.
Probably, for this moment i don't consider switching on thoses OS. i'm quite new in Hackintosh, and the OC learning curve is kind of an hard pain. And it's difficult to find help from others users.
By the way, thank's you about the SSDT's i mention above, you showed me the path.
Do you think a kind a USB mapping could help with SDHC ?
From Catalina the step to Big Sur is relatively easy. But Monterey is another story. For instance: after every update you have to run a patch for the HD4000: https://github.com/chris1111/Patch-HD4000-Monterey
My own setup is largely derived from a T530 repository. See https://github.com/5T33Z0/Lenovo-T530-Hackintosh-OpenCore/issues/11
Do you think a kind a USB mapping could help with SDHC ?
I only tried it for a very brief time. From what I remember it was real slow. On my X230T I have Catalina, Big Sur, Monterey all in different SSD-partitions. I will have a look if it it still running with Catalina or Big Sur. But not now.
Impressive.. If your current EFI work well for Catalina i'm quite interested to have a look to it !
Impressive.. If your current EFI work well for Catalina i'm quite interested to have a look to it !
Disclaimer: I did not look at it for at least 5 months. SD card not included. YogaSMC works somewhat: it reports the fan speed (3700rpm ATM). I did not try if sleep works.
Thank's i'm gonna take a look !
Be careful with Wifi and Bluetooth. I have got both working with Monterey. Even 'Find my mac' works.
https://github.com/CLAY-BIOS/Lenovo-ThinkPad-T450s-Hackintosh-OpenCore/blob/master/README-English.md has a working SD Card with Monterey and a lot more. very impressive list at What works.
Nice work ! it seem your configuration is really advanced over Monterney. Actually .. SDcard work but only in certains conditions and not really stable, it make some bus crash USB / WIFI stop working.
It work on the T450 because it's a Realtek one not a Ricoh like on the x230 i guess
sleep issues,cant sleep,just reboot,setting the same as readme_others