NVMe native support in 10.13 with me, no kext hack
Do you mean that in your case there is no need for HackrNVMeFamily-10_12_6.kext and class-code spoof?
Does anyone know if there is power management with 3rd party NVMe SSDs on High Sierra? I switched back to AHCI from a Samsung 961 on Sierra because it wasn't worth the power use or heat (which translated into the fan running all the time). Definitely like to know the answer before I plop down the $$ for one.
SPEEDY-NUC:clover.git rehabman$ strings /System/Library/Extensions/IONVMeFamily.kext/Contents/MacOS/IONVMeFamily |grep -y power
%s::%d:fProposedPowerState = %u
nvme: "AppleNVMeController::setPowerState, ShutdownNVMe() completed with status = 0x%08x\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/AppleNVMeController.cpp:588
virtual bool AppleNVMeController::ShouldDoLowPowerTransitionInSx()
virtual IOReturn AppleNVMeController::ExitLowPowerMode()
( 0 != fNVMePowerStateReporter )
void AppleNVMeController::CreateLowPowerTimerEventSource()
( fLowPowerTimer != 0 )
"Could not create low power timer event source.\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/AppleNVMeController.cpp:1137
void AppleNVMeController::LowPowerTimerEvent()
%s::%d:Running on internal power
%s::%d:Running on external power
%s::%d:Invalid power type
virtual IOReturn IONVMeController::setPowerState(unsigned long, IOService *)
%s::%d:Power change already in progress.
( 0 != fPowerManagerLock )
nvme: "IONVMeController::HandleControllerPowerOff, ShutdownNVMe() completed with status = 0x%08x\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/IONVMeController.cpp:2007
nvme: "IONVMeController::HandleControllerPowerOff, ToggleControllerPower() completed with status = 0x%08x\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/IONVMeController.cpp:2015
Low Power Mode
IOReturn IONVMeController::ToggleControllerPower(bool)
( ( kPCIPMCSPowerStateMask & pmControl ) == 0 )
NVMe Power States
inPS <= ( ( 1ULL << kNVMePowerManagementPSLen ) - 1 )
virtual IOReturn AppleS3XController::setPowerState(unsigned long, IOService *)
SPEEDY-NUC:clover.git rehabman$ strings /System/Library/Extensions/IONVMeFamily.kext/Contents/MacOS/IONVMeFamily |grep -y idle
deep-idle
inLogID <= ( ( 1ULL << kNVMeReadDebugLogV2IDLen ) - 1 )
inLogID <= ( ( 1ULL << kNVMeWriteDebugLogV2IDLen ) - 1 )
%s::%d:Setting idle timer to 1s
Some clues:
Code:SPEEDY-NUC:clover.git rehabman$ strings /System/Library/Extensions/IONVMeFamily.kext/Contents/MacOS/IONVMeFamily |grep -y power %s::%d:fProposedPowerState = %u nvme: "AppleNVMeController::setPowerState, ShutdownNVMe() completed with status = 0x%08x\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/AppleNVMeController.cpp:588 virtual bool AppleNVMeController::ShouldDoLowPowerTransitionInSx() virtual IOReturn AppleNVMeController::ExitLowPowerMode() ( 0 != fNVMePowerStateReporter ) void AppleNVMeController::CreateLowPowerTimerEventSource() ( fLowPowerTimer != 0 ) "Could not create low power timer event source.\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/AppleNVMeController.cpp:1137 void AppleNVMeController::LowPowerTimerEvent() %s::%d:Running on internal power %s::%d:Running on external power %s::%d:Invalid power type virtual IOReturn IONVMeController::setPowerState(unsigned long, IOService *) %s::%d:Power change already in progress. ( 0 != fPowerManagerLock ) nvme: "IONVMeController::HandleControllerPowerOff, ShutdownNVMe() completed with status = 0x%08x\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/IONVMeController.cpp:2007 nvme: "IONVMeController::HandleControllerPowerOff, ToggleControllerPower() completed with status = 0x%08x\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-356.1.4/IONVMeController.cpp:2015 Low Power Mode IOReturn IONVMeController::ToggleControllerPower(bool) ( ( kPCIPMCSPowerStateMask & pmControl ) == 0 ) NVMe Power States inPS <= ( ( 1ULL << kNVMePowerManagementPSLen ) - 1 ) virtual IOReturn AppleS3XController::setPowerState(unsigned long, IOService *) SPEEDY-NUC:clover.git rehabman$ strings /System/Library/Extensions/IONVMeFamily.kext/Contents/MacOS/IONVMeFamily |grep -y idle deep-idle inLogID <= ( ( 1ULL << kNVMeReadDebugLogV2IDLen ) - 1 ) inLogID <= ( ( 1ULL << kNVMeWriteDebugLogV2IDLen ) - 1 ) %s::%d:Setting idle timer to 1s
Certainly looks like it will make the attempt but I don't know how that compares to what was going on before. Thanks for the info tho.
Hi rehab, i have this error with nvme, at loading still stops at 60%-65%,,even if i tryed usb 2.0, i tryed all the ports, the error still waiting for root device is cause of the appleNvme assert error, it shows in the photo that can';t root, and exitting file cause of the nvme error. I used -v, and it tells: AppleNVme assert failed, i have all photos attached.Probably we need to inject some properties to enable it.
It may also be conditional on queries to the device (compatibility/NVMe spec issues/Apple specific checks).
Look at an ioreg for Macs with NVMe devices.
Hi rehab, i have this error with nvme, at loading still stops at 60%-65%,,even if i tryed usb 2.0, i tryed all the ports, the error still waiting for root device is cause of the appleNvme assert error, it shows in the photo that can';t root, and exitting file cause of the nvme error. I used -v, and it tells: AppleNVme assert failed, i have all photos attached.
OK i attached the correct clover folder with fotos of the error. In the first foto is in -v mode, and it tells: still waiting for root device (tiny letters, is 4k display).Second foto is the progress just before it stops on the first foto. Bios settings: In the third foto are bios settings. UEFI boot mode; Secure boot:disabled."Problem Reporting" files are incomplete (you forgot to press F2)
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/