Contribute
Register

Slow... but functional, booting. Catalina 10.15.6 - Is there a quicker way?

Status
Not open for further replies.
Joined
Oct 8, 2013
Messages
4
Motherboard
GA-Z97X-UD7 TH
CPU
i7-4790k
Graphics
RX 580
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
After much duress, I have successfully installed Catalina 10.15.6 on my old i7-4790k, Z97X mainboard, just updated with a new PCIe M.2 970 SSD and a RX 580. It has been a while since my last hack, but it was a great re-learning process.

Everything about the build is functional (yeah!) however I am experiencing longer than expected boot times before I arrive at the login screen. Especially with the new M.2 SSD, I feel the boot should be much.... quicker. Currently it takes 2m:10s from the time I press enter on the Clover boot screen, to reach the Catalina login screen.

I fear I might have misconfigured something that is causing the system to hang up during the boot process. Is there anything I can change in my config.plist or EFI Folder to quicken the boot?

Thanks for taking a look!
 

Attachments

  • EFI.zip
    12 MB · Views: 116
  • bootlog.txt
    37.9 KB · Views: 120
@ShadowExe,

The Boot log you have attached is the Clover pre-boot log, which wont really tell you anything when debugging an issue like this, you need to take a look at the system kernel boot log and find out where the boot process is stalling.

Do a fresh, clean boot, run Hackintool, and follow the procedure below :-

Screenshot 2020-07-22 at 13.03.41.png

When you click on the refresh icon (Step 4) it will take around 20 - 40 seconds to generate the log file.

Now work through the log file looking at the time stamp to find out where the boot process stalled.
This should give you a good clue as to what is causing the long boot times (most likely a kext driver timeout).

Cheers
Jay
 
@ShadowExe,

The Boot log you have attached is the Clover pre-boot log, which wont really tell you anything when debugging an issue like this, you need to take a look at the system kernel boot log and find out where the boot process is stalling.

Do a fresh, clean boot, run Hackintool, and follow the procedure below :-

View attachment 481331
When you click on the refresh icon (Step 4) it will take around 20 - 40 seconds to generate the log file.

Now work through the log file looking at the time stamp to find out where the boot process stalled.
This should give you a good clue as to what is causing the long boot times (most likely a kext driver timeout).

Cheers
Jay

Hey Jay, Thank you for providing instruction on how to pull the system kernel boot log from Hackintool. I have followed your steps and attached the full log below. I am a bit rusty with my hack skills, especially with these new tools, so I appreciate the clear instruction.

Looking at the log, I found two spots where it appears to hang. The first is for about 40s trying to load iGPU graphics driver, AppleIntelCFLGraphicsFramebuffer, and AppleGraphicsDeviceControl.
Code:
2020-07-22 08:36:39.478740-0700  localhost kernel[0]: (Sandbox) <Sandbox`kernel_report> Sandbox: bluetoothd(110) deny(1) mach-lookup com.apple.server.bluetooth
2020-07-22 08:36:59.414535-0700  localhost kernel[0]: (AppleIntelKBLGraphics) <AppleIntelKBLGraphics`IntelAccelerator::registerWithFramebufferController()> [IGPU] Graphics driver failed to load: could not register with Framebuffer driver!
2020-07-22 08:36:59.414550-0700  localhost kernel[0]: (AppleIntelKBLGraphics) <AppleIntelKBLGraphics`IntelAccelerator::registerWithFramebufferController()> [IGPU] Graphics driver failed to load: could not register with Framebuffer driver!
2020-07-22 08:36:59.415360-0700  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) <AppleIntelCFLGraphicsFramebuffer`AppleIntelFramebufferController::probe(IOService*, int*)> Entry to probe function
2020-07-22 08:36:59.415363-0700  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) <AppleIntelCFLGraphicsFramebuffer`AppleIntelFramebufferController::probe(IOService*, int*)> PlatformID is undefined
2020-07-22 08:37:22.045224-0700  localhost kernel[0]: (AppleGraphicsDeviceControl) <AppleGraphicsDeviceControl`AppleGraphicsDeviceControlClient::authorizeTask(AppleGraphicsDeviceControl*, task*, unsigned int)> AGDCC: Unauthorized client 'PerfPowerService' (IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/AMD9500ControllerWrangler)
2020-07-22 08:37:22.045282-0700  localhost kernel[0]: (AppleGraphicsDeviceControl) <AppleGraphicsDeviceControl`AppleGraphicsDeviceControlClient::authorizeTask(AppleGraphicsDeviceControl*, task*, unsigned int)> AGDCC: Unauthorized client 'PerfPowerService' (IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/AtiDeviceControl)
2020-07-22 08:37:26.121558-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>
2020-07-22 08:37:26.139258-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>
From my understanding I have configured my system to run in headless mode, but perhaps I missed something?

The second hang up is about 60s long, I don't exactly know why, it appears to be something in the area related to APFS log debug:
Code:
2020-07-22 08:37:33.532253-0700  localhost kernel[0]: (Sandbox) <Sandbox`kernel_report> Sandbox: bluetoothd(110) deny(1) mach-lookup com.apple.server.bluetooth
2020-07-22 08:37:34.099935-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>
2020-07-22 08:37:34.117223-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>
2020-07-22 08:37:34.279051-0700  localhost kernel[0]: (kernel) 70.024877: ATHR: unknown locale: 21
2020-07-22 08:37:34.279646-0700  localhost kernel[0]: (kernel) 70.025472: ATHR: unknown locale: 21
2020-07-22 08:37:34.924410-0700  localhost kernel[0]: (kernel) 70.670235: ATHR: unknown locale: 21
2020-07-22 08:38:25.954677-0700  localhost kernel[0]: (apfs) <apfs`log_debug> tx_flush:1028: xid 4393 tx stats: # 20 finish 21 enter 354 wait 0 0us close 0us flush 1370us
2020-07-22 08:38:28.603767-0700  localhost kernel[0]: (apfs) <apfs`log_debug> tx_flush:1028: xid 4413 tx stats: # 40 finish 42 enter 184 wait 2 3251us close 0us flush 1263us
2020-07-22 08:38:28.824343-0700  localhost kernel[0]: (apfs) <apfs`log_debug> tx_flush:1028: xid 4433 tx stats: # 60 finish 62 enter 135 wait 2 3251us close 0us flush 1226us
2020-07-22 08:38:28.943865-0700  localhost kernel[0]: PMRD: power event 7 args 0xccd5d98d796a679 0x0

This one is above my knowledge base, but appears to be the longest hangup. Any idea what could be causing this delay?

Appreciate your time, thanks again!
 

Attachments

  • System Kernal Boot Log.txt
    807.6 KB · Views: 158
@ShadowExe,

The IGPU related issue my be because your are missing one or more of the IGPU sub-device dependancies in your ACPI/IOREG. Check your IOREG and ensure that you have IMEI and HDAS present .. if either of those are missing then it can cause issues with the IGPU (even when configured as headless).

It they are you may be able to use a ACPI fix to rename the devices in the DSDT to the correct ACPI device names (if they exist) or you can manually inject them via custom SSDT hot fix.

As for the other issue (unknown locale: 21) thats a very common problem, it means that one or more system files do not have the correct file permissions, the usual cause is that you have edited an info.plist in a kext without resetting the file permissions afterwards.

Fixing the file permissions should solve the issue, execute each of the following commands in terminal :-

Code:
sudo chown -v -R root:wheel /System/Library/Extensions
sudo touch /System/Library/Extensions
sudo chmod -v -R 755 /Library/Extensions
sudo chown -v -R root:wheel /Library/Extensions
sudo touch /Library/Extensions
sudo kextcache -i /


Cheers
Jay
 
@jaymonkey

Thanks for the advice, after implementing your suggested changes I am still experiencing a lengthy 2m:10s boot. No real difference unfortunately. =(

Current EFI and Boot Log attached

I took another look at my ACIP config in Clover Configurator an I have both "change HECI to IMEI" and "change HDAS to HDEF" patches enabled. Is this the proper configuration for my GA-Z97X-UD7 TH motherboard or should I disable the second HDAS to HDEF patch? FYI, this board has 2 onboard Thunderbolt 2 ports that also can function as Mini DisplayPorts, though I ONLY use these ports for TB2 hard drives. I just wonder if there is something squirrely about the display mapping configuration due to these ports.

I followed your guide to fix the file permissions, entering the sudo commands one-by-one, but I don't think it quite solved the issue. In fact, I am now seeing additional text around most all the (unknown locale: 21) entries that wasn't present in the prior boot log.

Additional (unknown locale: 21) text
Code:
ATHR: unknown locale: 21\
(ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
(ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\

Abridged Boot Log showing multiple (unknown locale: 21) entries
Code:
2020-07-23 10:59:37.334762-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 10:59:37.351961-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 10:59:38.291817-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 10:59:38.309206-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 10:59:38.352395-0700  localhost kernel[0]: (AppleRTC) <AppleRTC`AppleRTC::setGMTTimeOfDay(long)> RTC: setGMTTimeOfDay 1595527178\
2020-07-23 10:59:39.872169-0700  localhost kernel[0]: (Sandbox) <Sandbox`sb_report> Sandbox: 1 duplicate report for MRT allow file-read-metadata /private/var/db/CoreDuet/Knowledge/knowledgeC.db-shm\
2020-07-23 10:59:39.872171-0700  localhost kernel[0]: (Sandbox) <Sandbox`kernel_report> Sandbox: systemstats(66) deny(1) mach-lookup com.apple.tccd.system\
2020-07-23 10:59:41.511584-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 10:59:41.513414-0700  localhost kernel[0]: (kernel) 12.979170: ATHR: unknown locale: 21\
2020-07-23 10:59:41.533625-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 10:59:43.906734-0700  localhost kernel[0]: (Sandbox) <Sandbox`sb_report> Sandbox: 1 duplicate report for systemstats deny(1) mach-lookup com.apple.tccd.system\
2020-07-23 10:59:43.906737-0700  localhost kernel[0]: (Sandbox) <Sandbox`kernel_report> Sandbox: bluetoothd(110) deny(1) mach-lookup com.apple.server.bluetooth\
2020-07-23 10:59:45.747091-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 10:59:45.748606-0700  localhost kernel[0]: (kernel) 17.214362: ATHR: unknown locale: 21\
2020-07-23 10:59:45.769576-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 10:59:50.033546-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 10:59:50.035724-0700  localhost kernel[0]: (kernel) 21.501480: ATHR: unknown locale: 21\
2020-07-23 10:59:50.056058-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 10:59:54.322744-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 10:59:54.324730-0700  localhost kernel[0]: (kernel) 25.790486: ATHR: unknown locale: 21\
2020-07-23 10:59:54.345035-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 10:59:58.484357-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 10:59:58.487150-0700  localhost kernel[0]: (kernel) 29.952907: ATHR: unknown locale: 21\
2020-07-23 10:59:58.506512-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:02.627791-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:02.629946-0700  localhost kernel[0]: (kernel) 34.095702: ATHR: unknown locale: 21\
2020-07-23 11:00:02.650254-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:03.704947-0700  localhost kernel[0]: (AppleIntelKBLGraphics) <AppleIntelKBLGraphics`IntelAccelerator::registerWithFramebufferController()> [IGPU] Graphics driver failed to load: could not register with Framebuffer driver!\
2020-07-23 11:00:03.704962-0700  localhost kernel[0]: (AppleIntelKBLGraphics) <AppleIntelKBLGraphics`IntelAccelerator::registerWithFramebufferController()> [IGPU] Graphics driver failed to load: could not register with Framebuffer driver!\
2020-07-23 11:00:03.705789-0700  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) <AppleIntelCFLGraphicsFramebuffer`AppleIntelFramebufferController::probe(IOService*, int*)> Entry to probe function\
2020-07-23 11:00:03.705793-0700  localhost kernel[0]: (AppleIntelCFLGraphicsFramebuffer) <AppleIntelCFLGraphicsFramebuffer`AppleIntelFramebufferController::probe(IOService*, int*)> PlatformID is undefined\
2020-07-23 11:00:06.751500-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:06.753177-0700  localhost kernel[0]: (kernel) 38.218933: ATHR: unknown locale: 21\
2020-07-23 11:00:06.773627-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:10.876107-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:10.877797-0700  localhost kernel[0]: (kernel) 42.343553: ATHR: unknown locale: 21\
2020-07-23 11:00:10.898468-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:15.073599-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:15.075483-0700  localhost kernel[0]: (kernel) 46.541239: ATHR: unknown locale: 21\
2020-07-23 11:00:15.095776-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:19.271909-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:19.273428-0700  localhost kernel[0]: (kernel) 50.739184: ATHR: unknown locale: 21\
2020-07-23 11:00:19.294068-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:23.430324-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:23.432510-0700  localhost kernel[0]: (kernel) 54.898266: ATHR: unknown locale: 21\
2020-07-23 11:00:23.452726-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:26.367196-0700  localhost kernel[0]: (AppleGraphicsDeviceControl) <AppleGraphicsDeviceControl`AppleGraphicsDeviceControlClient::authorizeTask(AppleGraphicsDeviceControl*, task*, unsigned int)> AGDCC: Unauthorized client 'PerfPowerService' (IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/AMD9500ControllerWrangler)\
2020-07-23 11:00:26.367232-0700  localhost kernel[0]: (AppleGraphicsDeviceControl) <AppleGraphicsDeviceControl`AppleGraphicsDeviceControlClient::authorizeTask(AppleGraphicsDeviceControl*, task*, unsigned int)> AGDCC: Unauthorized client 'PerfPowerService' (IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/AtiDeviceControl)\
2020-07-23 11:00:27.625922-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:27.627774-0700  localhost kernel[0]: (kernel) 59.093530: ATHR: unknown locale: 21\
2020-07-23 11:00:27.647968-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:30.442421-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:30.459938-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:31.822913-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_updaterules> ALF, old data swfs_pid_entry <private>, updaterules_msg <private>, updaterules_state <private>\
2020-07-23 11:00:31.824842-0700  localhost kernel[0]: (kernel) 63.290598: ATHR: unknown locale: 21\
2020-07-23 11:00:31.845468-0700  localhost kernel[0]: (ALF) <ALF`sockwall_cntl_data> ALF, hash_free: found kext_info <private>\
2020-07-23 11:00:33.175947-0700  localhost kernel[0]: IOConsoleUsers: time(0) 0->0, lin 0, llk 1,\
2020-07-23 11:00:33.175954-0700  localhost kernel[0]: IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0\
2020-07-23 11:00:33.227721-0700  localhost kernel[0]: (Sandbox) <Sandbox`sb_report> Sandbox: 4 duplicate reports for bluetoothd deny(1) mach-lookup com.apple.server.bluetooth\
2020-07-23 11:00:33.227723-0700  localhost kernel[0]: (Sandbox) <Sandbox`kernel_report> Sandbox: com.apple.Ambien(290) deny(1) mach-lookup com.apple.windowserver\
2020-07-23 11:00:33.706910-0700  localhost kernel[0]: (AppleIntelKBLGraphics) <AppleIntelKBLGraphics`IntelAccelerator::registerWithFramebufferController()> [IGPU] Graphics driver failed to load: could not register with Framebuffer driver!\
2020-07-23 11:00:33.706925-0700  localhost kernel[0]: (AppleIntelKBLGraphics) <AppleIntelKBLGraphics`IntelAccelerator::registerWithFramebufferController()> [IGPU] Graphics driver failed to load: could not register with Framebuffer driver!\
2020-07-23 11:00:33.717610-0700  localhost kernel[0]: ifnet_attach: All kernel threads created for interface p2p0 have been scheduled at least once. Proceeding.\
2020-07-23 11:00:33.717625-0700  localhost kernel[0]: (kernel) AtherosNewma40P2PInterface::init name <p2p0> role 1\

Thanks again for your assistance! I read through many of your guides while working on this updated Hack. Your Lilu & Plug-ins guide was very informative and helpful. Thank you for putting those together for the benefit of all.
 

Attachments

  • ShadowExe System Kernal Boot Log 7-23.txt
    800.6 KB · Views: 138
  • ShadowExe EFI.zip
    12 MB · Views: 93
I took another look at my ACIP config in Clover Configurator an I have both "change HECI to IMEI" and "change HDAS to HDEF" patches enabled.


@ShadowExe,

You need to check your DSDT to make sure that you have the HECI and HDAS devices present otherwise the ACPI rename fixes wont do anything. If they are not defined you can inject them using a SSDT hot patch. I seem to remember that it's quite common for Gigabyte motherboards from that era to not have them but i could be wrong.

See RehabMans old repo for some example SSDT's :-

IMEI


HDEF


As for the other ATHR: unknown locale: 21 issues you need to fix the file permissions for them.

Cheers
Jay
 
Status
Not open for further replies.
Back
Top