-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
Serial broken on Windows #498
Comments
Just did further testing & can confirm that this also causes crash when using Putty. This eliminates WinDbg been the issue. |
This is a known issue. See: #86. I believe it's an issue with QEMU itself. You should keep this issue open for documentation. And rename to "Serial broken on Windows". |
Renamed. Thanks |
Does it hang when you use a physical COM port? Have you tried other chardev backends, tcp/stdio for instance? Is it only when you're using this virtual COM port that xemu hangs? Does QEMU work with your virtual COM port? Can you help investigate the issue |
It does hang with physical COM ports, I have a Digi Edgeport/4 (USB 4 port) and motherboard. I don't remember if I ever tried to attach WinDBG to a Windows guest in QEMU. |
I haven't been able to get it to output to TCP. Using Virtual Com Output to Putty I can sometimes get it to output this before it crashes (-device lpc47m157 -serial COM1) Using Stdio to output to console works however Kernel output is gibberish (-device lpc47m157 -serial stdio) Some applications do output readable text such as evox. ☺Ç Φ‼¶ÇÇ‼≡☼ ♦►☺╠ëE°╔Φ⌠↨ä└►► é+☺ ►►`@Ç☺Çl√♦Çÿ√♦Ç♥\√♦Çk)♥éT√♦Ç►xboxkrnl.exe¬0000┼ÇÇe110♠☺╜♦Ç k)♥Ç @GXTX are you able to try this one out please, (Does QEMU work with your virtual COM port?) |
What were you expecting to see? This is binary data from the debug stub that your desktop debugger would consume |
That is what was expected using STDIO, its matches the output i get when using real hardware with a superio & putty. But when using XEMU & putty the output is different to that when using real hardware. Perhaps what XEMU is outputting to COM is causing it to lock up as Putty / WINDBG do not know how to respond to it? |
Got bored so I reported it. Seems they allow reports on GitLab now instead of a ML thankfully. Could go +1 it if you want, not sure it matters at all. Like I said it's been an issue for quite some time so not sure anyone really cares, doesn't really seem like something too out there to try to do? |
Thank you so much. Much appreciated. |
ngl I've said all of these things in XboxDev (probably also on IRC?) with XQEMU years ago, too much noise tho and little interest. I did try briefly to debug it with gdb but couldn't get it to break once it was hung, and attaching after it's hung I couldn't figure out how to get any useful info from the backtrace (not my cup of tea). It's very unlikely this will be fixed upstream anytime soon. You could perhaps use |
It's a shame as could desperately use it right about now. My superio simply refuses to work on my 1.0 and 1.1 |
Should be fixed now |
Bug Description
Xemu freezes (Not Responding) when WinDbg is open & listening to COM ports
Unable to debug any Kernels
Steps:
Install Virtual Com Ports I used (https://www.virtual-serial-port.org/) 14 day trial
Open VSPD & create a new pair in my case COM1 & COM 2
Open WinDbg & Connect to COM Port 2
Launch Xemu Using D:\Xemu\xemu.exe -device lpc47m157 -serial COM1
Pop up appears for COM port settings but Xemu locks up.
Expected Behavior
Xemu Should output Kernel debug to WindDbg Via Com Port specified
xemu Version
Version: 0.6.1-22-g5622af4981
Branch: master
Commit: 5622af4
Date: Wed Oct 13 23:54:07 UTC 2021
System Information
Win 10
AMD 5950X
GTX 980
Additional Context
No response
The text was updated successfully, but these errors were encountered: