Jump to content

VirtualSMC — SMC Emulator


vit9696
760 posts in this topic

Recommended Posts

With latest VirtualSMC it stil reboot after sleep and wake and here are the error log.

 

Anonymous UUID:       96AF832E-1959-5555-529A-8D335D387BB5

Thu Sep  6 12:37:40 2018

*** Panic Report ***
panic(cpu 0 caller 0xffffff800fd8776f): Kernel trap at 0xffffff7f924b1964, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000033, CR3: 0x0000000027d73000, CR4: 0x00000000003627e0
RAX: 0x0000000000000000, RBX: 0xffffff80463d73c0, RCX: 0x0000000000000202, RDX: 0xffffff81e262f8c4
RSP: 0xffffff9215b53850, RBP: 0xffffff9215b53880, RSI: 0xffffff9215b53920, RDI: 0xffffff80463d73c0
R8:  0xffffff9215b536c0, R9:  0x0000000000000008, R10: 0x0000000000000010, R11: 0x0000000000000000
R12: 0xffffff80463d73c0, R13: 0xffffff7f925215f8, R14: 0x0000000000000000, R15: 0x0000000000004006
RFL: 0x0000000000010202, RIP: 0xffffff7f924b1964, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000033, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1

Backtrace (CPU 0), Frame : Return Address
0xffffff9215b53320 : 0xffffff800fc6c1c6 
0xffffff9215b53370 : 0xffffff800fd95274 
0xffffff9215b533b0 : 0xffffff800fd87544 
0xffffff9215b53420 : 0xffffff800fc1e1e0 
0xffffff9215b53440 : 0xffffff800fc6bc3c 
0xffffff9215b53570 : 0xffffff800fc6b9fc 
0xffffff9215b535d0 : 0xffffff800fd8776f 
0xffffff9215b53740 : 0xffffff800fc1e1e0 
0xffffff9215b53760 : 0xffffff7f924b1964 
0xffffff9215b53880 : 0xffffff7f924c9054 
0xffffff9215b538c0 : 0xffffff7f924c8dbc 
0xffffff9215b53910 : 0xffffff7f924c8d03 
0xffffff9215b53970 : 0xffffff7f924c64b1 
0xffffff9215b539b0 : 0xffffff7f924cb6d8 
0xffffff9215b539e0 : 0xffffff7f924efd0c 
0xffffff9215b53a30 : 0xffffff7f924f050c 
0xffffff9215b53a80 : 0xffffff7f924f0912 
0xffffff9215b53b00 : 0xffffff7f924f21ad 
0xffffff9215b53b40 : 0xffffff7f924f2e9e 
0xffffff9215b53b90 : 0xffffff7f924ea360 
0xffffff9215b53bd0 : 0xffffff7f924eeac1 
0xffffff9215b53c30 : 0xffffff7f924e53ae 
0xffffff9215b53c80 : 0xffffff7f924e6af0 
0xffffff9215b53cb0 : 0xffffff7f924e7c28 
0xffffff9215b53cd0 : 0xffffff7f924acdea 
0xffffff9215b53d20 : 0xffffff7f924b10eb 
0xffffff9215b53d40 : 0xffffff80102b9658 
0xffffff9215b53d90 : 0xffffff80102e7a03 
0xffffff9215b53e00 : 0xffffff801028154b 
0xffffff9215b53e50 : 0xffffff801027e738 
0xffffff9215b53eb0 : 0xffffff801027b713 
0xffffff9215b53ef0 : 0xffffff801027b5a2 
0xffffff9215b53f30 : 0xffffff8010297ef2 
0xffffff9215b53f70 : 0xffffff801029752c 
0xffffff9215b53fa0 : 0xffffff800fc1d557 
      Kernel Extensions in backtrace:
         com.apple.driver.AppleACPIPlatform(6.1)[B0282791-F78C-3A3D-A829-629AD847C7EA]@0xffffff7f924a1000->0xffffff7f9253cfff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[95DA39BB-7C39-3742-A2E5-86C555E21D67]@0xffffff7f909b3000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f90494000
            dependency: com.apple.driver.AppleSMC(3.1.9)[2D1E4A3F-A19E-3F12-878D-807CB79CD55F]@0xffffff7f909bc000

BSD process name corresponding to current thread: kernel_task
Boot args: -cdfon 

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:     0x000000000fa00000
Kernel text base: 0xffffff800fc00000
__HIB  text base: 0xffffff800fb00000
System model name: MacBookPro13,3 (Mac-A5C67F76ED83108C)

