-
Notifications
You must be signed in to change notification settings - Fork 248
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
Crash on boot in Hyper-V #976
Comments
Would you be willing to try a test PI w/ a fix? The issue is that the Hyper-V Type 2 VMs don't emulate the i8254 PIT timer. |
Very happy to try anything you suggest, would just need instructions, as I'm new to debugging Illumos. I had also tried booting up in a Generation 1 VM, and recall it hanging and not producing any output. Is there a way to enable more verbose output, to maybe see where it is hanging? |
In the boot loader, under boot options, there should be an option to enable verbose booting. Let me build and image w/ the fix (will take a bit) and I'll include a temporary link you can use to download it. |
I'll be standing by! |
What format media do you prefer? .tgz, .iso, or .usb? |
.iso works best for me, Thanks! |
try https://us-east.manta.joyent.com/jbk/public/tmp/platform-20210224T212002Z.iso -- that should use the HPET instead of the PIT to calibrate things |
This one crashes in a loop with messages repeating:
...and then it eventually hangs. |
.. That is interesting... can you go into the boot options menu in the boot loader, enable verbose boot as well as kmdb? That should drop you to the KMDB prompt where you can use |
OK enabling the debugger, I get the following output:
(Sorry, have to copy paste with my eyes :) ) Note I cannot input any text in the debugger after the crash. |
I think I see what happened.. I can do a quick incremental build (though it'll take a bit to re-upload).. |
I've uploaded a new ISO image (same path). Let me know how that one works -- if nothing else, you should get a new error :) though hopefully it actually works. |
It gets past that error now, but still hangs later. The output of your module reads:
(lack of newlines as in the original) Now the startup hangs at:
Could it be hanging due to the assumed 0 MHz clock? Perhaps a div-zero trap that's not presenting itself as a crash? I am trying to hit F1+A, but it's not doing anything. Not sure if this is similar to before (unable to enter text) or if there's something else going on. Is there a way to interrupt boot and set a breakpoint before it gets to this point in order to trace further? Update: When booting in non-verbose mode, I get the following additional hint:
Also: While the system is hung, Hyper-V reports a constant 2% CPU usage (this VM has 2 vCPUs out of a 12-core system, iirc) |
Ok.. I'm trying one more thing and have updated the link again.. see if that works any better.. |
It's back to crashing at |
Standing by to continue testing any time you need me to -- Thanks very much for all the help so far! |
I'm seeing a crash on boot when trying to startup under Hyper-V. Type 2 VM, virtualization extensions are enabled on the CPU, the system is configured with two vCPUs.
The same crash reproduces on OmniOS CE r151036.
The text was updated successfully, but these errors were encountered: