Contribute
Register

Random reboots.

Status
Not open for further replies.
It is the HS pins on the USB3 port.
(HS/USB2 has separate pins from SS/USB3 on a USB3 port).



Both AppleHDA and brightness are linked from the FAQ...
Just fixed the brightness keys.
I will try to fix AppleHDA now.
And still the same problem with usb, reboots some times when i copy files to usb drive.
 
And still the same problem with usb, reboots some times when i copy files to usb drive.

It appears ACPI is still not patched correctly. You have strange/different power properties injected on XHC (just as an example).

Are you getting a panic report?

Maybe it has to do with a specific USB device you have plugged in?
Does it matter USB2 vs. USB3?

Why are there two PNLF devices listed in ioreg?
 
Last edited:
It appears ACPI is still not patched correctly. You have strange/different power properties injected on XHC (just as an example).

Are you getting a panic report?

Maybe it has to do with a specific USB device you have plugged in?
Does it matter USB2 vs. USB3?

Why are there two PNLF devices listed in ioreg?
About the PNLF, maybe because of messy DSDT. I think i apply some patches more than once. So i have to start all over again with the DSDT.

Will try to use USB3 port and will post result.
Where i can check for panic reports. In system logs there is nothing about panic/kernel-panic.
 
ACPI patching guide: http://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

For backlight control with IntelBacklight.kext, the only patch you need is "Brightness Fix" applied to DSDT only.
Anonymous UUID: C90D78D1-DA7E-B8DF-71F3-BEE0E68C2B1F

Tue Aug 9 11:38:41 2016

*** Panic Report ***
panic(cpu 4 caller 0xffffff80099ce40a): Kernel trap at 0xffffff8009983076, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffffa186220628, CR3: 0x000000011eae00d1, CR4: 0x00000000001627e0
RAX: 0xffffff7f80000000, RBX: 0xffffff802b44cd00, RCX: 0xffffff7f80000028, RDX: 0x0000002206220600
RSP: 0xffffff80261cbcd0, RBP: 0xffffff80261cbd00, RSI: 0x000000004169db35, RDI: 0xffffff801e4923b8
R8: 0xffffff803065fb00, R9: 0xffffff80261cbe90, R10: 0x0000000000000000, R11: 0x000000000005a701
R12: 0xffffff802e161f00, R13: 0xffffff801dc02000, R14: 0x000000000005b000, R15: 0xffffff801e4923b8
RFL: 0x0000000000010206, RIP: 0xffffff8009983076, CS: 0x0000000000000008, SS: 0x0000000000000000
Fault CR2: 0xffffffa186220628, Error code: 0x0000000000000000, Fault CPU: 0x4, PL: 1

Backtrace (CPU 4), Frame : Return Address
0xffffff80261cb960 : 0xffffff80098dab12
0xffffff80261cb9e0 : 0xffffff80099ce40a
0xffffff80261cbbc0 : 0xffffff80099ec273
0xffffff80261cbbe0 : 0xffffff8009983076
0xffffff80261cbd00 : 0xffffff800994d2ed
0xffffff80261cbf20 : 0xffffff80099ce9ff
0xffffff80261cbfb0 : 0xffffff80099ec185

BSD process name corresponding to current thread: Google Chrome He
Boot args: dart=0 kext-dev-mode=1

Mac OS version:
15E65

Kernel version:
Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64
Kernel UUID: 4E7B4496-0B81-34E9-97AF-F316103B0839
Kernel slide: 0x0000000009600000
Kernel text base: 0xffffff8009800000
__HIB text base: 0xffffff8009700000
System model name: MacBookPro11,1 (Mac-189A3D4F975D5FFC)

System uptime in nanoseconds: 30827148763302
last loaded kext at 29757300161704: org.virtualbox.kext.VBoxNetAdp 5.1.2 (addr 0xffffff7f8c176000, size 28672)
last unloaded kext at 29739618941013: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f8c105000, size 32768)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp 5.1.2
org.virtualbox.kext.VBoxNetFlt 5.1.2
org.virtualbox.kext.VBoxUSB 5.1.2
org.virtualbox.kext.VBoxDrv 5.1.2
com.rehabman.driver.IntelBacklight 1.0.10
com.driver.LogJoystick 2.0
com.intel.driver.EnergyDriver 2.0
org.voodoo.driver.VoodooHDA 2.8.6
org.emlydinesh.driver.ApplePS2ElanTouchpad 4.0.5
com.insanelymac.AtherosE2200Ethernet 2.1.0d1
org.emlydinesh.driver.ApplePS2Keyboard 4.0.5
org.rehabman.driver.FakePCIID 1.3.1
org.rehabman.driver.ACPIKeyboard 1.0.2
org.emlydinesh.driver.ApplePS2Controller 4.0.5
org.hwsensors.driver.ACPISensors 1707
org.hwsensors.driver.CPUSensors 1707
org.rehabman.driver.AppleSmartBatteryManager 1.70.1
org.netkas.driver.FakeSMC 1707
com.rehabman.driver.USBInjectAll 0.5.12
com.apple.filesystems.autofs 3.0
com.apple.filesystems.ntfs 3.13
com.apple.driver.AGPM 110.21.18
com.apple.driver.ApplePlatformEnabler 2.6.0d0
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleUpstreamUserClient 3.6.1
com.apple.driver.AppleIntelHD5000Graphics 10.1.4
com.apple.driver.pmtelemetry 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.iokit.IOBluetoothSerialManager 4.4.4f4
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHV 1
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleIntelFramebufferAzul 10.1.4
com.apple.driver.AppleMCCSControl 1.2.13
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.BootCache 38
com.apple.iokit.IOAHCIBlockStorage 2.8.5
com.apple.driver.AirPort.Brcm4360 1040.1.1a6
com.apple.driver.AppleAHCIPort 3.1.8
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleACPIEC 4.0
com.apple.driver.AppleACPIButtons 4.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleAPIC 1.7
com.apple.nke.applicationfirewall 163
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.iokit.IOUSBUserClient 900.4.1
com.apple.driver.usb.IOUSBHostHIDDevice 1.0.1
com.apple.driver.usb.AppleUSBHub 1.0.1
com.apple.kext.triggers 1.0
com.apple.iokit.IOSurface 108.2.1
com.apple.iokit.IOSerialFamily 11
com.apple.iokit.IOBluetoothFamily 4.4.4f4
com.apple.driver.CoreCaptureResponder 1
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.iokit.IOAudioFamily 204.3
com.apple.vecLib.kext 1.2.0
com.apple.driver.AppleSMBusPCI 1.0.14d1
com.apple.AppleGraphicsDeviceControl 3.12.6
com.apple.iokit.IOAcceleratorFamily2 205.3
com.apple.driver.AppleSMBusController 1.0.14d1
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.IOPlatformPluginFamily 6.0.0d7
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.7
com.apple.iokit.IOUSBMassStorageDriver 1.0.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.7
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.0.1
com.apple.iokit.IO80211Family 1110.26
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.driver.corecapture 1.0.4
com.apple.iokit.IOAHCIFamily 2.8.1
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.driver.usb.AppleUSBXHCIPCI 1.0.1
com.apple.driver.usb.AppleUSBXHCI 1.0.1
com.apple.iokit.IOUSBHostFamily 1.0.1
com.apple.driver.AppleUSBHostMergeProperties 1.0.1
com.apple.driver.AppleEFINVRAM 2.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 417.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 4.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.Libm 1
com.apple.kec.corecrypto 1.0
Model: MacBookPro11,1, BootROM MBP111.0138.B03, 4 processors, Intel Core i7, 2.20 GHz, 8 GB, SMC 2.16f58
Graphics: Intel HD Graphics 4600, Intel HD Graphics 4600, Built-In
Memory Module: BANK0/DIMM0, 4 GB, DDR3, 1600 MHz, Ramaxel Technology, RMT3170EB68F9W1600A
Memory Module: BANK1/DIMM0, 4 GB, DDR3, 1600 MHz, Ramaxel Technology, RMT3170EB68F9W1600A
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x2B23), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: WDC WD10JPCX-24UE4T0, 1 TB
Serial ATA Device: ADATA SP550, 240.06 GB
USB Device: USB 3.0 Bus
USB Device: BCM20702A0
USB Device: HyperX Fury 3.0
USB Device: Lenovo EasyCamera
USB Device: Flash Card Reader/Writer
USB Device: USB2.0 Hub
USB Device: USB Keyboard
USB Device: Gaming Mouse G400
Thunderbolt Bus:
This is my panic report from last unexpected reboot, i hope can help with fixing the problem.
The Brightness fix doesn't work if i apply it in DSDT. Now I remember why I had two PNLF methods, one in DSDT and one in SSDT-6. This one in SSDT-6 fix the problem with the Brightness.
Now i start with AppleHDA patch and will post the results later.
 
Last edited:
Actually it works but i apply the patch in SSDT-6. Now ioreg shows only one PNLF method and brightness works.

"Brightness Fix" will work from DSDT or any SSDT. It simply does not matter which file you put it in, as long as it is only in a single file.
 
Well after some testing i realise that the problem with the reboots is not about the USB. It is something with the processor, i try to start the system with arch=x86_64 flag and now it looks like everything is running well without any problems. Even the CPU temperature fell by 5-6 degrees while using some applications like Android Studio or VirtualBox, which cause kernel panics before when i try to start emulate OS.
So last thing i have to do is AppleHDA... i hope so :)
 
Well after some testing i realise that the problem with the reboots is not about the USB. It is something with the processor, i try to start the system with arch=x86_64 flag and now it looks like everything is running well without any problems. Even the CPU temperature fell by 5-6 degrees while using some applications like Android Studio or VirtualBox, which cause kernel panics before when i try to start emulate OS.
So last thing i have to do is AppleHDA... i hope so :)

The arch kernel flag (arch=x86_64) has no effect. There is no 32-bit support in 10.11 (32-bit dropped in ML)... so the system always uses 64-bit.
 
Status
Not open for further replies.
Back
Top