From: Erik Rull <erik.rull@rdsoftware.de>
To: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Serial Port Driver does not handle interrupt
Date: Mon, 09 Nov 2009 16:54:47 +0100 [thread overview]
Message-ID: <4AF83B47.9030405@rdsoftware.de> (raw)
Hi all,
I've tested two kvm versions 77 and 88, both with the same behaviour:
I add a serial device with -serial /dev/ttyS0 to my guest and launched
HyperTerm on my Windows Guest.
Additionally I plugged in a loopback plug on the serial connector that just
routes back the data send back to the receive line (TXD -> RXD).
When I enter characters on the Hyperterm all characters are displayed
except the last one that was sent.
When I plug in a real serial device and request its status via Hyperterm I
get only back the first 16 chars (I expect 50) when I send an additional
dummy character (sizeof: 16550 FIFO buffer). On my normal Windows PC it
works as expected - so it seems to be an issue with kvm.
In the linux host, I don't see any changes in /proc/interrupts, the driver
is opened and exclusively on this interrupt line.
Within the host the serial line works without any problems, and there, the
interrupt counts increase during normal operation with a software that runs
on the host and that uses this serial line.
What must I do to bring the serial line to real life with a complete
communication without any data lost caused by missing interrupts? At the
moment this is a key issue that has to be solved to continue my work with kvm.
Any Ideas? I also tested other IRQ lines and other ttyS* on the system -
same behaviour.
Thanks in advance,
Erik
next reply other threads:[~2009-11-09 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 15:54 Erik Rull [this message]
2009-11-16 22:59 ` Serial Port Driver does not handle interrupt Erik Rull
2009-11-16 23:01 ` Erik Rull
2009-11-16 23:27 ` Rodrigo Campos
2009-11-17 18:00 ` Erik Rull
2009-11-17 18:40 ` Rodrigo Campos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF83B47.9030405@rdsoftware.de \
--to=erik.rull@rdsoftware.de \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.