PIut02 / ROG-Zephyrus-G14-GA401-Hackintosh

OpenCore Config for Asus ROG-Zephyrus-G14-GA401(2020-2021) with AMD Ryzen.
73 stars 3 forks source link

EFI Bootlooping on GA401QM #10

Closed Icee666 closed 9 months ago

Icee666 commented 9 months ago

The latest EFI, just shows the apple logo and then the laptop reboots.

Bios version is 411 (oldest one) R7 5800HS with RTX 3060.

I've tried the OC you've sent in the latest closed Issue (Uploaded on 1 September) and it willload into apple logo ( half loading) and then reboots.

PIut02 commented 9 months ago

I think this is due to some errors in the BIOS, because OC did not provide any error logs. I have encountered some other people with similar errors before, and they solved the problem by resetting the BIOS. It has nothing to do with OC.

Icee666 commented 9 months ago

I think this is due to some errors in the BIOS, because OC did not provide any error logs. I have encountered some other people with similar errors before, and they solved the problem by resetting the BIOS. It has nothing to do with OC.

I just need to cross the option in Above 4G Decodin in UMAF right?

I disabled the secure and fast boot, idk where the problem is. Trying to reset bios and do it again

Icee666 commented 9 months ago

PCI Subsystem Settings:

Above 4G Decoding [X] Re-size BAR Support auto SR-10V Support [ ] BME DMA Mitigation [ ]

I've changed only this option, still same problem, one guy have same problem as me. 😢

PIut02 commented 9 months ago

I have consulted the documentation and found that there is a very small chance that some motherboards may encounter this situation. To solve it, you need to reflash the BIOS chip. For these motherboards, you need to be careful when resetting the NVRAM.

PIut02 commented 9 months ago

And have you tried restarting and entering Windows after resetting the NVRAM, and adding the OC boot entry?

Icee666 commented 9 months ago

Actually I have no OS installed on my Laptop, just clean drive. For reflashing BIOS chip, you mean download the bios from asus ?

I downloaded the 411 bios and flashed in asus EZ 3.

Then I inserted usb, cleaned NVRAM and then boot into the EFI.

fierceeo commented 9 months ago

I think this is due to some errors in the BIOS, because OC did not provide any error logs. I have encountered some other people with similar errors before, and they solved the problem by resetting the BIOS. It has nothing to do with OC.

When enabling AppleDebug and DisableWatchDog, and changing the debug target to 67 in the config.plist, the OpenCore log is as follows:

05:964 00:412 AAPL: #[EB.LD.LKFS|-?] Ok(0)
06:020 00:055 AAPL: #[EB.LD.LKC|-?] Ok(0)
06:062 00:041 AAPL: #[EB|BST:REV1]
06:101 00:038 AAPL: #[EB|CSR:OUT] 0x00000040
06:141 00:040 AAPL: #[EB.BST.FBS|+]
06:178 00:037 AAPL: #[EB.BST.FBS|ADSZ] 0
06:346 00:167 AAPL: #[EB.BST.FBS|KSSZ] 0
06:385 00:039 AAPL: #[EB|SB:SBGMFNS] j223ap.im4m
06:425 00:039 AAPL: #[EB|RH:PF] usr\standalone\OS.dmg.root_hash
06:465 00:040 AAPL: #[EB|RH:MF] <"usr\\standalone\\OS.dmg.root_hash.j223ap.im4m">
06:505 00:040 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash"> <"0">
06:549 00:043 AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"usr\\standalone\\OS.dmg.root_hash">
06:588 00:038 AAPL: #[EB.RH.LRH|P!] Err(0xE) <- EB.LD.LF
06:643 00:055 AAPL: #[EB.BST.FBS|!] Err(0xE) <- EB.RH.LRH
06:682 00:038 AAPL: #[EB|LOG:DT] 2023-10-15T02:23:17
06:721 00:039 AAPL: #[EB|LOG:EXITBS:START] 2023-10-15T02:23:17

[EB|LOG:EXITBS:START] is a common issue documented in the OpenCore guide. https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/extended/kernel-issues.html#stuck-on-eb-log-exitbs-start

Nevertheless, I have tried all the combinations described in the guide and have not been able to resolve this issue.

fierceeo commented 9 months ago

Additionally, I would like to mention that while I have the same laptop model as Icee666, I am on bios version 414.

PIut02 commented 9 months ago

umm...that's strange, because some settings that avoid EB may affect the normal operation of other 2021 models, and they have not encountered the EB problem. Therefore, in a previous commit and issue, I removed some adjustments for the 2020 model. But now the same problem has appeared on the 2021 model. Try replacing this in the OC folder: config.zip

Icee666 commented 9 months ago

Tried this, now instead of rebooting it just stucks (Around 25%)

fierceeo commented 9 months ago

I seem to be getting the exact same error message as before.

gkgzyx commented 9 months ago

@fierceeo Micron's SSD?

gkgzyx commented 9 months ago

@fierceeo I have also encountered this issue, and after switching to a WDC's SSD, it can be installed normally.

Icee666 commented 9 months ago

Yeah I can confirm it's an SSD issue I have Hyinix

ktzsh commented 7 months ago

Hi on my GA401QM I am unable to bootup even the usb flash drive and stuck at [EB|LOG:EXITBS:START]. I also have Hynix SSD but as far as I understand booting the installer from usb should not be affected by disk drive.

I have tried both the configs mentioned here and in the repo. My chip has MAT support so kept config https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/extended/kernel-issues.html#stuck-on-eb-log-exitbs-start

I have also experimented with various combination of devirtualize mmio. One thing I've noticed is that enabling certain regions makes the error appear at around 5% and with some regions it get stuck at around 25% so I feel that it might be related to MMIO whitelist but not sure how to get it working.

62:573 00:017 OCABC: MMIO devirt start
62:590 00:017 OCABC: MMIO devirt 0xF0000000 (0x8000 pages, 0x800000000000100D) skip 1
62:607 00:017 OCABC: MMIO devirt 0xFD000000 (0x1000 pages, 0x8000000000000001) skip 0
62:624 00:017 OCABC: MMIO devirt 0xFEB80000 (0x82 pages, 0x8000000000000001) skip 1
62:641 00:017 OCABC: MMIO devirt 0xFEC10000 (0x1 pages, 0x8000000000000001) skip 0
62:715 00:074 OCABC: MMIO devirt 0xFED00000 (0x1 pages, 0x8000000000000001) skip 1
62:742 00:026 OCABC: MMIO devirt 0xFED40000 (0x5 pages, 0x8000000000000001) skip 1
62:759 00:017 OCABC: MMIO devirt 0xFED80000 (0x10 pages, 0x8000000000000001) skip 0
62:777 00:017 OCABC: MMIO devirt 0xFEDC4000 (0x6 pages, 0x8000000000000001) skip 0
62:794 00:017 OCABC: MMIO devirt 0xFEDCC000 (0x3 pages, 0x8000000000000001) skip 1
62:811 00:017 OCABC: MMIO devirt 0xFEDD5000 (0x1 pages, 0x8000000000000001) skip 1
62:828 00:017 OCABC: MMIO devirt 0xFF000000 (0x1000 pages, 0x8000000000000001) skip 1
62:845 00:017 OCABC: MMIO devirt end, saved 16476 KB

@PIut02 @Icee666 I would be grateful if someone has insight into this or have had any success working with GA401QM. I can share my configs and logs if needed. Thanks