Jump to content
8755 posts in this topic

Recommended Posts

 

Okay, so compiled and tried the fork. 

I added the EnableForAll quirks to boot Windows, and even tried to add a custom entry to the bootloader.
Neither works. 
Enableforall set to true of false doesn't do change the fact that it won't boot. 
In one case I get the BSOD ACPI_BIOS_ERROR, in the other case, Windows doesn't seem to find bootmgfw (i don't remember the exact error) and tells me to repair it.
 

 

Edited by edenpulse

Is it possible in the future install to an AMD Ryzen 4000 laptop? It known that the micro-code of Ryzen is on 10.15.4. The laptops are better than intel an only 15w 4800u with 8c 16t. I really hope that in the future we can take the two options. The next year all laptops will have usb 4.0 that it has thunderbolt 3...

Hi,

 

When Opencore efi bootloader starts up it verbosely complains certain files in the Resource folder are missing. Doesn't seem

to affect anything but is there a link to Resource files necessary for the GUI?

 

Thank you

4 minutes ago, Steve-y said:

Hello!

 

I got my OpenCore running pretty well but I see some ACPI errors quickly passing by and I can't seem to find them anywhere in the logs. Is there a way to log these? I've checked dmesg and searched for it in console.app... Would like to know what exactly are the errors and clean up config.

 

Thank you!

Use DisplayDelay for this under Misc/Debug

7 hours ago, 149113 said:

Any advise on getting a Dell H200 SAS card working? Had no issues under Clover with 2 kexts but at getting an "invalid parameter" error in OC boot when it tries to load them. Everything else is working great.

 

"invalid parameter" means that you have configured the something incorrectly in your config.plist. Most likely, you have not added your kexts correctly. 

If you wish to know what, then you would have to post your config.plist and the 2 kexts you are trying to add.

6 hours ago, Steve-y said:

Hello!

 

I got my OpenCore running pretty well but I see some ACPI errors quickly passing by and I can't seem to find them anywhere in the logs. Is there a way to log these? I've checked dmesg and searched for it in console.app... Would like to know what exactly are the errors and clean up config.

 

Thank you!

 

dmesg command no longer captures the boot log.

 

In your config.plist, set misc->AppleDebug=true and it will add the boot.efi log into the macOS boot log.

Once booted, open terminal app and enter the following :

log show --predicate 'process == "kernel"' --style syslog --source --last boot

...and it will display the full macOS log from boot.

 

I've have saved that command to a file I called dmesg.sh and saved it /usr/local/bin which allows me to run that dmesg.sh command - it's equivalent to the old dmesg command. From terminal pipe the output of that command to grep and search for anything that I am interested in....e.g. ACPI like so:

dmesg.sh | grep -i acpi

and it will show every line with ACPI in the log

or, specifically :

dmesg.sh | grep -i AcpiOsVprintf

 

Edited by MacNB
  • Like 2
  • Thanks 1

Hi guys,

 

I made the transition from ozmosis to OC without big problems and I'm now successfully booting Mojave with OC 0.5.7 and it's working great.

 

However, there are some concerns and problems that I would like to address:

 

• I have second SATA HD (APFS) that doesn't mount on boot. I can mount it with Disk Utility and it checks good. How to fix?

• My hack wakes every 2 hours with DarkWake from Normal Sleep [CDN] due to RTC/Maintenance. I know that's connected with WOL, and I need WOL, but it was working great on Oz and high sierra with darkwake=0. Powernap is disabled and I'm using iMac 14,2 bios.

• There are errors in the log that I don't know how to fix  or how serious they are:

(Lilu) VirtualSMC     efend: @ authenticated restart support is unavailable (800000000000000E, 8)
...
(Lilu) SMCProcessor      scpu: @ failed to get system model
...
(IONVMeFamily) <IONVMeFamily`IONVMeDebugAssert> AppleNVMe Assert failed: ( 0 != data )
...
(IOStorageFamily) <IOStorageFamily`dkreadwritecompletion(void*, void*, int, unsigned long long)> disk1s1: device is not readable.
...
(HFS) <HFS`hfs_mountfs> hfs_mountfs: buf_meta_bread failed with 13
(HFS) <HFS`hfs_mount> hfs_mount: hfs_mountfs returned error=13 for device unknown-dev
hfs_mountroot failed: 13
...
(pmtelemetry) <pmtelemetry`com_apple_driver_pmtelemetry::_pch_init()> Unsupported CPU

• There are also thousands of (IOAudioFamily) messages and a lot of (AppleHDA).

 

• And thousands of (Sandbox) <Sandbox`kernel_report> repeated messages like:

