8000 2.7 build of VoodooI2C and related projects by kprinssu · Pull Request #491 · VoodooI2C/VoodooI2C · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.7 build of VoodooI2C and related projects #491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Feb 27, 2022
Merged

2.7 build of VoodooI2C and related projects #491

merged 13 commits into from
Feb 27, 2022

Conversation

kprinssu
Copy link
Collaborator

This will sync latest head of VoodooI2CHID.

@kprinssu
Copy link
Collaborator Author

Build from Circle:
VoodooI2C-5d77268.zip
VoodooI2C-Debug-Symbols-5d77268.zip

@LeeBinder
Copy link
LeeBinder commented Jan 26, 2022

@kprinssu As mentioned in my comment in the chat, here's my bug report:

  • Monterey 12.1 & Big Sur 11.6.2: pointer does not move
  • Catalina 10.15.7: stuck during boot

After replacing VoodooI2CHID.kext with the previous version, Trackpad working as supposed in all above mentioned macOS.

Asus ELAN 1300 - click to expand
From Hackintool:
00:15.0 8086 9D60 1043 1D30  Sunrise Point-LP Serial IO I2C Controller #0  Signal processing co  /PCI0@0/I2C0@15   pci8086,9d60  PciRoot(0x0)/Pci(0x15,0x0) 
00:15.1 8086 9D61 1043 1D30  Sunrise Point-LP Serial IO I2C Controller #1  Signal processing co  /PCI0@0/I2C1@15,1 pci8086,9d61  PciRoot(0x0)/Pci(0x15,0x1)

From Windows Device Manager:
ACPI\ELAN1300\1
HID\ELAN1300&COL02\5&D31F57F&1&0001
HID\ELAN1300&COL03\5&D31F57F&1&0002

If you need PR files, please let me know what exactly to provide and I'll do my best 👍

@kprinssu
Copy link
Collaborator Author

Thanks @LeeBinder

The only changes to VoodooI2CHID are to prevent VoodooPS2 from attaching to the I2C kexts and adding in I2C-based keyboard support.

There hasn't been a major change since then. I can get a debug build going, but I cannot provide an ETA on this.

@LeeBinder
Copy link

Ok, gotcha. Take your time. BTW, from what you know: does it matter for VoodooI2C if the VoodooInput.kext inside its plugin folder is injected into the kernel (kext) cache, or if it's injected as "stand-alone" kext from the root level of the kext folder? Since I'm also using VoodooPS2, I have VoodooInput in the kexts folder and inject that one. For that purpose I took the latest v.1.3 nightly from inside your latest VoodooI2C compile and inject only that one for both, VoodooI2C and VoodooPS2, to use, which so far has always worked fine.

@1Revenger1
Copy link
Contributor

@LeeBinder I have a sneaking suspicion of what was causing VoodooI2CHID to not work. Do you mind using the version linked below? Good way to test this PR as well.
VoodooI2C/VoodooI2CHID#59 (comment)

@LeeBinder
Copy link

@1Revenger1 great job 👍 - the kext combo from Archive 4.zip (commit ff0e1ec) now working here in all of my macOS /Catalina/ Big Sur/ Monterey) on my Asus Vivobook (no touchscreen like the Zenbook Pro).

Hopefully it's possible to also meet the requirements for the Zenbook Pro in a future merged commit 🥇

@kprinssu
Copy link
Collaborator Author
kprinssu commented Feb 4, 2022

@LeeBinder These are the latest changes from @1Revenger1 and this PR, can you please give these kexts a go?
VoodooI2C-51d6872.zip
VoodooI2C-Debug-Symbols-51d6872.zip

Copy link
Member
@ben9923 ben9923 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, let's just wait for testing :)

@LeeBinder
Copy link

VoodooI2C-51d6872.zip testing report # 1 from Asus VivoBook with ELAN 1300 (no touchscreen):

  • Monterey, Big Sur: 👍
  • Catalina: mouse pointer doesn't move. As soon as I revert VoodooI2CHID.kext back to the previous commit, reboot, pointer movement is back.
    I first tried just restoring the info.plist inside VoodooI2CHID.kext with the previous one, but that did not help, so the regression in Catalina is in the VoodooI2CHID binary.

Let me know if you need a debug log, and what exactly to provide, and I'll do.

@ben9923
Copy link
Member
ben9923 commented Feb 4, 2022

@LeeBinder Thanks for testing, logs + IOReg would be useful :)

@LeeBinder
Copy link

too late now already - can do tomorrow

@LeeBinder
Copy link
LeeBinder commented Feb 5, 2022

almost back home. In the meantime, a suspicion of mine: is it possible that this build was simply not compiled with Catalina compatibility, but (as happened before) with SDK Big Sur and up only?

@LeeBinder
Copy link
LeeBinder commented Feb 5, 2022

Catalina - no pointer movement: Catalina EssentialsList 2022-02-05 20.00.04.zip
Monterey - pointer moves (for comparison): Monterey EssentialsList 2022-02-05 20.25.34.zip

PR files run in macOS booted via OC, but same result when I booted via Clover

@kprinssu
Copy link
Collaborator Author
kprinssu commented Feb 8, 2022

Thanks @LeeBinder, we use the MacKernelSDK which should work across most modern macOS versions. I'll dig into these logs sometime later this week.

@kprinssu
Copy link
Collaborator Author
kprinssu commented Feb 8, 2022

@1Revenger1 Could you please help me out here? I think the regression we are dealing with @LeeBinder is probably regarding VoodooI2C/VoodooI2CHID#59 (comment)

@1Revenger1
Copy link
Contributor
1Revenger1 commented Feb 8, 2022 8000

I was looking to see if there was any difference in the ioregs that @LeeBinder provided, and the only difference I found was that the size for the input mode element in Catalina was half of that in Monterey. I'm wondering if there's some changes in that logic on Apple's side.

LeeBinder has already tested a version earlier that had the same changes as my PR, and those worked in Catalina, so I'm wondering if it's related to the other two PRs added. The IOMatchCategory shouldn't be an issue here, as that was removed in my PR.

It's probably worth trying each VoodooI2CHID PR individually so the broken commit can be found. Probably should remove IOMatchCategory from all of them though since that caused a lot of issues while we were testing my PR.

Here is a build of VoodooI2C/VoodooI2CHID#59 PR without the other two PRs added to them.
Archive 5.zip

@LeeBinder
Copy link

@kprinssu @1Revenger1 with the kexts from Archive 5.zip, again/ still NO pointer movement in Catalina (the TP pref pane initiates, however).

The mystery deepens..

@1Revenger1
Copy link
Contributor

Do you have any ioreg or log dump?

@LeeBinder
Copy link

yes, see above, from the build before with the exact same issue so I don't think it needs a new one with this build active - or does it?

@LeeBinder
Copy link
LeeBinder commented Feb 10, 2022

so it seems VoodooI2C/VoodooI2CHID#59 PR is not Catalina compatible. What about simply putting that code into a condition query:

