Contribute
Register

High Sierra only reboots, won't shut down.

Status
Not open for further replies.
Joined
Mar 2, 2013
Messages
30
Motherboard
Elitebook 1040 G3 (Clover)
CPU
i7-6600
Graphics
HD 520
Mac
  1. MacBook Pro
  2. Mac Pro
Classic Mac
  1. iBook
Mobile Phone
  1. Android
Recently I upgraded from El Cap to HS 10.13.6 using the native method outlined here https://www.tonymacx86.com/threads/update-directly-to-macos-high-sierra.232707/.

Everything seems to be working fine, except that it now won't shut down correctly. The panic report upon reboot says that my keyboard has caused the problem.
Code:
Anonymous UUID:       19737B01-55FE-A20B-4E1C-37DB07693929

Fri Jul 20 16:12:40 2018

*** Panic Report ***
panic(cpu 0 caller 0xffffff8007a6e2e1): "Apple Keyboard[0x1000003ca]::terminate(kIOServiceSynchronous) timeout\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.71.2/iokit/Kernel/IOService.cpp:2297
Backtrace (CPU 0), Frame : Return Address
0xffffff81f9103960 : 0xffffff800746c1c6
0xffffff81f91039b0 : 0xffffff8007595274
0xffffff81f91039f0 : 0xffffff8007587544
0xffffff81f9103a60 : 0xffffff800741e1e0
0xffffff81f9103a80 : 0xffffff800746bc3c
0xffffff81f9103bb0 : 0xffffff800746b9fc
0xffffff81f9103c10 : 0xffffff8007a6e2e1
0xffffff81f9103c70 : 0xffffff8007a71e17
0xffffff81f9103cf0 : 0xffffff7f88090884
0xffffff81f9103d10 : 0xffffff7f895adf2b
0xffffff81f9103d50 : 0xffffff7f895ad908
0xffffff81f9103db0 : 0xffffff7f895a2d8b
0xffffff81f9103df0 : 0xffffff7f895a5a8d
0xffffff81f9103e40 : 0xffffff8007a7eef5
0xffffff81f9103eb0 : 0xffffff8007a7ec9a
0xffffff81f9103ed0 : 0xffffff80074a5844
0xffffff81f9103f40 : 0xffffff80074a53a5
0xffffff81f9103fa0 : 0xffffff800741d557
      Kernel Extensions in backtrace:
         com.apple.iokit.IOUSBFamily(900.4.1)[2837DD62-F2B0-3357-A164-D44FEF6810E0]@0xffffff7f88053000->0xffffff7f880edfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f87c94000
            dependency: com.apple.iokit.IOUSBHostFamily(1.2)[CE61D704-9BFF-308E-BC1C-56FF071DBB74]@0xffffff7f87fd2000
            dependency: com.apple.driver.usb.AppleUSBCommon(1.0)[E7111D99-B893-3F96-9741-71C88BC6F66B]@0xffffff7f87fca000
         com.apple.driver.AppleUSBLegacyHub(900.4.1)[F34036CF-9F86-3025-8C0B-18273A15F4A3]@0xffffff7f895a0000->0xffffff7f895b8fff
            dependency: com.apple.iokit.IOUSBFamily(900.4.1)[2837DD62-F2B0-3357-A164-D44FEF6810E0]@0xffffff7f88053000

BSD process name corresponding to current thread: kernel_task
Boot args: dart=0 kext-dev-G

Mac OS version:
17G65

Kernel version:
Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
Kernel UUID: 1AE5ACFD-3B6F-3D74-AD52-31F1430DBC6F
Kernel slide:     0x0000000007200000
Kernel text base: 0xffffff8007400000
__HIB  text base: 0xffffff8007300000
System model name: iMac13,2 (Mac-FC02E91DDD3FA6A4)

