Do you have DebugEnhancer? If not, get another log with it and its 2 boot args. Make sure you have io=0xff as well.@ExtremeXT,
Attached are two serial debug captures of the boot process:
Notes:
- FrankenMon -- boots up fully -- file name FrankenMon-Start-21-Oct-1440HRS
- Real Monterey -- hangs during boot -- file name Real Monterey 21-OCT-1445HRS
- There is a bit of garbling in the log. I'll try using a baud rate higher than 115200
- These logs are with the standard kernel -- not the debug kernel
- I can install a KDK package later, if requested
With DebugEnhancer and the three boot args,Do you have DebugEnhancer? If not, get another log with it and its 2 boot args. Make sure you have io=0xff as well.
Can you try with the debug=0x12a boot arg too?With DebugEnhancer and the three boot args,real Monterey generates very sparse logs. I'll run another capture on this config before running a capture with DebugEnhancer on the control system (FrankenMon).
Update: Run 2 from Real Monterey with DebugEnhancer attached (CoolTerm Capture 2022-10-21-...)
(Logs are not sparse -- only the scroll back buffer in CoolTerm is sparse)
We're trying to solve the PCIe issue.How does serial debugging aid in solving the audio issue ? Just trying to understand the process.
All of these captures were done withCan you try with the debug=0x12a boot arg too?
...
debug=0x12a
as shown in screenshot #2 of this post above.Does it still log with serial=5 or does it need serial=3?All of these captures were done withdebug=0x12a
as shown in screenshot #2 of this post above.
Ryzen 7000 Testing
These are the key settings: PCIDeviceInfo is all-important. It can be found by running FindSerialPort.command in the OpenCore downloaded folder (screenshot below). In my case, the full value is: 02010000 00000000 08000000 00000000 02000000 00000000 FFforum.amd-osx.com
The full list of boot args is shown here. These were all in effect when previous two captures were done.
View attachment 7955
Does it still log with serial=5 or does it need serial=3?
serial=5
also works. Attached log is with that change.I compared the logs and the only notable difference I could find was this line:serial=5
also works. Attached log is with that change.
Also attached is a successful boot log from FrankenMon. There's no garbled text in this log.
- Vanilla Monterey
- serial=5
- debug=0x12a
- io=0xff
- DebugEnhancer and related boot args
Next Step (later today): Install debug kernel and recapture boot log.
... previous lines deleted ...
02:563 00:018 AAPL: #[EB.B.SBS|SZ] 723512
02:580 00:017 AAPL: #[EB|B:SHA] <89e4888f0beff9f352d9761a265a05de99e89918>
02:595 00:015 AAPL: #[EB.WL.PWLFNV|!] Err(0x5) <- RT.GV wake-failure 7C436110-AB2A-4BBB-A880-FE41995C9F82
02:610 00:014 AAPL: #[EB.WL.DT|!] Err(0x5) <- EB.WL.PWLFNV
02:625 00:014 AAPL: #[EB.LD.LKC|SFX] <"boot\System\Library\KernelCollections\BootKernelExtensions.kc.development">
03:010 00:385 OC: Kernel patcher result 17 for kernel (Visual - _thread_unblock - Remove panic on variant TSC #1 - 12.0) - Not Found
03:294 00:284 OC: Kernel patcher result 18 for kernel (Visual - _thread_quantum_expire - Remove panic on variant TSC #2 - 12.0) - Not Found
04:554 01:260 OC: Kernel patcher result 19 for kernel (Visual - thread_invoke - Remove panic on variant TSC #3 - 12.0) - Not Found
04:606 00:052 OC: Kernel patcher result 20 for kernel (Visual - thread_invoke - Remove panic on variant TSC #4 - 12.0) - Not Found
04:658 00:052 OC: Kernel patcher result 21 for kernel (Visual - _thread_dispatch - Remove panic on variant TSC #5 - 12.0) - Not Found
04:846 00:187 AAPL: #[EB.LD.LKFS|-?] Ok(0)
04:860 00:014 AAPL: #[EB.LD.LKC|-?] Ok(0)
04:877 00:017 AAPL: #[EB|BST:REV1]
04:893 00:016 AAPL: #[EB|CSR:OUT] 0x00000FEF
04:908 00:014 AAPL: #[EB.BST.FBS|+]
04:923 00:014 AAPL: #[EB.BST.FBS|ADSZ] 0
04:937 00:014 AAPL: #[EB.BST.FBS|KSSZ] 0
04:951 00:014 AAPL: #[EB|SB:SBGMFNS] x86legacyap.im4m
04:966 00:014 AAPL: #[EB|RH:PF] usr\standalone\OS.dmg.root_hash
04:980 00:014 AAPL: #[EB|RH:MF] <"usr\\standalone\\OS.dmg.root_hash.x86legacyap.im4m">
04:996 00:015 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash"> <"0">
05:014 00:017 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash.x86legacyap.im4m"> <"0">
05:030 00:015 AAPL: #[EB.BST.FBS|RHPSZ] 229
05:044 00:014 AAPL: #[EB.BST.FBS|RHMSZ] 3627
05:058 00:014 AAPL: #[EB|LOG:DT] 2022-10-22T17:39:57
05:073 00:014 AAPL: #[EB|LOG:EXITBS:START] 2022-10-22T17:39:57
Currently working on this. Some complications came up that are delaying my progress. Those complications have just been resolved. Should have a reply in about an hour.I compared the logs and the only notable difference I could find was this line:
Registering: ../AppleACPIPlatformExpert/IOPCIMessagedInterruptControllerAppleImage4: no options node: 19
I tried looking at the commit for IOPCIMessagedInterruptController.cpp, but the only change seems to be the Message Signaled Interrupts for Ethernet controllers... Because of this I think that it's still an MSI problem, last time we tried setting the limit to 0, which I assumed set it to no limit, but I might have been wrong. Can you try setting it to a big number like 1000?
pci-msi-limit=1000
Another weird thing is AppleACPIPlatformExpert, which might mean that the issue is actually in AppleACPIPlatform. If the MSI boot arg doesn't fix it, can you try replacing ONLY AppleACPIPlatform on a vanilla Monterey installation? Also, please send the vanilla version of Monterey's AppleACPIPlatform.
pci-msi-limit=0
, but only when verbose mode is enabled pci-msi-limit=0
is not affecting the ability to bootWe may need to be somewhat specific.I think it's time to make an issue on Acidanthera's bugtracker...