(Sandbox) <Sandbox`kernel_report> Sandbox: secd(322) deny(1) mach-lookup com.apple.lsd.modifydb
(Sandbox) <Sandbox`kernel_report> Sandbox: rapportd(344) deny(1) mach-lookup com.apple.lsd.modifydb
(Sandbox) <Sandbox`syscall_extension_consume> syscall_extension_consume failed: 22
...

 

Any advice will be appreciated. :)

Edited by gorans
3 hours ago, MacNB said:

 

dmesg command no longer captures the boot log.

 

In your config.plist, set misc->AppleDebug=true and it will add the boot.efi log into the macOS boot log.

Once booted, open terminal app and enter the following :


log show --predicate 'process == "kernel"' --style syslog --source --last boot

...and it will display the full macOS log from boot.

 

I've have saved that command to a file I called dmesg.sh and saved it /usr/local/bin which allows me to run that dmesg.sh command - it's equivalent to the old dmesg command. From terminal pipe the output of that command to grep and search for anything that I am interested in....e.g. ACPI like so:


dmesg.sh | grep -i acpi

and it will show every line with ACPI in the log

or, specifically :


dmesg.sh | grep -i AcpiOsVprintf

 

Got curious on how my boot log looks so I run the command above. I have these 4 lines which I think are errors. Other lines seems to look fine for me.

 

020-04-18 15:26:24.605113+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 15:26:24.605114+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 15:26:24.605116+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0
2020-04-18 15:26:24.605117+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0

What does these 4 lines mean? Can they somehow be fixed?

 

4 hours ago, MacNB said:

 

"invalid parameter" means that you have configured the something incorrectly in your config.plist. Most likely, you have not added your kexts correctly. 

If you wish to know what, then you would have to post your config.plist and the 2 kexts you are trying to add.

Attaching the config.plist and the two kext files.

Config.plist

Sas Kext Files.zip

opencore-2020-04-18-131002.txt

Edited by 149113
58 minutes ago, Steve-y said:

Thanks for the help on the logs! I finally know what the errors are and can start fixing them. 

 

I looks like the errors are related to me moving from a EC0 -> EC rename to using this.

 

 

I used the example and only removed the comments cuz my EC is EC0 in DSDT, should I have edited more? Looks like it doesn't see a difference between the two _STA blocks or something? I'm very new to this so sorry if I edited the example badly. I don't see any negatives from this error though, maybe its harmless? This is the only ACPI error left.

 

Edit:

I made another EC patch but with SSDTime and that one doesn't produce the error. So I probably messed up editing the example somehow. My boot up is now error free but I'd like to learn what I did wrong in the example. Thanks for the help.

 

opencore.png ssdtime.png

 

Do you have the USBX as a separate SSDT? 

3 minutes ago, Steve-y said:

 

No, I use USBPorts.kext for usb and none of the other patches do anything in _STA. Only the EC patch has _STA sections. I think I messed up editing the example cuz the generated one works fine but has one function less :worried_anim:

 

No. The USBX is different from the USB mapping.

Here's a snippet from the guide

 

Quote

Correcting USB Power

Hey what about USBX? Do I need to do anything?

USBX is universal across all systems, it just creates a USBX device that forces USB power properties. This is crucial for fixing Mics, DACs, Webcams, Bluetooth Dongles and other high power draw devices. This is not mandatory to boot but should be added in post-install if not before. Note that USBX is only used on skylake+ systems, Broadwell and older can ignore and that USBX requires a patched EC to function correctly

 

 

14 minutes ago, Steve-y said:

 

Thats the guide I followed and edited the example as described there. I'm on Broadwell, sorry should have said so. No USBX patch needed. To me but I'm not a programmer it looks like the example defines the same thing twice which results in that error? The SSDTime generated one only has one _STA block and doesn't produce any errors... I still think I didn't edit it correctly though. I put pics of my edit in other post. Thanks for helping.

 

I think this is my issues:

 

 

My SSDT has this, so I need different patch form guide, thanks!

 

Well, I'm glad you've sorted you issues already.

I am also trying to find out what's giving me these line of errors:

 

2020-04-18 17:24:45.603528+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 17:24:45.603530+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 17:24:45.603532+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0
2020-04-18 17:24:45.603532+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0
2020-04-18 17:24:45.603535+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/evrgnini-340)
2020-04-18 17:24:45.603535+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/evrgnini-340)

It doesn't really give me much more obvious terms to try and research so I am carefully going over the guide again maybe I missed something.

I'm only using 3 SSDTS:

  • SSDT-PLUG.aml
  • SSDT-EC-USBX.aml
  • SSDT-SBUS-MCHC.aml

Maybe someone here can help pin point what's giving me these lines.

1 minute ago, insanefrancis said:

 

Well, I'm glad you've sorted you issues already.

I am also trying to find out what's giving me these line of errors:

 


2020-04-18 17:24:45.603528+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 17:24:45.603530+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 17:24:45.603532+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0
2020-04-18 17:24:45.603532+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0
2020-04-18 17:24:45.603535+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/evrgnini-340)
2020-04-18 17:24:45.603535+0300  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/evrgnini-340)

It doesn't really give me much more obvious terms to try and research so I am carefully going over the guide again maybe I missed something.

I'm only using 3 SSDTS:

  • SSDT-PLUG.aml
  • SSDT-EC-USBX.aml
  • SSDT-SBUS-MCHC.aml

Maybe someone here can help pin point what's giving me these lines.

 

Im having those errors as well and a couple more. The system boots fine though

 

2020-04-18 15:41:22.540573+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 15:41:22.540574+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_BAD_PARAMETER,
2020-04-18 15:41:22.540576+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0
2020-04-18 15:41:22.540576+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Could not install PciConfig handler for Root Bridge PCI0
2020-04-18 15:41:22.540578+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/evrgnini-340)
2020-04-18 15:41:22.540579+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/evrgnini-340)
2020-04-18 15:41:22.545458+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI:
2020-04-18 15:41:22.545459+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI:
2020-04-18 15:41:22.545460+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Executed 47 blocks of module-level executable AML code
2020-04-18 15:41:22.545461+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Executed 47 blocks of module-level executable AML code
2020-04-18 15:41:22.545462+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.545462+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.560850+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_AML_UNINITIALIZED_LOCAL,
2020-04-18 15:41:22.560851+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Exception: AE_AML_UNINITIALIZED_LOCAL,
2020-04-18 15:41:22.560852+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> While resolving operands for [LGreater]
2020-04-18 15:41:22.560853+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> While resolving operands for [LGreater]
2020-04-18 15:41:22.560854+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/dswexec-570)
2020-04-18 15:41:22.560855+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/dswexec-570)
2020-04-18 15:41:22.560857+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> [_STA] @001E3 #0094:
2020-04-18 15:41:22.560857+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> [_STA] @001E3 #0094:
2020-04-18 15:41:22.560858+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> (
2020-04-18 15:41:22.560858+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> (
2020-04-18 15:41:22.560859+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Local0
2020-04-18 15:41:22.560859+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Local0
2020-04-18 15:41:22.560860+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  >
2020-04-18 15:41:22.560860+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  >
2020-04-18 15:41:22.560861+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 0x0E
2020-04-18 15:41:22.560862+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 0x0E
2020-04-18 15:41:22.560862+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> )
2020-04-18 15:41:22.560862+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> )
2020-04-18 15:41:22.560863+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.560863+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.560864+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> No Local Variables are initialized for method [_STA]
2020-04-18 15:41:22.560865+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> No Local Variables are initialized for method [_STA]
2020-04-18 15:41:22.560867+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.560867+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.560868+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> No Arguments are initialized for method [_STA]
2020-04-18 15:41:22.560868+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> No Arguments are initialized for method [_STA]
2020-04-18 15:41:22.560869+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.560870+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> 
2020-04-18 15:41:22.560871+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:
2020-04-18 15:41:22.560871+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:
2020-04-18 15:41:22.560872+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Method parse/execution failed
2020-04-18 15:41:22.560873+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Method parse/execution failed
2020-04-18 15:41:22.560874+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> [\_TZ.TZ10._STA] (Node ffffff80240d1840)
2020-04-18 15:41:22.560875+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> [\_TZ.TZ10._STA] (Node ffffff80240d1840)
2020-04-18 15:41:22.560876+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> , AE_AML_UNINITIALIZED_LOCAL
2020-04-18 15:41:22.560876+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> , AE_AML_UNINITIALIZED_LOCAL
2020-04-18 15:41:22.560877+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/psparse-632)
2020-04-18 15:41:22.560878+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/psparse-632)
2020-04-18 15:41:22.560879+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:
2020-04-18 15:41:22.560880+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:
2020-04-18 15:41:22.560881+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Method execution failed
2020-04-18 15:41:22.560882+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> Method execution failed
2020-04-18 15:41:22.560883+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> [\_TZ.TZ10._STA] (Node ffffff80240d1840)
2020-04-18 15:41:22.560883+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> [\_TZ.TZ10._STA] (Node ffffff80240d1840)
2020-04-18 15:41:22.560884+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> , AE_AML_UNINITIALIZED_LOCAL
2020-04-18 15:41:22.560885+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> , AE_AML_UNINITIALIZED_LOCAL
2020-04-18 15:41:22.560886+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/uteval-183)
2020-04-18 15:41:22.560886+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf>  (20160930/uteval-183)
2020-04-18 15:41:23.687006+0100  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AppleACPIPlatformExpert::resolveSystemStateSupport()> ACPI: sleep states S3 S4 S5
2020-04-18 15:41:23.687008+0100  localhost kernel[0]: PMRD: setSleepSupported(1)
2020-04-18 15:41:23.687014+0100  localhost kernel[0]: PMRD: power event 7 args <private> 0x0
2020-04-18 15:41:23.687020+0100  localhost kernel[0]: PMRD: destroyed capability client set <private>
2020-04-18 15:41:23.687028+0100  localhost kernel[0]: (Lilu) SMCProcessor      scpu: @ failed to get system model

 

Here's my EFI folder 

EFI.zip

 

4 minutes ago, Steve-y said:

 

AE_ is EC usually right? If any patch.. my guess EC patch cause the exception. Sorry can't be of better help.

 

Thank you. That would narrow down my investigation.

×
×
  • Create New...