Skip to content
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

Lai panic: Else() outside of If() #129

Open
Glowman554 opened this issue Sep 20, 2022 · 9 comments
Open

Lai panic: Else() outside of If() #129

Glowman554 opened this issue Sep 20, 2022 · 9 comments

Comments

@Glowman554
Copy link

IMG_4672

@avdgrinten
Copy link
Member

We'll need the AML bytecode to debug this issue.

@Glowman554
Copy link
Author

The machine actually belongs to @ImDaBigBoss so we need to wait for him to dump it.

@ImDaBigBoss
Copy link

ImDaBigBoss commented Sep 20, 2022

SystemDSDT.zip
I hope this is what you were looking for, I wasn't too sure how to dump it all on MacOS. I'm using MaciASL to dump that, if you need anything else, please tell me.

@thomtl
Copy link
Member

thomtl commented Sep 20, 2022

Could you call lai_enable_tracing(LAI_TRACE_OP); before calling lai_create_namespace()

@ImDaBigBoss
Copy link

IMG_4680
Is this ok? The OS doesn't write to USB yet

@ImDaBigBoss
Copy link

It's a T450 Lenovo ThinkPad which is running OpenCore to have MacOS on it.

@thomtl
Copy link
Member

thomtl commented Sep 21, 2022

This is quite an interesting case, which we can't reproduce when testing in userland. Could you try running the boot_image from https://github.com/managarm/lai_tools ? That'll show us whether it is some spurious bug in lai, or some memory corruption.

@ImDaBigBoss
Copy link

ImDaBigBoss commented Sep 21, 2022

IMG_4682
I guess I'm sorry? It isn't a memory problem.
If you need anything else, I'm happy to give you more information.

@Glowman554
Copy link
Author

Any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants