daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.62k stars 473 forks source link

之前用的好好的,昨天晚上开始就无规律重启,我都快要奔溃了,怎么办 #238

Open 780969400 opened 5 years ago

780969400 commented 5 years ago

Anonymous UUID: 28F8700E-71F7-DFD7-F731-898B2C2F2E9D

Thu Aug 15 21:27:03 2019

Panic Report panic(cpu 0 caller 0xffffff7f91e4cb30): nvme: "Fatal error occurred. CSTS=0xffffffff US[1]=0x0 US[0]=0x95 VID/DID=0xa804144d . FW Revision=CXB7401Q\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-387.270.1/IONVMeController.cpp:5334 Backtrace (CPU 0), Frame : Return Address 0xffffff81ff883a10 : 0xffffff800ffad6ed 0xffffff81ff883a60 : 0xffffff80100e9185 0xffffff81ff883aa0 : 0xffffff80100da8ba 0xffffff81ff883b10 : 0xffffff800ff5ab40 0xffffff81ff883b30 : 0xffffff800ffad107 0xffffff81ff883c50 : 0xffffff800ffacf53 0xffffff81ff883cc0 : 0xffffff7f91e4cb30 0xffffff81ff883e20 : 0xffffff801065e047 0xffffff81ff883e90 : 0xffffff801065df69 0xffffff81ff883ec0 : 0xffffff800ffec885 0xffffff81ff883f40 : 0xffffff800ffec425 0xffffff81ff883fa0 : 0xffffff800ff5a0ce Kernel Extensions in backtrace: com.apple.iokit.IONVMeFamily(2.1)[A67B3600-6FE3-3037-AC41-8C2D353B6250]@0xffffff7f91e3f000->0xffffff7f91e7efff dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[888F591F-8A21-30F9-812F-D366292AA679]@0xffffff7f90d8d000 dependency: com.apple.iokit.IOPCIFamily(2.9)[202F4F5C-5E3C-35A9-A7AD-F85B0E3CD199]@0xffffff7f90895000 dependency: com.apple.driver.AppleEFINVRAM(2.1)[B83F29B8-24AC-303B-BBBA-CF332168FDE6]@0xffffff7f90f63000 dependency: com.apple.iokit.IOStorageFamily(2.1)[71BB22B0-3075-35A1-B04E-FBAC574DA80D]@0xffffff7f90b83000 dependency: com.apple.iokit.IOReportFamily(47)[0BC9F93B-456A-3D97-BE4C-69DCBB5E8A3C]@0xffffff7f9132b000

BSD process name corresponding to current thread: kernel_task Boot args: darkwake=0 gfxrst=1 dart=0

Mac OS version: 18G84

Kernel version: Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 Kernel UUID: 982F17B3-0252-37FB-9869-88B3B1C77335 Kernel slide: 0x000000000fc00000 Kernel text base: 0xffffff800fe00000 __HIB text base: 0xffffff800fd00000 System model name: MacBookPro14,1 (Mac-B4831CEBD52A0C4C)

System uptime in nanoseconds: 288166948578 last loaded kext at 144637655981: com.apple.filesystems.exfat 1.4 (addr 0xffffff7f928e6000, size 65536) last unloaded kext at 131543773616: com.apple.driver.AppleIntelLpssGspi 3.0.60 (addr 0xffffff7f91c22000, size 45056) loaded kexts: com.tuxera.filesystems.tuxera_ntfs 2017.12.18 as.acidanthera.voodoo.driver.PS2Keyboard 2.0.2 com.alexandred.VoodooI2CHID 1 com.alexandred.VoodooI2C 2.2 org.coolstar.VoodooGPIO 1.1 org.rehabman.driver.NullEthernet 1.0.6 as.acidanthera.voodoo.driver.PS2Controller 2.0.2 as.vit9696.SMCProcessor 1.0.6 as.vit9696.AppleALC 1.3.9 org.tw.CodecCommander 2.7.1 as.lvs1974.HibernationFixup 1.2.6 com.rehabman.driver.USBInjectAll 0.7.1 ru.usrsse2.SMCBatteryManager 1 as.vit9696.VirtualSMC 1.0.6 com.alexandred.VoodooI2CServices 1 as.vit9696.WhateverGreen 1.3.1 as.vit9696.Lilu 1.3.7 com.apple.filesystems.exfat 1.4 com.apple.driver.AudioAUUC 1.70 com.apple.fileutil 20.036.15 com.apple.filesystems.autofs 3.0 com.apple.driver.AppleGraphicsDevicePolicy 3.50.12 com.apple.AGDCPluginDisplayMetrics 3.50.12 com.apple.driver.AppleHV 1 com.apple.iokit.IOUserEthernet 1.0.1 com.apple.iokit.IOBluetoothSerialManager 6.0.14d3 com.apple.driver.AppleUpstreamUserClient 3.6.5 com.apple.driver.pmtelemetry 1 com.apple.driver.AppleHDA 282.54 com.apple.driver.AGPM 110.25.11 com.apple.driver.ApplePlatformEnabler 2.7.0d0 com.apple.driver.X86PlatformShim 1.0.0 com.apple.driver.AppleMCCSControl 1.5.9 com.apple.Dont_Steal_Mac_OS_X 7.0.0 com.apple.driver.AppleIntelKBLGraphics 12.1.0 com.apple.macos.driver.AppleUSBEthernetHost 8.1.1 com.apple.driver.AppleIntelPCHPMC 2.0.1 com.apple.driver.eficheck 1 com.apple.driver.AppleOSXWatchdog 1 com.apple.driver.AppleIntelKBLGraphicsFramebuffer 12.1.0 com.apple.driver.AppleSMCLMU 212 com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0 com.apple.private.KextAudit 1.0 com.apple.driver.AppleTopCaseHIDEventDriver 138.4 com.apple.driver.AppleVirtIO 2.1.3 com.apple.filesystems.hfs.kext 407.200.4 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.filesystems.apfs 945.275.7 com.apple.driver.AppleSmartBatteryManager 161.0.0 com.apple.driver.AppleRTC 2.0 com.apple.driver.AppleACPIButtons 6.1 com.apple.driver.AppleBacklight 170.12.12 com.apple.driver.AppleSMBIOS 2.1 com.apple.driver.AppleAPIC 1.7 com.apple.nke.applicationfirewall 201 com.apple.security.TMSafetyNet 8 com.apple.kext.triggers 1.0 com.apple.driver.AppleGraphicsControl 3.50.12 com.apple.iokit.IOAVBFamily 760.6 com.apple.plugin.IOgPTPPlugin 740.2 com.apple.iokit.IOEthernetAVBController 1.1.0 com.apple.iokit.IOSkywalkFamily 1 com.apple.driver.AppleSSE 1.0 com.apple.driver.DspFuncLib 282.54 com.apple.kext.OSvKernDSPLib 528 com.apple.driver.AppleSMBusController 1.0.18d1 com.apple.driver.AppleHDAController 282.54 com.apple.iokit.IOHDAFamily 282.54 com.apple.AppleGPUWrangler 3.50.12 com.apple.AppleGraphicsDeviceControl 3.50.12 com.apple.iokit.IOAcceleratorFamily2 404.14 com.apple.iokit.IOSurface 255.6.1 com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0 com.apple.driver.X86PlatformPlugin 1.0.0 com.apple.driver.IOPlatformPluginFamily 6.0.0d8 com.apple.iokit.IOBluetoothHostControllerUSBTransport 6.0.14d3 com.apple.iokit.IOBluetoothHostControllerTransport 6.0.14d3 com.apple.driver.AppleActuatorDriver 2450.1 com.apple.driver.AppleHSBluetoothDriver 138.4 com.apple.driver.IOBluetoothHIDDriver 6.0.14d3 com.apple.iokit.IOBluetoothFamily 6.0.14d3 com.apple.driver.AppleMultitouchDriver 2450.1 com.apple.driver.AppleInputDeviceSupport 2440.2 com.apple.driver.usb.AppleUSBHub 1.2 com.apple.driver.usb.IOUSBHostHIDDevice 1.2 com.apple.driver.AppleUSBHostMergeProperties 1.2 com.apple.driver.usb.networking 5.0.0 com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2 com.apple.iokit.IOSerialFamily 11 com.apple.filesystems.hfs.encodings.kext 1 com.apple.iokit.IONVMeFamily 2.1.0 com.apple.driver.usb.AppleUSBXHCIPCI 1.2 com.apple.driver.usb.AppleUSBXHCI 1.2 com.apple.driver.usb.AppleUSBHostPacketFilter 1.0 com.apple.iokit.IOUSBFamily 900.4.2 com.apple.driver.AppleEFINVRAM 2.1 com.apple.driver.AppleEFIRuntime 2.1 com.apple.iokit.IOHIDFamily 2.0.0 com.apple.driver.AppleBacklightExpert 1.1.0 com.apple.iokit.IONDRVSupport 530.51 com.apple.iokit.IOGraphicsFamily 530.66 com.apple.security.quarantine 3 com.apple.security.sandbox 300.0 com.apple.kext.AppleMatch 1.0.0d1 com.apple.iokit.IOAudioFamily 206.5 com.apple.vecLib.kext 1.2.0 com.apple.iokit.IOSMBusFamily 1.1 com.apple.driver.DiskImages 493.0.0 com.apple.driver.AppleFDEKeyStore 28.30 com.apple.driver.AppleEffaceableStorage 1.0 com.apple.driver.AppleKeyStore 2 com.apple.driver.AppleUSBTDM 456.260.3 com.apple.driver.AppleMobileFileIntegrity 1.0.5 com.apple.iokit.IOUSBMassStorageDriver 145.200.2 com.apple.iokit.IOSCSIBlockCommandsDevice 408.250.3 com.apple.iokit.IOSCSIArchitectureModelFamily 408.250.3 com.apple.iokit.IOStorageFamily 2.1 com.apple.kext.CoreTrust 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 47 com.apple.iokit.IOTimeSyncFamily 740.2 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.Libm 1 com.apple.kec.corecrypto 1.0

EOF Model: MacBookPro14,1, BootROM 196.0.0.0.0, 4 processors, Intel Core i7, 1.99 GHz, 16 GB, SMC 2.43f6 Graphics: Intel UHD Graphics 620, Intel UHD Graphics 620, spdisplays_builtin Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 2400 MHz, Samsung, - Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 2400 MHz, Samsung, - Bluetooth: Version 6.0.14d3, 3 services, 26 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Network Service: iPhone, Ethernet, en4 PCI Card: Intel UHD Graphics 620, VGA-Compatible Controller, Internal PCI Card: Intel Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model, System Peripheral, Internal PCI Card: Intel Sunrise Point-LP USB 3.0 xHCI Controller, USB eXtensible Host Controller, Internal PCI Card: Intel Sunrise Point-LP Serial IO I2C Controller #1, Signal Processing Controller, Internal PCI Card: Intel Sunrise Point-LP Serial IO I2C Controller #0, Signal Processing Controller, Internal PCI Card: Intel Sunrise Point-LP CSME HECI #1, Communication Controller, Internal PCI Card: Intel Sunrise Point-LP PMC, Memory Controller, Internal PCI Card: Intel Sunrise Point-LP HD Audio, Audio Device, Internal PCI Card: Intel Sunrise Point-LP SMBus, System Management Bus, Internal PCI Card: Intel Sunrise Point-LP PCI Express Root Port #9, NVM Express Controller, Internal PCI Card: Intel Wireless 8265, Other Network Controller, Internal USB Device: USB 3.0 Bus USB Device: USB3.0 Hub USB Device: External USB 3.0 USB Device: USB2.0 Hub USB Device: USB Optical Mouse USB Device: iPhone USB Device: XiaoMi USB 2.0 Webcam USB Device: Bluetooth HCI Thunderbolt Bus:

stevezhengshiqi commented 5 years ago

根据日志,是由于NVME硬盘引起的崩溃。请检查硬盘槽是否有PM981!如果有,请更换!

根据loaded kext日志,机子上装了Tuxera NTFS,请确保两个硬盘均不是PM981 或者 970 EVO Plus。macOS不能写入这两个硬盘。

没什么好崩溃的,事出必有因。跟着教程走,避开不兼容的硬盘,会顺利很多。

780969400 commented 5 years ago

根据日志,是由于NVME硬盘引起的崩溃。请检查硬盘槽是否有PM981!如果有,请更换!

根据loaded kext日志,机子上装了Tuxera NTFS,请确保两个硬盘均不是PM981 或者 970 EVO Plus。macOS不能写入这两个硬盘。

没什么好崩溃的,事出必有因。跟着教程走,避开不兼容的硬盘,会顺利很多。

嗯嗯,谢谢您的解答,我查看了我的硬盘是MZVLW的PM961的,不是981,然后还有一个外置硬盘,格式是exfat的,不知道这个有没有影响?我之前怀疑是装了那个wu810n的无线Wi-Fi驱动引起的,但是卸载完后发现还是会随机卡死重启,然后在网上看,他们说是有可能使用过一键HIDPI之类的操作后,之后就算根据说明再次一键关闭掉HIDPI. 也不会好转,目前原因不明,我那天晚上就是开了hidpi之后忽然就卡死,然后重启,然后一直这样随机重启。。。。会不会是这个问题?

780969400 commented 5 years ago

根据日志,是由于NVME硬盘引起的崩溃。请检查硬盘槽是否有PM981!如果有,请更换!

根据loaded kext日志,机子上装了Tuxera NTFS,请确保两个硬盘均不是PM981 或者 970 EVO Plus。macOS不能写入这两个硬盘。

没什么好崩溃的,事出必有因。跟着教程走,避开不兼容的硬盘,会顺利很多。

您好,我又在网上查了一下,我的米pro这半个月有时候开机会出现no bootable devices,我在小米论坛上看了很多人有这个情况,说是硬盘接口松了,或者是说硬盘坏掉了,那么综合之前我的使用情况来看,排除了那些,应该就是硬盘问题了,哎

succlz123 commented 5 years ago

感觉跟我这个问题差不多 https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/218 现在用外置usb网卡,大概几天到一周崩溃一次,睡眠的话有一定几率关机,然后重启有可能会找不到引导盘,再重启就正常了。根据下面说法,像是ssd硬件问题。

780969400 commented 5 years ago

是的,no bootable device应该是pro主板的通病了,小米社区上有很多人都有类似的情况发生,在Windows下就是蓝屏/绿屏错误代码critical process died,没啥其他办法,只能尽量避免碰撞,出问题的时候重新插拔下硬盘。不过我前几个月换了970evo,还没有出过这种情况

而且出现了no bootable device,苹果的引导会直接没了,需要重新引导

780969400 commented 5 years ago

感觉跟我这个问题差不多 #218 现在用外置usb网卡,大概几天到一周崩溃一次,睡眠的话有一定几率关机,然后重启有可能会找不到引导盘,再重启就正常了。根据下面说法,像是ssd硬件问题。

我的如果是用USB网线的话目前没卡死过,但是用那个wu810n的有时候会随机卡死,重启会五国,第二次重启就可以进系统了。

rxda commented 5 years ago

nvme问题我尝试unmount windows10的所有分区后,用了一周没有异常重启过,机器原装的970,osx装在后配的intel 760p上,你可以试试这个脚本,自动卸载windows分区的,每次开机都执行一次

windows=$(diskutil list |grep 'Microsoft Reserved')
re="(disk[0-9]+).*"
if [[ $windows =~ $re ]]; then obj=${BASH_REMATCH[1]}; fi
diskutil unmountDisk $obj
780969400 commented 5 years ago

感觉跟我这个问题差不多 #218 现在用外置usb网卡,大概几天到一周崩溃一次,睡眠的话有一定几率关机,然后重启有可能会找不到引导盘,再重启就正常了。根据下面说法,像是ssd硬件问题。

我现在貌似解决了这个问题,我换了个无线网卡,用的是5gWiFi的那个,然后就没有卡死了。。。。

780969400 commented 5 years ago

nvme问题我尝试unmount windows10的所有分区后,用了一周没有异常重启过,机器原装的970,osx装在后配的intel 760p上,你可以试试这个脚本,自动卸载windows分区的,每次开机都执行一次

windows=$(diskutil list |grep 'Microsoft Reserved')
re="(disk[0-9]+).*"
if [[ $windows =~ $re ]]; then obj=${BASH_REMATCH[1]}; fi
diskutil unmountDisk $obj

谢谢,目前死机重启的问题貌似解决了,感谢帮助

stevezhengshiqi commented 3 years ago

这个问题应该可以通过添加 forceRenderStandby=0 到 boot-args 来解决

参考: https://dortania.github.io/OpenCore-Post-Install/universal/sleep.html#fixing-gpus https://github.com/acidanthera/bugtracker/issues/1193