System uptime in nanoseconds: 90410189876
last loaded kext at 12718721481: com.apple.driver.AppleTopCaseHIDEventDriver	133 (addr 0xffffff7f92b3c000, size 61440)
loaded kexts:
com.no-one.BrcmPatchRAM2	2.2.10
com.no-one.BrcmFirmwareStore	2.2.10
org.rehabman.voodoo.driver.PS2Mouse	1.8.34
org.rehabman.voodoo.driver.PS2Trackpad	1.8.34
org.rehabman.voodoo.driver.PS2Keyboard	1.8.34
com.alexandred.VoodooI2CHID	1
com.alexandred.VoodooI2C	2.0.3
org.coolstar.VoodooGPIO	1.1
org.rehabman.voodoo.driver.PS2Controller	1.8.34
as.vit9696.SMCProcessor	1.0.0
ru.usrsse2.SMCBatteryManager	1
as.lvs1974.AirportBrcmFixup	1.1.5
as.vit9696.AppleALC	1.3.1
as.lvs1974.HibernationFixup	1.2.3
xyz.racermaster.NoTouchID	1.0.1
as.vit9696.WhateverGreen	1.2.1
ru.usrsse2.SMCLightSensor	1
as.vit9696.VirtualSMC	1.0.0
as.vit9696.Lilu	1.2.7
com.alexandred.VoodooI2CServices	1
com.apple.driver.AppleTopCaseHIDEventDriver	133
com.apple.driver.AudioAUUC	1.70
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.driver.AGPM	110.23.37
com.apple.driver.X86PlatformShim	1.0.0
com.apple.filesystems.autofs	3.0
com.apple.filesystems.ntfs	3.13
com.apple.driver.AppleHDAHardwareConfigDriver	281.52
com.apple.driver.AppleUpstreamUserClient	3.6.5
com.apple.driver.AppleMCCSControl	1.5.5
com.apple.driver.AppleHDA	281.52
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.iokit.IOBluetoothSerialManager	6.0.7f10
com.apple.driver.AppleIntelSKLGraphics	10.3.6
com.apple.driver.pmtelemetry	1
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleIntelPCHPMC	2.0.1
com.apple.driver.ACPI_SMC_PlatformPlugin	1.0.0
com.apple.driver.AppleSMCLMU	211
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleIntelSKLGraphicsFramebuffer	10.3.6
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleFIVRDriver	4.1.0
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.filesystems.apfs	748.51.0
com.apple.driver.AirPort.BrcmNIC	1241.31.1a9
com.apple.driver.AppleAHCIPort	329.50.2
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleBacklight	170.12.6
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	183
com.apple.security.TMSafetyNet	8
com.apple.security.quarantine	3
com.apple.driver.AppleMultitouchDriver	1404.4
com.apple.driver.AppleInputDeviceSupport	1404.3
com.apple.driver.AppleHSBluetoothDriver	133
com.apple.driver.IOBluetoothHIDDriver	6.0.7f10
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.7f10
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.7f10
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.7f10
com.apple.kext.triggers	1.0
com.apple.driver.DspFuncLib	281.52
com.apple.kext.OSvKernDSPLib	526
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.IOSerialFamily	11
com.apple.iokit.IOBluetoothFamily	6.0.7f10
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.driver.IOPlatformPluginLegacy	1.0.0
com.apple.driver.AppleHDAController	281.52
com.apple.iokit.IOHDAFamily	281.52
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.AppleGPUWrangler	3.20.13
com.apple.AppleGraphicsDeviceControl	3.20.13
com.apple.iokit.IOAcceleratorFamily2	378.26
com.apple.iokit.IOSurface	211.15
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.AppleUSBMergeNub	900.4.1
com.apple.driver.AppleUSBHostMergeProperties	1.2
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.filesystems.hfs.encodings.kext	1
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.1
com.apple.driver.AppleXsanScheme	3
com.apple.iokit.IONVMeFamily	2.1.0
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.driver.corecapture	1.0.4
com.apple.iokit.IOAHCIFamily	288
com.apple.driver.AppleIntelLpssI2C	3.0.60
com.apple.driver.AppleIntelLpssGspi	3.0.60
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.usb.AppleUSBXHCI	1.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	519.20
com.apple.iokit.IOGraphicsFamily	519.20
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.iokit.IOSMBusFamily	1.1
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.Libm	1
com.apple.kec.corecrypto	1.0

EOF
Model: MacBookPro13,3, BootROM MBP133.0247.B00, 4 processors, Intel Core i7, 2.59 GHz, 16 GB, SMC 2.38f7
Graphics: Intel HD Graphics 530, Intel HD Graphics 530, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 2133 MHz, SK Hynix, HMA41GS6AFR8N-TF
Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 2133 MHz, SK Hynix, HMA41GS6AFR8N-TF
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x20), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: Integrated_Webcam_HD
USB Device: Touchscreen
USB Device: BCM920703 Bluetooth 4.1
Thunderbolt Bus: 

 

Link to comment
Share on other sites

14 hours ago, telepati said:

 

Hi @Pavo could you please help me! I download your latest build pack and these files are located different path. Inside this zip all kexts located S/L/E all tools are using usr/bin

 

am I using the wrong path?

 

I added all kexts to CLOVER/kexts and added all tools including libaistat.dylib to CLOVER/tools

 

277505349_ScreenShot2018-09-05at23_22_37.png.cb0615a6fa76704d2c984da1c5d25c75.png

247441660_ScreenShot2018-09-05at23_22_50.png.c36d62c49c172b5b1e5d3675dc07af27.png

 

iStats looks like this;

181971057_ScreenShot2018-09-05at20_52_44.png.81fc31f4f935ee532aa2aa5c2efda65b.png

 

I can boot but every boot I am getting this before the clover boot screen. is this just a boot log or did I load the all files wrong place?

 

IMG_0409.thumb.JPG.d9f3a97d723c5739813e5504af2bdbaa.JPG.707c6177a968ba2677b3b2836a78b9fc.JPG

 

Also I tried 'smcread -s' command on terminal and says command not found

 

1045501594_ScreenShot2018-09-05at20_50_57.png.c9ba0b8f202f192bb1b1919d26e25e6f.png

 

I am really confused please help me what should I do?

 

 

Hi telepati,

 

You're using a debug version of VirtualSMC. Use a release version when building the kexts. This will solve your early SMC boot log issue.

 

  • Like 3
Link to comment
Share on other sites

5 hours ago, JennyDavid said:

 

Hi telepati,

 

You're using a debug version of VirtualSMC. Use a release version when building the kexts. This will solve your early SMC boot log issue.

 

Thank you @JennyDavid

is located path is right or should I move these files to S/L/E and usr/bin?

Link to comment
Share on other sites

3 minutes ago, telepati said:

Thank you @JennyDavid

is located path is right or should I move these files to S/L/E and usr/bin?

 

The located path is right: EFI/Clover/Kexts/XX (XX can be of course 10.13, 10.14...)

  • Thanks 1
Link to comment
Share on other sites

Just switched to VirtualSMC and SMCBatteryManager.

 

All data seems fine except battery temperature which shows -273.2C (which is probably an absolute zero on Kelvin scale).

 

Also, AppleACPIACAdapter doesn't load like with ACPIBatteryManager kext. Everything seems to work regardless...

 

 

Edited by Dr. Hurt
Link to comment
Share on other sites

On 9/6/2018 at 1:52 PM, JennyDavid said:

 

Hi telepati,

 

You're using a debug version of VirtualSMC. Use a release version when building the kexts. This will solve your early SMC boot log issue.

 

 

I tried but I am still getting boot log. I dont get it where am I doing wrong. Could you please share your files with me? Thank you.

Link to comment
Share on other sites

I tried to switch from FakeSMC to VirtualSMC but is a no go... on boot I got the prohibitive sign and don't boot... now I removed VirtualSMC and put the FakeSMC, and all is working again...

First what I want to know is... if I compile the VirtualSMC the results are different ?

Lilufriend can be used along VirtualSMC ?

Edited by MorenoAv
Link to comment
Share on other sites

On 9/1/2018 at 6:38 PM, Muntashir said:

After the verbose boot has done (took 1:15 minutes), it stays in the Apple logo about 45 seconds and then the login screen appears. What's the reason behind this?

 

Interestingly, after clearing NVRAM values (using F11 on Clover), it took only 1:25 minutes to boot. It was still stuck in the logo screen for 10 seconds. (But who cares anyway, as, with FakeSMC, it usually took 2:15 minutes!)

  • Like 1
Link to comment
Share on other sites

Hi @Kynyo,

Thanks for the tips, but it didn't work again... I had to boot with usb and remove all kexts from VirtyalSMC, and VirtualSMC.efi and switch again to FakeSMC in order to boot.

I don't know what is the problem, but I'm going to compile the VirtualSMC myself and try again...

Link to comment
Share on other sites

6 hours ago, MorenoAv said:

Hi @Kynyo,

Thanks for the tips, but it didn't work again... I had to boot with usb and remove all kexts from VirtyalSMC, and VirtualSMC.efi and switch again to FakeSMC in order to boot.

I don't know what is the problem, but I'm going to compile the VirtualSMC myself and try again...

check make sure no fakesmc in s/l/e or l/e an place the SMCLightSensor.kext, SMCProcessor.kext, VirtualSMC.kext along with lilu in other

Link to comment
Share on other sites

10 hours ago, MorenoAv said:

Hi @errorexists,

Thanks for your repost but my FakeSMC was in other not in S/L/E or L/E, and I put all the kexts you mentioned in other...  

Send me iMac.zip

Hi @MorenoAv

 

SMCHelper-64.efi is not compatible with VirtualSMC.efi and must be removed (GitHub VirtualSMC - FAQ)

  • Like 2
Link to comment
Share on other sites

My system wasn't booting after I updated Lilu today (from the Github source). The Verbose log mentioned that VirtualSMC wasn't loading therefore causing my system not to load. I thought about maybe VirtualSMC needed to be recompiled with the latest version of Lilu. I did and it fixed the problem.

 

SO...lesson learned. The version of Lilu ideally needs to match the version you used to build VirtualSMC.

Edited by draque
Link to comment
Share on other sites

×
×
  • Create New...