-
Notifications
You must be signed in to change notification settings - Fork 84
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
Bare metal Freeze/Crash at Native.Sti() call in ThreadPool.Initialize #71
Comments
Does it just freeze or get panic information? |
Oh @iBeizsley |
Try not initialize sata controller |
MOOS/Kernel/Misc/EntryPoint.cs Line 79 in 10737de
|
i remember sata controller have some problems |
Just freezes, no panic. Disabling SATA didn't work, went ahead and tried with Keyboard, Serial, PS2, VMware tools, SMBIOS, PCI, IDE and SATA all disabled, same result: Just for clarity, writeline before the |
try not initialize threadpool and smp and see if it works |
i'll check it as soon as possible |
just make sure it is a problem of threadpool |
yeah i got the same problem |
so the problem looks like the trampoline address |
@iBeizsley |
no the problem is ThreadPool for sure |
https://github.com/nifanfa/MOOS/tree/main |
it works fine on real hardware |
The problem might be with native aot itself. We can't make Corlib a lib instead of shared project |
So the problem is solved |
i just renamed stable to main btw |
let me know if it works now |
I found that the real problem is that ILCompiler is not stable |
Running on an I7 6700K bare metal, OS freezes/crashes without any output at
Native.Sti()
call inThreadPool.Initialize()
MOOS/Kernel/Misc/Threading.cs
Line 145 in 10737de
Same ISO works fine in QEMU, Can try to extract more information with WriteLines prior if it'd be at all helpful 😅
Console.WriteLine before and after the call in question, output looks like:
Happens with GC & GUI disabled, or enabled. Both work in VM. APIC build var can't be disabled without code changes; Timer and presumably other stuff uses it without compiler ifs.
The text was updated successfully, but these errors were encountered: