-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
no VM console output on FreeBSD 12.1 host #332
Comments
|
Someone filed a FreeBSD bug report about this here. |
|
flag -f does not work for me |
|
Im definitely not qualified to suggest a fix of some sort, but this helped me (for now). |
|
this all fails also without vm-bhyve, so its not really an issue for this project... Not to say it wouldn't be nice of someone comes up with a fix. |
|
I think the cause is https://svnweb.freebsd.org/changeset/base/352720. I've been reverting it to fix vm-bhyve. If the change stays then I suspect vm-bhyve or whatever it uses internally will need to detect and compensate. |
|
This change worked for me. Thanks |
bhyve was doing UART console emulation on fd 0 for both reads and writes. Commits r346550 and r352720 changed it to use fd 0 for input and fd 1 for output on console. Fix vm-bhyve to not redirect fd 1. Fixes churchers#332.
I've been experimenting with vm for a little while. It was working for me with 12.0, and I think 12.1-BETAs and -RCs, but is working less well for me now with 12.1-RELEASE. With either nmdm or tmux console, I get console output from bhyveload, but none from the kernel once it starts. If i set
debug=yesin the config file, I see the output there, and from that I can see that console input works. I think the VM is running normally otherwise, but I'm doing install/boot testing and I haven't exhaustively checked. The same VM produces normal console output if I start bhyve manually in tmux. IIRC I saw similar behavior with a Linux guest yesterday (output from grub-bhyve, none from guest). I see this with both vm-1.3 from packages, or tagv1.4.0from github.I suspect I might be doing something wrong somewhere but I haven't found it yet.
The text was updated successfully, but these errors were encountered: