summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1715296
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:24:58 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:27:06 +0000
commit33606b41d35115f887ea688b1a16f2ff85bf2fe4 (patch)
tree406b2c7b19a087ba437c68f3dbf0b589fa1d6150 /results/scraper/launchpad-without-comments/1715296
parentadedf8771bc4de3113041ca21bd4d0d1c0014b6a (diff)
downloademulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.tar.gz
emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.zip
add launchpad bug reports without comments
Diffstat (limited to 'results/scraper/launchpad-without-comments/1715296')
-rw-r--r--results/scraper/launchpad-without-comments/171529616
1 files changed, 16 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1715296 b/results/scraper/launchpad-without-comments/1715296
new file mode 100644
index 00000000..4a0c05a7
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1715296
@@ -0,0 +1,16 @@
+qemu: invalid serial port configuration
+
+The tty_serial_init() function sets the port c_oflags as follows:
+tty.c_oflag |= OPOST not clearing ONLCR, ONLRET and others.
+The result is that the postprocess output is enabled and host translates 0xa (LF) to 0xd 0xa (CR LF) which breaks the binary transmissions on serial port even if you set the port to raw mode (no matters if on host and/or guest).
+The issue has been reported 11 years ago on qemu-devel mailing list:
+https://lists.nongnu.org/archive/html/qemu-devel/2006-06/msg00196.html
+There was also a FreeBSD patch including the fix:
+https://lists.freebsd.org/pipermail/freebsd-ports/2006-October/036390.html
+
+I think the correct port configuration is:
+tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IMAXBEL);
+tty.c_oflag &= ~OPOST;
+
+In such case the host will perform no output processing and will pass the data as is.
+And the guest will be able to configure input/output processing exactly as it wants.
\ No newline at end of file