System uptime in nanoseconds: 91525569885
last loaded kext at 6163525722: com.avira.kext.FileAccessControl    1.2.5 (addr 0xffffff7f87ea8000, size 36864)
last unloaded kext at 635479644: as.vit9696.Lilu    1.0.0 (addr 0xffffff7f8a0e1000, size 229376)
loaded kexts:
com.avira.kext.FileAccessControl    1.2.5
com.paceap.kext.pacesupport.snowleopard    5.9.1
com.paragon-software.filesystems.ntfs    319.2.15
com.valvesoftware.SteamInput    4357.73.42
com.Cycling74.driver.Soundflower    2
com.insanelymac.RealtekRTL8111    2.2.1
net.osx86.kexts.GenericUSBXHCI    1.2.11
org.rehabman.driver.FakePCIID.XHCIMux    1.3.12
org.rehabman.driver.FakePCIID    1.3.12
com.rehabman.driver.USBInjectAll    0.6.6
org.netkas.driver.FakeSMC    1787
com.apple.filesystems.autofs    3.0
com.apple.iokit.IOBluetoothSerialManager    6.0.7f10
com.apple.driver.AGPM    110.23.37
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AppleHDAHardwareConfigDriver    281.52
com.apple.driver.AppleUpstreamUserClient    3.6.5
com.apple.driver.AppleHDA    281.52
com.apple.driver.AppleMCCSControl    1.5.5
com.apple.driver.AppleGraphicsDevicePolicy    3.20.13
com.apple.AGDCPluginDisplayMetrics    3.20.13
com.apple.driver.AppleHV    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.driver.eficheck    1
com.apple.driver.AppleIntelHD4000Graphics    10.3.6
com.apple.driver.pmtelemetry    1
com.apple.driver.AppleLPC    3.1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleOSXWatchdog    1
com.apple.driver.AudioAUUC    1.70
com.apple.driver.Apple16X50ACPI    3.2
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleIntelFramebufferCapri    10.3.6
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.filesystems.hfs.kext    407.50.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.BootCache    40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.AppleSystemPolicy    1.0
com.apple.iokit.SCSITaskUserClient    404.30.2
com.apple.filesystems.apfs    748.51.0
com.apple.driver.AirPort.Atheros40    700.74.5
com.apple.driver.AppleUSBLegacyHub    900.4.1
com.apple.driver.AppleAHCIPort    329.50.2
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.driver.AppleIntelCPUPowerManagementClient    220.50.1
com.apple.nke.applicationfirewall    183
com.apple.security.TMSafetyNet    8
com.apple.security.quarantine    3
com.apple.driver.AppleIntelCPUPowerManagement    220.50.1
com.apple.kext.triggers    1.0
com.apple.driver.DspFuncLib    281.52
com.apple.kext.OSvKernDSPLib    526
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.iokit.IOSMBusFamily    1.1
com.apple.driver.AppleGraphicsControl    3.20.13
com.apple.iokit.IOAVBFamily    680.2
com.apple.plugin.IOgPTPPlugin    680.15
com.apple.iokit.IOEthernetAVBController    1.1.0
com.apple.driver.AppleSSE    1.0
com.apple.iokit.IOBluetoothFamily    6.0.7f10
com.apple.driver.AppleHDAController    281.52
com.apple.iokit.IOHDAFamily    281.52
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.iokit.IONDRVSupport    519.20
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.driver.AppleSMBusPCI    1.0.14d1
com.apple.driver.Apple16X50Serial    3.2
com.apple.iokit.IOSerialFamily    11
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.AppleGPUWrangler    3.20.13
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.iokit.IOAcceleratorFamily2    378.26
com.apple.iokit.IOSurface    211.15
com.apple.AppleGraphicsDeviceControl    3.20.13
com.apple.iokit.IOGraphicsFamily    519.20
com.apple.driver.AppleHIDKeyboard    205
com.apple.iokit.IOUSBHIDDriver    900.4.1
com.apple.driver.AppleUSBAudio    312.6
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.iokit.IOUSBMassStorageClass    4.0.4
com.apple.driver.AppleUSBComposite    900.4.1
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice    404.30.2
com.apple.iokit.IOBDStorageFamily    1.8
com.apple.iokit.IODVDStorageFamily    1.8
com.apple.iokit.IOCDStorageFamily    1.8
com.apple.iokit.IOAHCISerialATAPI    267.50.1
com.apple.driver.AppleXsanScheme    3
com.apple.iokit.IOAHCIBlockStorage    301.40.2
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IOUSBFamily    900.4.1
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.driver.usb.AppleUSBEHCIPCI    1.2
com.apple.driver.usb.AppleUSBEHCI    1.2
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.DiskImages    480.60.1
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleEffaceableStorage    1.0
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    439.70.3
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    140.70.2
com.apple.iokit.IOSCSIBlockCommandsDevice    404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily    404.30.2
com.apple.iokit.IOStorageFamily    2.1
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.iokit.IOReportFamily    31
com.apple.iokit.IOTimeSyncFamily    680.15
com.apple.iokit.IONetworkingFamily    3.4
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1

EOF
Model: iMac13,2, BootROM IM131.0114.B00, 4 processors, Intel Core i7, 3.50 GHz, 16 GB, SMC 2.11f16
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1600 MHz, Corsair, CML16GX3M2A1600C10
Memory Module: BANK 0/DIMM2, 8 GB, DDR3, 1600 MHz, Corsair, CML16GX3M2A1600C10
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x3112), Atheros 9380: 4.0.74.0-P2P
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: Samsung SSD 850 EVO 500GB, 500.11 GB
Serial ATA Device: WDC WD3003FZEX-00Z4SA0, 3 TB
Serial ATA Device: WDC WD10EAVS-32D7B1, 1 TB
Serial ATA Device: WDC WD5000AAKS-00YGA0, 500.11 GB
Serial ATA Device: ATAPI   iHAS120   6
Serial ATA Device: WDC WD20EARS-00MVWB0, 2 TB
USB Device: USB 3.0 Bus
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Keystation 88
USB Device: PLAYSTATION(R)3 Controller
USB Device: US-16x08
USB Device: STORE N GO
USB Device: USB 2.0 Bus
USB Device: Hub
Thunderbolt Bus:

So I've tried:
- Installing 3rd party USB drivers,
- 7/8/9 series USB support,
- Remove XHCI USB Port limit, and
- USBInject all
from The latest Multibeast, but I'm not sure how to check if all my ports are working as they should be. I did try and use this guide: https://www.tonymacx86.com/threads/guide-10-11-usb-changes-and-solutions.173616/
I did the EHCx->EH0x rename, and installed FakePCIID_XHCIMux.kext and FakePCIID.kext. But it made no difference to the shutdown problem.

I also tried changing FixShutdown from false to true in config.plist

Whilst trying to mount the EFI partition using efi mounter v3, I noticed that the identifiers change every reboot, sometimes it's disk0s1, sometimes disk1s1, sometimes disk2s1, but it says that the current boot disk is disk5s1 every time. With El Cap, EFI was always disk0s1, and the boot disk was always disk0s2. Could this be causing any problems?

I checked config.plist before and after the "remove XHCI USB port limit" using multibeast and didn't notice any changes, would the above problem have anything to do with this?



EDIT:
I have uploaded my problem reporting files using black.dragon74's script. Not sure if I needed to generate those files with GenericUSBXHCI.kext installed or not. These are without it installed.

Currently my system is stable without GenericUSBXHCI.kext, USBInjectall.kext, FakePCIID.kext (or mux). But I'm without 4 usb ports that were usable under El Cap. As soon as I reinstall GenericUSBXHCI.kext, those ports are functional again, but the rebooting problem returns.
 

Attachments

  • debug_229.zip
    1.8 MB · Views: 115
Last edited:
Your config.plist is corrupt which is the same as no config.plist at all :
Code:
config.plist: Found non-key inside <dict> at line 92

See if this corrected/modified version makes any difference :
 

Attachments

  • config.plist
    7.9 KB · Views: 248
Last edited:
Ok so I have/had the same reboot loop problem as you. I also have the same mobo and cpu. I recently got a new SSD and did a clean install of El Cap, then direct updated to High Sierra. I'm still running MLion on my HDD. So after several clean re-installs of ElCap/High Sierra with varying kexts and drivers, I think I sort of have an idea of what is going on:

When I initially installed MLion years ago right after purchasing and setting up my rig, I was having major install issues, and in particular USB issues. After doing some research (if I remember this correctly) the Z77X-UP4 TH mobo has four USB 3.0 ports controlled by a VIA VL800 chip. And I think that chip was basically only used on the UP4 and no other 7 series mobo at the time. The only USB ports NOT controlled by this VIA chip are the two located directly below the RJ-45 Ethernet port on the back, and any ports on your case controlled by the internal USB headers. The other 4 ports on the back are controlled by the chip. So for some reason, whether it be a crappy chipset or general lack of hackintosh support, those ports would only work (at least for me) with the "3rd Party USB 3.0" driver from Multibeast.

So after doing several clean installs of El Cap/High Sierra the past two days, I was able to deduce that it only does the reboot/won't shutdown loop after I install the "3rd Party USB 3.0" driver. When I install the "7/8/9 Series USB Support" driver only, those VIA chip controlled ports don't work, my USB 2.0 ports on back (and the two ports on the case header) do work, and it shuts down properly. If I then install the "3rd Party USB 3.0" driver, all of my USB ports work, but it goes right into the loop when I try to shutdown.

After figuring this out, and instead of doing a new clean install, I went to the folder where the kext is (/Library/Extensions) and deleted "GenericUSBXHCI.kext". I then emptied my trash and shut it down, to which it shut down properly and has continued to do so repeatedly.

The reason I bring up the VIA controlled ports is because this limits the amount of working USB ports we can have. I'd very much like to be able to use them. I can find a work around for peripherals and such, but it's not ideal. For what it's worth I have not tried to install "Remove XHCI USB Port Limit" or "USBInjectAll", but I have no idea if those apply to our mobo and would help, nor do I want to do ANOTHER clean install if it does something even more nasty than shutdown loop as I just setup all of my apps and settings how I want.