if version of macOS >= 11.0 then [PR's # 59 code] fi

so it doesn't even get executed in Catalina and below?

@ben9923
Copy link
Member
ben9923 commented Feb 11, 2022

Catalina - no pointer movement: Catalina EssentialsList 2022-02-05 20.00.04.zip Monterey - pointer moves (for comparison): Monterey EssentialsList 2022-02-05 20.25.34.zip

PR files run in macOS booted via OC, but same result when I booted via Clover

Thanks, though those files are a bit hard to examine (for me, anyway...)

Could you attach a normal copy of IOReg? (not a text file, use File>Save a copy as...)
Kernel logs would also be quite useful, I didn't see those attached. Please inject DebugEnhancer via OC and attach dmesg command output.

Please attach those two for both macOS versions when testing kexts attached by @kprinssu (VoodooI2C-51d6872.zip). Same for Archive.5.zip could be useful as well :)

@mat121212
Copy link

Archive 4 and 5 working great on Monterey until sleep. After waking trackpad is unresponsive.

628C @ben9923
Copy link
Member
ben9923 commented Feb 11, 2022

Archive 4 and 5 working great on Monterey until sleep. After waking trackpad is unresponsive.

Please check out the kexts @kprinssu attached too.
Anyway, please attach troubleshooting files (logs, IOReg, etc.) so we can tell what's wrong.

Is your trackpad working after sleep whem using latest VoodooI2C release?

@naveenkrdy
Copy link
naveenkrdy commented Feb 12, 2022

Archive 4 and 5 working great on Monterey until sleep. After waking trackpad is unresponsive.

Same issue on my Dell XPS 7590. Trackpad becomes unresponsive after sleep.
Using the latest binaries from CI https://app.circleci.com/pipelines/github/VoodooI2C/VoodooI2C?filter=all
Will provide logs when I am back on my laptop.

Trackpad works fine after sleep when using binaries from github RELEASE page.

@LeeBinder
Copy link

@ben9923 can do tonite

@LeeBinder
Copy link
LeeBinder commented Feb 12, 2022

@ben9923 - here you go: ! VoodooI2C Debug.txz.zip

In addition to no TP pointer movement in Catalina, same as for the others: no pointer movement after sleep with both latest commits. Also tested in Big Sur. No such issue with latest release from the release page.

(also tested sleep in Catalina, hoping for the reverse effect, but after wake still no pointer movement).

@ben9923
Copy link
Member
ben9923 commented Feb 13, 2022

@LeeBinder Thanks :)