Let me know if this makes sense and has helped. Also, if someone knows how to make those ports work without the "GenericUSBXHCI.kext" causing the shutdown loop, I would give you hugs for life.
 
Ok so I have/had the same reboot loop problem as you. I also have the same mobo and cpu. I recently got a new SSD and did a clean install of El Cap, then direct updated to High Sierra. I'm still running MLion on my HDD. So after several clean re-installs of ElCap/High Sierra with varying kexts and drivers, I think I sort of have an idea of what is going on:

When I initially installed MLion years ago right after purchasing and setting up my rig, I was having major install issues, and in particular USB issues. After doing some research (if I remember this correctly) the Z77X-UP4 TH mobo has four USB 3.0 ports controlled by a VIA VL800 chip. And I think that chip was basically only used on the UP4 and no other 7 series mobo at the time. The only USB ports NOT controlled by this VIA chip are the two located directly below the RJ-45 Ethernet port on the back, and any ports on your case controlled by the internal USB headers. The other 4 ports on the back are controlled by the chip. So for some reason, whether it be a crappy chipset or general lack of hackintosh support, those ports would only work (at least for me) with the "3rd Party USB 3.0" driver from Multibeast.

So after doing several clean installs of El Cap/High Sierra the past two days, I was able to deduce that it only does the reboot/won't shutdown loop after I install the "3rd Party USB 3.0" driver. When I install the "7/8/9 Series USB Support" driver only, those VIA chip controlled ports don't work, my USB 2.0 ports on back (and the two ports on the case header) do work, and it shuts down properly. If I then install the "3rd Party USB 3.0" driver, all of my USB ports work, but it goes right into the loop when I try to shutdown.

After figuring this out, and instead of doing a new clean install, I went to the folder where the kext is (/Library/Extensions) and deleted "GenericUSBXHCI.kext". I then emptied my trash and shut it down, to which it shut down properly and has continued to do so repeatedly.

The reason I bring up the VIA controlled ports is because this limits the amount of working USB ports we can have. I'd very much like to be able to use them. I can find a work around for peripherals and such, but it's not ideal. For what it's worth I have not tried to install "Remove XHCI USB Port Limit" or "USBInjectAll", but I have no idea if those apply to our mobo and would help, nor do I want to do ANOTHER clean install if it does something even more nasty than shutdown loop as I just setup all of my apps and settings how I want.

Let me know if this makes sense and has helped. Also, if someone knows how to make those ports work without the "GenericUSBXHCI.kext" causing the shutdown loop, I would give you hugs for life.
Hello,I have the same issues with you on my hackintosh(10.13.5), my motherboard is Gigabyte Z77XUD3H,with the same VIA USB3.0 control chip ,GenericUSBXHCI.kext cause kernel panic ,so I have to remove it , only two native USB3.0 ports work now. Maybe external USB hub is a good idea ,but USB hub cause sleep problem. I also want to know how to fix it
 
OldBonezy thanks for your reply! I had the same problems with ML myself and I remember the usb ports being different. When I installed Mavericks it was a little easier to get it running smoothly, then El Capitan was even easier.

So what has changed since El Capitan as far as usb drivers?
I haven't tried Sierra, so I can't comment on that.

Does anyone with knowledge about GenericUSBXHCI.kext and the differences between 10.11 and 10.13 have any insights on this problem?
 
Great topic. For the first time in 6 months I've successfully kept my mac shut down!

So: I did not have a GenericUSBXHCI.kext in that folder, the closest thing I found was: USBinjectAll.kext . I removed that one and it seems to work. All my USB ports are still active, so I don't really know what that kext files does....

If I run into trouble, I'll let you know.

edit: I hoorayed to soon, the 3 next shut-downs were unsuccessful. I realised though that ejecting and also physically removing all external disks and USB's resolved the problem. When those were gone I stayed shut-down again.
 
Last edited:
Great topic. For the first time in 6 months I've successfully kept my mac shut down!

So: I did not have a GenericUSBXHCI.kext in that folder, the closest thing I found was: USBinjectAll.kext . I removed that one and it seems to work. All my USB ports are still active, so I don't really know what that kext files does....

If I run into trouble, I'll let you know.

edit: I hoorayed to soon, the 3 next shut-downs were unsuccessful. I realised though that ejecting and also physically removing all external disks and USB's resolved the problem. When those were gone I stayed shut-down again.

My problem is that I need GenericUSBXHCI.kext to get all of my usb ports working. Removing USBinjectAll.kext didn't solve my problem. I have tried removing GenericUSBXHCI.kext and that does allow my system to shut down correctly, but then I'm missing 4 usb ports, so I'm not sure which is more annoying at this point.
 
Status
Not open for further replies.
Back
Top