Regarding dmesg - Sure you properly injected DebugEnhancer? It seems like some/all logs are missing :(

As for the log show command, it seems to include a couple of boot logs. Use something like that instead, I think it should only get the last boot: log show --predicate 'process == "kernel"' --last boot.

Would be useful to see proper, clean output of both dmesg and log show.

Anyway, sure you're using VoodooInput shipped with the VoodooI2C kext you're trying?
Double check your OC config, as at least for Catalina you seem to be using a debug version of it rather than the one in VoodooI2C...

Looking at your Monterey logs I can see Could not open command gate, for both kext versions I believe.

@naveenkrdy
Copy link

@naveenkrdy Is this on Big Sur and Monterey, or is happening 10.15 and lower?

this is on Monterey .

@kprinssu
Copy link
Collaborator Author

@1Revenger1 @ben9923 I think VoodooI2C/VoodooI2CHID@e3328f1...67ac510#diff-bfd0bcfdf40e886cbafcd709de99a9420ddc6f3fd54e3335f30411361c8d882aR17 is quite problematic and we should revert it.

We should probably utilise OOP to add support for USB touchpads. I think we can do this in a follow up a PR.

@1Revenger1
Copy link
Contributor
1Revenger1 commented Feb 25, 2022

It would be worth seeing if the command we use for Catalina and older works with USB trackpads too, if we can get a tester for it. It may be that it was just the missing report Id that was screwing up things. That way a different personality isn't needed.

@kprinssu
Copy link
Collaborator Author

It would be worth seeing if the command we use for Catalina and older works with USB trackpads too, if we can get a tester for it. It may be that it was just the missing report Id that was screwing up things.

I am in favour of just not supporting USB trackpads in this build and do so in the near future. We can test and fix support for it in a future build?

Here is a PR for VoodooI2CHID to revert that change:

VoodooI2C/VoodooI2CHID#62

@kprinssu
Copy link
Collaborator Author
kprinssu commented Feb 25, 2022

@LeeBinder @naveenkrdy Please test these binaries when you can as this our 2nd release candidate:
VoodooI2C-7d6dd3d.zip

@Kethen Can you please send me the model of your USB trackpad you used for testing?

@LeeBinder
Copy link

@kprinssu can do in ~30 mins

@LeeBinder
Copy link
LeeBinder commented Feb 25, 2022

Please test these binaries when you can as this our 2nd release candidate: VoodooI2C-7d6dd3d.zip

Bad news for both tested macOS. OpenCore boot logs with AppleDebug enabled:

Catalina: KP (kernel panic) - click to expand
00:000 00:000 AAPL: [EB|#LOG:INIT] 2022-02-25T21:30:55
00:014 00:014 AAPL: [EB|#VERSION] boot.efi 422.140.4~2 (Official), built 2021-05-20T22:29:16-0700
00:025 00:011 AAPL: [EB|#BUILD] BUILD-INFO[298]:{"DisplayName":"boot.efi","DisplayVersion":"422.140.4~2","RecordUuid":"9C0E87DC-7676-4725-A30E-2CBF70B3EA58","BuildTime":"2021-05-20T22:29:16-0700","ProjectName":"efiboot","ProductName":"boot.efi","SourceVersion":"422.140.4","BuildVersion":"2","BuildConfiguration":"Release","BuildType":"Official"}
00:036 00:010 AAPL: [EB|#H:IS] 0
00:047 00:010 AAPL: [EB|#WL:MODE] 0
00:058 00:010 AAPL: [EB|#CONFIG:SRC] <default>
00:068 00:010 AAPL: [EB|#CONFIG| 0] boot-save-log : 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) <default>
00:079 00:010 AAPL: [EB|#CONFIG| 1] wake-save-log : 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) <default>
00:089 00:010 AAPL: [EB|#CONFIG| 2] console       : 0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) <default>
00:100 00:010 AAPL: [EB|#CONFIG| 3] serial        : 0x0000000000000000 (0x0000000000000000 < 0x0000000000000000) <default>
00:111 00:010 AAPL: [EB|#CONFIG| 4] embed-log-dt  : 0x0000000000000000 (0x0000000000000000 < 0x0000000000000000) <default>
00:122 00:010 AAPL: [EB|#CONFIG| 5] timestamps    : 0x0000000000000000 (0x0000000000000000 < 0xFFFFFFFFFFFFFFFF) <default>
00:133 00:010 AAPL: [EB|#CONFIG| 6] log-level     : 0x0000000000000001 (0x0000000000000001 & 0x0000000000000001) <default>
00:144 00:010 AAPL: [EB|#CONFIG| 7] breakpoint    : 0x0000000000000000 (0x0000000000000000 & 0x0000000000000000) <default>
00:154 00:010 AAPL: [EB|#CONFIG| 8] kc-read-size  : 0x0000000000100000 (0x0000000000100000 < 0xFFFFFFFFFFFFFFFF) <default>
00:166 00:011 AAPL: [EB|#H:IS] 0
00:177 00:011 AAPL: [EB|#WL|0] 0x01 0x01   0 0x00
00:189 00:011 AAPL: [EB|#BRD:NV] Mac-53FDB3D8DB8CA971
00:200 00:011 AAPL: [EB|#WL|1] 0x01 0x01   2 0x00
00:212 00:011 AAPL: [EB|`BST:IDT] {
00:225 00:013 AAPL: [EB|`BST:IDT] }
00:236 00:010 AAPL: [EB|#WL|2] 0x01 0x01   3 0x00
00:247 00:010 AAPL: [EB|#WL|3] 0x01 0x01   4 0x00
00:258 00:011 AAPL: [EB|#BRD:NV] Mac-53FDB3D8DB8CA971
00:268 00:010 AAPL: [EB|#WL|4] 0x01 0x01   5 0x00
00:279 00:010 AAPL: [EB|`H:CHK] BM: 0x0000000000000000
00:291 00:011 AAPL: [EB|`H:CHK] Err(0xE) @ GV boot-signature
00:301 00:010 AAPL: [EB|#WL|5] 0x01 0x01  23 0x0E
00:312 00:011 AAPL: [EB|`H:CPM] Err(0xE), (24, 24) @ GV Persistent-memory-note
00:325 00:012 AAPL: [EB|#SB:P] 0x1
00:336 00:010 AAPL: [EB|`B:MN] BM: +SB
00:348 00:011 AAPL: [EB|#LIMG:DP] Acpi(PNP0A03,0)/Pci(17|0)/SATA(1,FFFF)/HD(Part10,SigD7323763-CF5E-4C9F-B51C-C1234BC3D22C)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842)
00:359 00:010 AAPL: [EB|#LIMG:FP] \53E424A1-F221-42BA-B7D5-EFA83D15D2C4\System\Library\CoreServices\boot.efi
00:370 00:011 AAPL: [EB|#LIMG:OPT] ()
00:383 00:012 AAPL: [EB|`OPT:LXF] 'LF (\\53E424A1-F221-42BA-B7D5-EFA83D15D2C4\\System\\Library\\CoreServices\\com.apple.Boot.plist)
00:394 00:010 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: \\53E424A1-F221-42BA-B7D5-EFA83D15D2C4\\System\\Library\\CoreServices\\com.apple.Boot.plist, DP: 0
00:405 00:010 AAPL: [EB|`LD:OFS] Err(0xE) @ OPEN (\\53E424A1-F221-42BA-B7D5-EFA83D15D2C4\\System\\Library\\CoreServices\\com.apple.Boot.plist)
00:437 00:031 AAPL: [EB|`OPT:LXF] Err(0xE) @ 'LF
00:447 00:010 AAPL: [EB|`OPT:LXF] 'LF (Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist)
00:458 00:010 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist, DP: 0
00:470 00:012 AAPL: [EB:#KF] ()
00:481 00:010 AAPL: [EB|#MBA:CL] ()
00:492 00:010 AAPL: [EB|#MBA:NV] (-v)
00:502 00:010 AAPL: [EB|#MBA:KF] ()
00:513 00:010 AAPL: [EB|#MBA:OUT] (-v chunklist-security-epoch=0 -chunklist-no-rev2-dev)
00:532 00:018 AAPL: [EB|#LOG:VERBOSE] 2022-02-25T21:30:56
00:547 00:014 AAPL: [EB|#OPT:BM] 0x280102
00:561 00:014 AAPL: [EB|`OPT:LXF] 'LF (\\53E424A1-F221-42BA-B7D5-EFA83D15D2C4\\System\\Library\\CoreServices\\PlatformSupport.plist)
00:578 00:017 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: \\53E424A1-F221-42BA-B7D5-EFA83D15D2C4\\System\\Library\\CoreServices\\PlatformSupport.plist, DP: 0
00:597 00:018 AAPL: [EB|#B:VAw]
00:612 00:015 AAPL: [EB|#P:CPR] N
00:628 00:015 AAPL: [EB|#P:MPI] N
00:644 00:016 AAPL: [EB|#P:BPI] N
00:659 00:015 AAPL: [EB|#KMR] 359321600
00:674 00:014 AAPL: [EB|`CS:CSKSD] {
00:690 00:015 AAPL: [EB|`CS:CSKSD] Err(0xE) @ GV 8D63D4FE-BD3C-4AAD-881D-86FD974BC1DF:boot-info-payload
00:704 00:014 AAPL: [EB|#WL|6] 0x01 0x01   6 0x0E
00:719 00:015 AAPL: [EB|`CS:LFC] {
00:734 00:014 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: System\\Library\\Caches\\com.apple.corestorage\\EncryptedRoot.plist.wipekey, DP: 0
00:765 00:031 AAPL: [EB|`FS:AGSVH] Err(0xE) @ LocHB 59D76AE4-37E3-55A7-B460-EF13D46E6020
00:780 00:014 AAPL: [EB|`G:CS] } Ok(0)
00:798 00:017 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: <null string>, DP: 1
00:823 00:024 AAPL: [EB|`B:SBS] SZ: 621112
00:849 00:026 AAPL: [EB|#B:SHA] 84253d6cfa9c774ed4bb68c5a8af003b3cb82931
00:866 00:017 AAPL: [EB|`WL:PWLFNV] Err(0xE) @ GV wake-failure
00:882 00:016 AAPL: [EB|`WL:DT] Err(0xE) @ WL:PWLFNV
00:900 00:017 AAPL: [EB|`WL:PWLFRTC] ! @ RTC:R
00:917 00:017 AAPL: [EB|`WL:DT] Err(0xE) @ WL:PWLFRTC
00:934 00:016 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.0
00:948 00:014 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.1
00:964 00:016 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.2
00:978 00:014 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.3
00:994 00:015 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.4
01:008 00:014 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.5
01:024 00:015 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.6
01:038 00:014 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.7
01:053 00:014 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.8
01:070 00:017 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.9
01:088 00:017 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.10
01:105 00:016 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.11
01:123 00:018 AAPL: [EB|`FS:AGSVH] Err(0xE) @ 'AGU.12
01:141 00:017 AAPL: [EB|`LD:LKC] SB -> (System\Library\PrelinkedKernels\immutablekernel)
01:159 00:017 AAPL: [EB|`LD:LKC] BPDK -> (System\Library\PrelinkedKernels\immutablekernel.development)
01:175 00:016 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: System\\Library\\PrelinkedKernels\\immutablekernel.development, DP: 0
01:230 00:054 AAPL: [EB|`LD:OFS] Err(0xE) @ OPEN (System\\Library\\PrelinkedKernels\\immutablekernel.development)
01:245 00:015 AAPL: [EB|`LD:LKC] BPDK,!R -> (System\Library\PrelinkedKernels\immutablekernel)
01:261 00:016 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: System\\Library\\PrelinkedKernels\\immutablekernel, DP: 0
06:087 04:825 AAPL: [EB|#SB:HW] j213ap\0
06:107 00:019 AAPL: [EB|#SB:MF] (System\\Library\\PrelinkedKernels\\immutablekernel.j213ap.im4m)
06:119 00:011 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: System\\Library\\PrelinkedKernels\\immutablekernel.j213ap.im4m, DP: 0
06:813 00:694 AAPL: [EB|#SB:MKRN]
06:850 00:037 AAPL: [EB|`LD:LKFS] } Ok(0)
06:861 00:011 AAPL: [EB|`LD:LKC] } Ok(0)
06:874 00:012 AAPL: [EB|#FWFM] 0xFF9FFF3F
06:901 00:026 AAPL: [EB|#FWFT] 0xFD8FF426
06:913 00:011 AAPL: [EB|#CSR:IN] 0x00000A0F
06:924 00:011 AAPL: [EB|#CSR:OUT] 0x00000A0F
06:938 00:014 AAPL: [EB|`BST:FBS] {
06:953 00:014 AAPL: [EB|`BST:FBS] BA.ADSZ: 0
06:967 00:013 AAPL: [EB|`BST:FBS] BA.KSDSZ: 0
06:981 00:013 AAPL: [EB|`B:WFDW] Err(0xE), 0 @ LocHB 71B4903C-14EC-42C4-BDC6-CE1449930E49
06:995 00:014 AAPL: [EB|#LOG:DT] 2022-02-25T21:31:02
07:009 00:013 AAPL: [EB|#LOG:EXITBS:START] 2022-02-25T21:31:02
Monterey: stuck during boot - click to expand
00:000 00:000 AAPL: #[EB.H.IS|!] Err(0xE) <- RT.GV boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:017 00:017 AAPL: #[EB.H.IS|!] Err(0xE) <- RT.GV boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:028 00:011 AAPL: #[EB|H:IS] 0
00:040 00:012 AAPL: #[EB|LOG:INIT] 2022-02-25T21:31:29
00:052 00:011 AAPL: #[EB|VERSION] <"boot.efi 540.80.2~11 (Official), built 2021-12-17T18:41:20-0800">
00:064 00:012 AAPL: #[EB|BUILD] <"BUILD-INFO[298]:{"DisplayName":"boot.efi","DisplayVersion":"540.80.2~11","RecordUuid":"4C1050E5-0AC2-49AF-A6E3-E8F54238A54E","BuildTime":"2021-12-17T18:41:20-0800","ProjectName":"efiboot","ProductName":"boot.efi","SourceVersion":"540.80.2","BuildVersion":"11","BuildConfiguration":"Release","BuildType":"Official"}">
00:077 00:012 AAPL: #[EB.CFG.DEV|!] Err(0xE) <- RT.GV booter-strict-xmlparser 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:089 00:011 AAPL: #[EB|CFG:DEV] r5 0x0 0x0
00:101 00:011 AAPL: #[EB|H:IS] 0
00:113 00:011 AAPL: #[EB|WL:MODE] 0
00:124 00:011 AAPL: #[EB|CFG:ARG] boot-save-log 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) default
00:136 00:011 AAPL: #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
00:148 00:011 AAPL: #[EB|CFG:ARG] console       0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) default
00:160 00:011 AAPL: #[EB|CFG:ARG] serial        0x0000000000000001 (0x0000000000000001 < 0x0000000000000000) default
00:172 00:011 AAPL: #[EB|CFG:ARG] preoslog      0x0000000000000001 (0x0000000000000001 < 0xFFFFFFFFFFFFFFFF) default
00:184 00:011 AAPL: #[EB|CFG:ARG] timestamps    0x0000000000000000 (0x0000000000000000 < 0xFFFFFFFFFFFFFFFF) default
00:196 00:
C403
011 AAPL: #[EB|CFG:ARG] log-level     0x0000000000000001 (0x0000000000000001 & 0x0000000000000021) default
00:208 00:011 AAPL: #[EB|CFG:ARG] breakpoint    0x0000000000000000 (0x0000000000000000 & 0x0000000000000000) default
00:219 00:011 AAPL: #[EB|CFG:ARG] kc-read-size  0x0000000000100000 (0x0000000000100000 < 0xFFFFFFFFFFFFFFFF) default
00:231 00:011 AAPL: #[EB|H:IS] 0
00:244 00:012 AAPL: #[EB|WL] 0 0 0x01 0x01   0 0x00
00:256 00:012 AAPL: #[EB|BRD:NV] Mac-53FDB3D8DB8CA971
00:268 00:011 AAPL: #[EB|B:VAw]
00:280 00:011 AAPL: #[EB|B:IAw]
00:292 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01   2 0x00
00:305 00:012 AAPL: #[EB.BST.IDT|+]
00:316 00:011 AAPL: #[EB|BM] J213AP
00:331 00:014 AAPL: #[EB.BST.IDT|-]
00:343 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01   3 0x00
00:355 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01   4 0x00
00:367 00:012 AAPL: #[EB|BRD:NV] Mac-53FDB3D8DB8CA971
00:379 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01   5 0x00
00:391 00:011 AAPL: #[EB.H.CHK|BM] 0x0000000000000000
00:403 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:415 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01  23 0x0E
00:427 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:439 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01  24 0x0E
00:451 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-image 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:464 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:476 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:488 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-image 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:500 00:011 AAPL: #[EB|H:NOT]
00:513 00:012 AAPL: #[EB|SB:P] 0x1
00:525 00:011 AAPL: #[EB.B.MN|BM:+SB]
00:537 00:012 AAPL: #[EB|LIMG:DP] Acpi(PNP0A03,0)/Pci(17|0)/SATA(1,FFFF)/HD(Part10,SigD7323763-CF5E-4C9F-B51C-C1234BC3D22C)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842)
00:549 00:011 AAPL: #[EB|LIMG:FP] \1BD422F1-C1F5-4221-945B-52161E247204\System\Library\CoreServices\boot.efi
00:561 00:011 AAPL: #[EB|LIMG:OPT] 
00:575 00:013 AAPL: #[EB.OPT.LXF|F] <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\com.apple.Boot.plist">
00:587 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\com.apple.Boot.plist"> <"0">
00:616 00:028 AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\com.apple.Boot.plist">
00:627 00:011 AAPL: #[EB.OPT.LXF|LF!] Err(0xE)
00:639 00:011 AAPL: #[EB.OPT.LXF|F] <"Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist">
00:651 00:011 AAPL: #[EB.LD.LF|IN] 0 1 <"Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist"> <"0">
00:665 00:014 AAPL: #[EB|KF] <"">
00:677 00:011 AAPL: #[EB|MBA:CL] <"">
00:689 00:011 AAPL: #[EB|MBA:NV] <"-v">
00:701 00:011 AAPL: #[EB|MBA:KF] <"">
00:713 00:011 AAPL: #[EB|MBA:OUT] <"-v chunklist-security-epoch=0 -chunklist-no-rev2-dev">
00:725 00:011 AAPL: #[EB|LOG:VERBOSE] 2022-02-25T21:31:29
00:737 00:011 AAPL: #[EB|OPT:BM] 0x280102
00:749 00:011 AAPL: #[EB.OPT.LXF|F] <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\PlatformSupport.plist">
00:761 00:011 AAPL: #[EB.LD.LF|IN] 0 1 <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\PlatformSupport.plist"> <"0">
00:775 00:013 AAPL: #[EB|P:CPR] N
00:787 00:012 AAPL: #[EB|P:MPI] Y
00:804 00:016 AAPL: #[EB|P:SLOT] 1
00:816 00:011 AAPL: #[EB|P:SKIP.4] 0 s
00:828 00:011 AAPL: #[EB|P:BPI] N
00:840 00:011 AAPL: 
00:852 00:011 AAPL: **************************************************
00:864 00:011 AAPL: This system was automatically rebooted after panic
00:876 00:011 AAPL: **************************************************
05:889 05:013 AAPL: #[EB|MBA:CL] <"-v chunklist-security-epoch=0 -chunklist-no-rev2-dev">
05:906 00:016 AAPL: #[EB|MBA:NV] <"<null string>">
05:918 00:012 AAPL: #[EB|MBA:KF] <"<null string>">
05:930 00:012 AAPL: #[EB|MBA:OUT] <"-v chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev">
05:942 00:012 AAPL: #[EB|KMR] 359321600
05:955 00:012 AAPL: #[EB.CS.CSKSD|+]
05:968 00:013 AAPL: #[EB.CS.CSKSD|!] Err(0xE) <- RT.GV boot-info-payload 8D63D4FE-BD3C-4AAD-881D-86FD974BC1DF
05:980 00:012 AAPL: #[EB|WL] 0 0 0x01 0x01   6 0x0E
05:992 00:012 AAPL: #[EB.CS.LFC|+]
06:005 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"System\\Library\\Caches\\com.apple.corestorage\\EncryptedRoot.plist.wipekey"> <"0">
06:024 00:019 AAPL: #[EB.FS.AGSVH|PU] 1BD422F1-C1F5-4221-945B-52161E247204
06:037 00:012 AAPL: #[EB.FS.AGSVH|!] Err(0xE) <- BS.LocHB 59D76AE4-37E3-55A7-B460-EF13D46E6020
06:049 00:012 AAPL: #[EB.G.CS|-?] Ok(0)
06:061 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"<null string>"> <"1">
06:076 00:014 AAPL: #[EB.B.SBS|SZ] 727608
06:100 00:024 AAPL: #[EB|B:SHA] <807ed9ab9a8409a4f3362a9d4fc438fa4ca48018>
06:113 00:012 AAPL: #[EB.WL.PWLFNV|!] Err(0xE) <- RT.GV wake-failure 7C436110-AB2A-4BBB-A880-FE41995C9F82
06:126 00:012 AAPL: #[EB.WL.DT|!] Err(0xE) <- EB.WL.PWLFNV
06:138 00:012 AAPL: #[EB.WL.PWLFRTC|NONE]
06:150 00:011 AAPL: #[EB.WL.DT|!] Err(0xE) <- EB.WL.PWLFRTC
06:162 00:012 AAPL: #[EB.LD.LKC|D] <"boot\System\Library\KernelCollections\BootKernelExtensions.kc.development">
06:175 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.development"> <"0">
06:196 00:020 AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.development">
06:208 00:012 AAPL: #[EB.LD.LKC|R.2] <"boot\System\Library\KernelCollections\BootKernelExtensions.kc">
06:221 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc"> <"0">
08:985 02:763 AAPL: #[EB|SB:P] 0x1
09:005 00:020 AAPL: #[EB|SB:SBGMFNS] j213ap.im4m
09:018 00:012 AAPL: #[EB|SB:MF] boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j213ap.im4m
09:030 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j213ap.im4m"> <"0">
09:712 00:681 AAPL: #[EB|SB:MKRN]
09:751 00:038 AAPL: #[EB.LD.LKFS|-?] Ok(0)
09:763 00:012 AAPL: #[EB.LD.LKC|-?] Ok(0)
09:777 00:013 AAPL: #[EB|BST:REV1]
09:789 00:012 AAPL: #[EB|CSR:IN] 0x00000A0F
09:801 00:012 AAPL: #[EB|CSR:OUT] 0x00000A0F
09:813 00:011 AAPL: #[EB.BST.FBS|+]
09:826 00:012 AAPL: #[EB.BST.FBS|ADSZ] 0
09:839 00:013 AAPL: #[EB.BST.FBS|KSSZ] 0
09:852 00:012 AAPL: #[EB|SB:SBGMFNS] j213ap.im4m
09:864 00:012 AAPL: #[EB|RH:PF] usr\standalone\OS.dmg.root_hash
09:876 00:012 AAPL: #[EB|RH:MF] <"usr\\standalone\\OS.dmg.root_hash.j213ap.im4m">
09:889 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash"> <"0">
09:903 00:013 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash.j213ap.im4m"> <"0">
09:915 00:012 AAPL: #[EB.BST.FBS|RHPSZ] 229
09:927 00:012 AAPL: #[EB.BST.FBS|RHMSZ] 3626
09:940 00:012 AAPL: #[EB|LOG:DT] 2022-02-25T21:31:39
09:953 00:012 AAPL: #[EB|LOG:EXITBS:START] 2022-02-25T21:31:39

20220225_223233

Will test RC1 36c51e4 next

[EDIT] I added a photo of stuck Monterey boot

@naveenkrdy
Copy link

@LeeBinder @naveenkrdy Please test these binaries when you can as this our 2nd release candidate: VoodooI2C-7d6dd3d.zip

@Kethen Can you please send me the model of your USB trackpad you used for testing?

can confirm that this causes panic on monterey on my dell xps 7590
panix.txt

@LeeBinder
Copy link

The latest build with some memory leaks fixes: VoodooI2C-36c51e4.zip

TP works after boot after wake from sleep
  10.15.7 12.2.1 10.15.7 12.2.1
VoodooI2C 2022-02-25 RC1 36c51e4 stuck during boot -

VoodooI2C Debug 2022-02-25 RC1 36c51e4.txz.zip

@kprinssu
Copy link
Collaborator Author
kprinssu commented Feb 25, 2022

@naveenkrdy Thank you for the panic log, it's most defitnely related to change I made here, VoodooI2C/VoodooI2CHID@67ac510#diff-bbbe0d76ff5df3b1ebaded3c07aaae3275f2e39a80359e0096bdc5f1fb0485c3R395

report_length is dynamically changed and the panic message ddr 0xffffff8694250bd1 being freed to zone kext.kalloc.16, isn't aligned to zone element size @zalloc.c:1215 implies that the IOFree call does not match as to what was allocated. Thanks to @1Revenger1 again for catching that and fixing it with VoodooI2C/VoodooI2CHID@a5a27ab

@LeeBiner @naveenkrdy Here are the latest binaries, let's hope RC3 works :)! Thank you again for testing these builds!

VoodooI2C-252f7bb.zip

@LeeBinder
Copy link
LeeBinder commented Feb 25, 2022

.. a buggy bug that is:

TP works after boot after wake from sleep
  10.15.7 12.2.1 10.15.7 12.2.1
VoodooI2C-2022-02-25 RC3 252f7bb stuck during boot -
Monterey stuck during boot - click to expand
00:000 00:000 AAPL: #[EB.H.IS|!] Err(0xE) <- RT.GV boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:018 00:018 AAPL: #[EB.H.IS|!] Err(0xE) <- RT.GV boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:030 00:011 AAPL: #[EB|H:IS] 0
00:042 00:012 AAPL: #[EB|LOG:INIT] 2022-02-25T23:16:03
00:055 00:012 AAPL: #[EB|VERSION] <"boot.efi 540.80.2~11 (Official), built 2021-12-17T18:41:20-0800">
00:067 00:011 AAPL: #[EB|BUILD] <"BUILD-INFO[298]:{"DisplayName":"boot.efi","DisplayVersion":"540.80.2~11","RecordUuid":"4C1050E5-0AC2-49AF-A6E3-E8F54238A54E","BuildTime":"2021-12-17T18:41:20-0800","ProjectName":"efiboot","ProductName":"boot.efi","SourceVersion":"540.80.2","BuildVersion":"11","BuildConfiguration":"Release","BuildType":"Official"}">
00:079 00:012 AAPL: #[EB.CFG.DEV|!] Err(0xE) <- RT.GV booter-strict-xmlparser 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:091 00:011 AAPL: #[EB|CFG:DEV] r5 0x0 0x0
00:103 00:011 AAPL: #[EB|H:IS] 0
00:116 00:012 AAPL: #[EB|WL:MODE] 0
00:128 00:011 AAPL: #[EB|CFG:ARG] boot-save-log 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) default
00:140 00:012 AAPL: #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
00:152 00:012 AAPL: #[EB|CFG:ARG] console       0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) default
00:164 00:011 AAPL: #[EB|CFG:ARG] serial        0x0000000000000001 (0x0000000000000001 < 0x0000000000000000) default
00:177 00:012 AAPL: #[EB|CFG:ARG] preoslog      0x0000000000000001 (0x0000000000000001 < 0xFFFFFFFFFFFFFFFF) default
00:189 00:011 AAPL: #[EB|CFG:ARG] timestamps    0x0000000000000000 (0x0000000000000000 < 0xFFFFFFFFFFFFFFFF) default
00:201 00:012 AAPL: #[EB|CFG:ARG] log-level     0x0000000000000001 (0x0000000000000001 & 0x0000000000000021
10000
) default
00:213 00:012 AAPL: #[EB|CFG:ARG] breakpoint    0x0000000000000000 (0x0000000000000000 & 0x0000000000000000) default
00:225 00:011 AAPL: #[EB|CFG:ARG] kc-read-size  0x0000000000100000 (0x0000000000100000 < 0xFFFFFFFFFFFFFFFF) default
00:237 00:011 AAPL: #[EB|H:IS] 0
00:250 00:012 AAPL: #[EB|WL] 0 0 0x01 0x01   0 0x00
00:262 00:012 AAPL: #[EB|BRD:NV] Mac-53FDB3D8DB8CA971
00:275 00:012 AAPL: #[EB|B:VAw]
00:287 00:011 AAPL: #[EB|B:IAw]
00:299 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01   2 0x00
00:312 00:013 AAPL: #[EB.BST.IDT|+]
00:325 00:012 AAPL: #[EB|BM] J213AP
00:339 00:014 AAPL: #[EB.BST.IDT|-]
00:351 00:012 AAPL: #[EB|WL] 0 0 0x01 0x01   3 0x00
00:363 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01   4 0x00
00:376 00:012 AAPL: #[EB|BRD:NV] Mac-53FDB3D8DB8CA971
00:388 00:012 AAPL: #[EB|WL] 0 0 0x01 0x01   5 0x00
00:400 00:011 AAPL: #[EB.H.CHK|BM] 0x0000000000000000
00:413 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:425 00:011 AAPL: #[EB|WL] 0 0 0x01 0x01  23 0x0E
00:437 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:450 00:012 AAPL: #[EB|WL] 0 0 0x01 0x01  24 0x0E
00:462 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-image 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:475 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:488 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:500 00:012 AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-image 7C436110-AB2A-4BBB-A880-FE41995C9F82
00:512 00:012 AAPL: #[EB|H:NOT]
00:616 00:103 AAPL: #[EB|SB:P] 0x1
00:634 00:017 AAPL: #[EB.B.MN|BM:+SB]
00:651 00:017 AAPL: #[EB|LIMG:DP] Acpi(PNP0A03,0)/Pci(17|0)/SATA(1,FFFF)/HD(Part10,SigD7323763-CF5E-4C9F-B51C-C1234BC3D22C)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842)
00:668 00:017 AAPL: #[EB|LIMG:FP] \1BD422F1-C1F5-4221-945B-52161E247204\System\Library\CoreServices\boot.efi
00:685 00:017 AAPL: #[EB|LIMG:OPT] 
00:705 00:019 AAPL: #[EB.OPT.LXF|F] <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\com.apple.Boot.plist">
00:723 00:018 AAPL: #[EB.LD.LF|IN] 0 1 <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\com.apple.Boot.plist"> <"0">
00:741 00:017 AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\com.apple.Boot.plist">
00:759 00:018 AAPL: #[EB.OPT.LXF|LF!] Err(0xE)
00:776 00:016 AAPL: #[EB.OPT.LXF|F] <"Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist">
00:792 00:016 AAPL: #[EB.LD.LF|IN] 0 1 <"Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist"> <"0">
00:816 00:024 AAPL: #[EB|KF] <"">
00:834 00:017 AAPL: #[EB|MBA:CL] <"">
00:851 00:017 AAPL: #[EB|MBA:NV] <"-v">
00:869 00:018 AAPL: #[EB|MBA:KF] <"">
00:886 00:016 AAPL: #[EB|MBA:OUT] <"-v chunklist-security-epoch=0 -chunklist-no-rev2-dev">
00:904 00:018 AAPL: #[EB|LOG:VERBOSE] 2022-02-25T23:16:04
00:920 00:016 AAPL: #[EB|OPT:BM] 0x280102
00:935 00:015 AAPL: #[EB.OPT.LXF|F] <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\PlatformSupport.plist">
00:954 00:018 AAPL: #[EB.LD.LF|IN] 0 1 <"\\1BD422F1-C1F5-4221-945B-52161E247204\\System\\Library\\CoreServices\\PlatformSupport.plist"> <"0">
00:980 00:026 AAPL: #[EB|P:CPR] N
00:999 00:018 AAPL: #[EB|P:MPI] Y
01:021 00:022 AAPL: #[EB|P:SLOT] 1
01:039 00:018 AAPL: #[EB|P:SKIP.4] 0 s
01:059 00:019 AAPL: #[EB|P:BPI] N
01:076 00:016 AAPL: 
01:091 00:015 AAPL: **************************************************
01:110 00:019 AAPL: This system was automatically rebooted after panic
01:129 00:019 AAPL: **************************************************
06:149 05:019 AAPL: #[EB|MBA:CL] <"-v chunklist-security-epoch=0 -chunklist-no-rev2-dev">
06:166 00:016 AAPL: #[EB|MBA:NV] <"<null string>">
06:179 00:012 AAPL: #[EB|MBA:KF] <"<null string>">
06:192 00:012 AAPL: #[EB|MBA:OUT] <"-v chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev">
06:204 00:012 AAPL: #[EB|KMR] 359321600
06:216 00:012 AAPL: #[EB.CS.CSKSD|+]
06:229 00:013 AAPL: #[EB.CS.CSKSD|!] Err(0xE) <- RT.GV boot-info-payload 8D63D4FE-BD3C-4AAD-881D-86FD974BC1DF
06:242 00:012 AAPL: #[EB|WL] 0 0 0x01 0x01   6 0x0E
06:269 00:026 AAPL: #[EB.CS.LFC|+]
06:282 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"System\\Library\\Caches\\com.apple.corestorage\\EncryptedRoot.plist.wipekey"> <"0">
06:303 00:020 AAPL: #[EB.FS.AGSVH|PU] 1BD422F1-C1F5-4221-945B-52161E247204
06:315 00:012 AAPL: #[EB.FS.AGSVH|!] Err(0xE) <- BS.LocHB 59D76AE4-37E3-55A7-B460-EF13D46E6020
06:328 00:012 AAPL: #[EB.G.CS|-?] Ok(0)
06:341 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"<null string>"> <"1">
06:359 00:018 AAPL: #[EB.B.SBS|SZ] 727608
06:387 00:027 AAPL: #[EB|B:SHA] <807ed9ab9a8409a4f3362a9d4fc438fa4ca48018>
06:401 00:014 AAPL: #[EB.WL.PWLFNV|!] Err(0x5) <- RT.GV wake-failure 7C436110-AB2A-4BBB-A880-FE41995C9F82
06:420 00:018 AAPL: #[EB.WL.DT|!] Err(0x5) <- EB.WL.PWLFNV
06:436 00:016 AAPL: #[EB.LD.LKC|D] <"boot\System\Library\KernelCollections\BootKernelExtensions.kc.development">
06:453 00:016 AAPL: #[EB.LD.LF|IN] 0 1 <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.development"> <"0">
06:469 00:016 AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.development">
06:505 00:036 AAPL: #[EB.LD.LKC|R.2] <"boot\System\Library\KernelCollections\BootKernelExtensions.kc">
06:519 00:014 AAPL: #[EB.LD.LF|IN] 0 1 <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc"> <"0">
09:484 02:964 AAPL: #[EB|SB:P] 0x1
09:506 00:021 AAPL: #[EB|SB:SBGMFNS] j213ap.im4m
09:518 00:012 AAPL: #[EB|SB:MF] boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j213ap.im4m
09:532 00:013 AAPL: #[EB.LD.LF|IN] 0 1 <"boot\\System\\Library\\KernelCollections\\BootKernelExtensions.kc.j213ap.im4m"> <"0">
10:213 00:681 AAPL: #[EB|SB:MKRN]
10:252 00:038 AAPL: #[EB.LD.LKFS|-?] Ok(0)
10:265 00:012 AAPL: #[EB.LD.LKC|-?] Ok(0)
10:278 00:013 AAPL: #[EB|BST:REV1]
10:292 00:013 AAPL: #[EB|CSR:IN] 0x00000A0F
10:304 00:012 AAPL: #[EB|CSR:OUT] 0x00000A0F
10:316 00:012 AAPL: #[EB.BST.FBS|+]
10:329 00:013 AAPL: #[EB.BST.FBS|ADSZ] 0
10:342 00:012 AAPL: #[EB.BST.FBS|KSSZ] 0
10:354 00:012 AAPL: #[EB|SB:SBGMFNS] j213ap.im4m
10:367 00:012 AAPL: #[EB|RH:PF] usr\standalone\OS.dmg.root_hash
10:379 00:012 AAPL: #[EB|RH:MF] <"usr\\standalone\\OS.dmg.root_hash.j213ap.im4m">
10:392 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash"> <"0">
10:406 00:013 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash.j213ap.im4m"> <"0">
10:419 00:012 AAPL: #[EB.BST.FBS|RHPSZ] 229
10:432 00:012 AAPL: #[EB.BST.FBS|RHMSZ] 3626
10:445 00:013 AAPL: #[EB|LOG:DT] 2022-02-25T23:16:13
10:458 00:012 AAPL: #[EB|LOG:EXITBS:START] 2022-02-25T23:16:13

VoodooI2C Debug 2022-02-25 RC3-252f7bb.txz.zip

I need to sign off now. Can resume one more debugging round in appr. 12 hours. Good luck 👍

@1Revenger1
Copy link
Contributor

OpenCore log isn't that useful. If you enabled Misc->Debug->ApplePanic, does the panic get recorded in the root of your EFI partition? If not, you should be able to reboot into Catalina as well and see the panic when you login. Should be something like "An issue has occurred, do you want to report this to Apple?". If you click yes/more details, it will show the panic

@Kethen
Copy link
Kethen commented Feb 26, 2022

@kprinssu It was the Acer Switch 11v that has a detachable keyboard/touchpad combo
I tested the patch on the Switch 11v (usb touchpad) and Lenovo Yoga 530-14IKB (i2c touchpad) on Bigsur a year ago when I created the usb support pull request and had those devices available

If memory serves sleep worked back then

@Kethen
Copy link
Kethen commented Feb 26, 2022

VoodooI2C/VoodooI2CHID#48 (comment)
@jlempen said that it worked on Catalina as well back then, with detachable type covers of Lenovo ThinkPad X1 Tablet Gen 3 and Microsoft Surface Go 2

@jlempen can you help with testing versions of the patch here?

@LeeBinder
Copy link
LeeBinder commented Feb 26, 2022

1Revenger1 commented on [2022-02-25T23:34:15Z](#491 (comment)):

OpenCore log isn't that useful. If you enabled Misc->Debug->ApplePanic, does the panic get recorded in the root of your EFI partition? If not, you should be able to reboot into Catalina as well and see the panic when you login. Should be something like "An issue has occurred, do you want to report this to Apple?". If you click yes/more details, it will show the panic

The reason "No" to both parts of your question is because, in contrast to naveenkrdy, I do not encounter a KP in Monterey (and neither in Big Sur) - boot simply gets stuck and I have to long-press the power button. Therefore even when I boot Monterey/ Bis Sur via my regular OC EFI (instead booting my volume with the OC EFI for testing via UEFI BIOS boot menu) right after boot got stuck with the test EFI, I do not get see the issue report pop-up.

However, when just now I tried to boot Catalina again with the RC3 252f7bb kexts, I did get a KP this time. So booting 10.15.7 with RC3 252f7bb is not stable. Here:

click to expand
panic(cpu 4 caller 0xffffff800fb778b7): "Zone cache element was used after free! Element 0xffffff802cc01891 was corrupted at end; Expected 0x7d713e5983480d2e but found 0x1713e5983480d2e; canary 0x828ec1d9af8815bf; zone 0xffffff80104a4220 (kalloc.16)"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.141.51/osfmk/kern/zcache.c:664
Backtrace (CPU 4), Frame : Return Address
0xffffff8124053810 : 0xffffff800fb1c54d 
0xffffff8124053860 : 0xffffff800fc56c85 
0xffffff81240538a0 : 0xffffff800fc4880e 
0xffffff81240538f0 : 0xffffff800fac2a40 
0xffffff8124053910 : 0xffffff800fb1bc17 
0xffffff8124053a10 : 0xffffff800fb1c007 
0xffffff8124053a60 : 0xffffff80102c0aec 
0xffffff8124053ad0 : 0xffffff800fb778b7 
0xffffff8124053b10 : 0xffffff800fb73b1f 
0xffffff8124053c40 : 0xffffff800fb294a4 
0xffffff8124053cb0 : 0xffffff80101963bc 
0xffffff8124053cd0 : 0xffffff801019642a 
0xffffff8124053cf0 : 0xffffff80101fb2da 
0xffffff8124053d10 : 0xffffff80101fb34c 
0xffffff8124053d30 : 0xffffff80101f861c 
0xffffff8124053d70 : 0xffffff7f90470862 
0xffffff8124053dc0 : 0xffffff7f93a2732b 
0xffffff8124053de0 : 0xffffff80102065f6 
0xffffff8124053e40 : 0xffffff8010206131 
0xffffff8124053ef0 : 0xffffff80102054ce 
0xffffff8124053f50 : 0xffffff8010207c86 
0xffffff8124053fa0 : 0xffffff800fac213e 
    Kernel Extensions in backtrace:
       com.apple.iokit.IOHIDFamily(2.0)[09993DA7-15D5-3058-BDAD-EDF39C9F460C]@0xffffff7f90450000->0xffffff7f904f0fff
          dependency: com.apple.iokit.IOReportFamily(47)[7422E267-E26E-3DEB-833E-89D5BCBFB795]@0xffffff7f90449000
       com.alexandred.VoodooI2CHID(1.0)[DF8679B3-CCF2-3955-9977-004671167494]@0xffffff7f93a22000->0xffffff7f93a34fff
          dependency: com.alexandred.VoodooI2C(2.7)[03415AC3-E584-3EB1-B31C-99D927CE83D1]@0xffffff7f939e7000
          dependency: com.apple.iokit.IOACPIFamily(1.4)[B5C80E7A-0488-3909-A5B3-9CE7533AB7E6]@0xffffff7f90509000
          dependency: com.apple.iokit.IOHIDFamily(2.0.0)[09993DA7-15D5-3058-BDAD-EDF39C9F460C]@0xffffff7f90450000

BSD process name corresponding to current thread: kernel_task
Boot args: -v chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
Not yet set

Kernel version:
Darwin Kernel Version 19.6.0: Thu Jan 13 01:26:33 PST 2022; root:xnu-6153.141.51~3/RELEASE_X86_64
Kernel UUID: 5977F3A2-F5FD-347E-8711-46F16CE0993B
Kernel slide:     0x000000000f800000
Kernel text base: 0xffffff800fa00000
__HIB  text base: 0xffffff800f900000
System model name: MacBookPro15,4 (Mac-53FDB3D8DB8CA971)
System shutdown begun: NO
Panic diags file unavailable, panic occurred prior to initialization

System uptime in nanoseconds: 3474900688

I've booted Monterey & Big Sur many times - they never KP here but only get stuck.

Does the Catalina KP report tell you anything you can use?

If you want to keep your before (or on?) tomorrow Su. 27th "wishline", my suggestion and request is: rather than this delayed back & forth, how about if you compiled a bulk set of commits/ attempts with different changes, paste the links here, so naveenkrdy and I can test kext combos from that bulk until we hopefully can point back to you one set that works?

Also @naveenkrdy : which TP is in your Dell - also ELAN 1300 or 1200?

[EDIT]: same in Big Sur - stuck, no KP

@ben9923
Copy link
Member
ben9923 commented Feb 26, 2022

@LeeBinder can you send a panic report made when booting with keepsyms=1? It makes it much easier to diagnose :)

@kprinssu
Copy link
Collaborator Author
kprinssu commented Feb 26, 2022

@LeeBinder can you send a panic report made when booting with keepsyms=1? It makes it much easier to diagnose :)

That panic looks to be from a user-after-free, I am looking at what these changes introduced VoodooI2C/VoodooI2CHID@67ac510

Although symbols would really useful to test. @LeeBinder most of the issues are more than likely coming from VoodooI2C/VoodooI2CHID@67ac510 . I would much rather test things on my own but I don't exactly have a Hackintosh laptop.

@kprinssu
Copy link
Collaborator Author

This is another build with another fix:
VoodooI2C-97d5acd.zip

Please post any panic logs with symbols.

@naveenkrdy
Copy link
naveenkrdy commented Feb 26, 2022

@kprinssu rc3 paniced
panic1.txt

This is another build with another fix: VoodooI2C-97d5acd.zip

Please post any panic logs with symbols.

This one didn't panic. Booted to desktop, but i don't see interrupt type anymore in Oreg with this.
Also touchpad works after sleep.

@LeeBinder
Copy link
LeeBinder commented Feb 26, 2022

Y E S @kprinssu 👍 💯 🥇, you did it:

TP works after boot after wake from sleep
  10.15.7 12.2.1 10.15.7 12.2.1
VoodooI2C-97d5acd.zip

Probably not required but I'll attach anyway (also so you can compare with naveenkrdy's debug files once he provides them): VoodooI2C Debug 97d5acd RC4.txz.zip

I'll boot/ reboot C & B.S. & M now several times to see if no KP/ booting is stable in all 3 OS.

Also verified GPIO in Monterey & Catalina, after boot and after wake (all the same):
GPIO OK in both OS after boot   wake

and from log: VoodooI2CDeviceNub::ETXX Got GPIO Controller!

@naveenkrdy again, please: which touchpad is in your Dell - also ELAN 1300 or 1200, or a different one?

[EDIT]: also all fine in Big Sur (after boot, after wake, GPIO)

@kprinssu
Copy link
Collaborator Author

Thanks @LeeBinder @naveenkrdy. I can't give you any more hints regarding interrupts but we can probably take that off and handle it in a Github issue.

Thank you everyone for testing, this will most likely be merged soon :)!

@kprinssu kprinssu merged commit a065e58 into master Feb 27, 2022
@naveenkrdy
Copy link

@kprinssu just used the released binaries, and the “Interrupt mode” showed up again in ioreg.
Thanks !

@LeeBinder
Copy link

@naveenkrdy again, please: which touchpad is in your Dell - also ELAN 1300 or 1200, or a different one?

3rd time! ???

@naveenkrdy
Copy link
naveenkrdy commented Feb 27, 2022

@naveenkrdy again, please: which touchpad is in your Dell - also ELAN 1300 or 1200, or a different one?

3rd time! ???

Apologies. Forgot to post about that.
It's a SYNA2393. (pci8086,a369)
ioreg3

@kprinssu
Copy link
Collaborator Author

@naveenkrdy Your IORegistry file is corrupted. As things as, I am considering it working. Please create a Github issue if you need further support.

@VoodooI2C VoodooI2C locked as resolved and limited conversation to collaborators Feb 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants
0