public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Rull <spamfolder@rdsoftware.de>
To: Erik Rull <erik.rull@rdsoftware.de>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Serial Port Driver does not handle interrupt
Date: Mon, 16 Nov 2009 23:59:31 +0100	[thread overview]
Message-ID: <4B01D953.30103@rdsoftware.de> (raw)
In-Reply-To: <4AF83B47.9030405@rdsoftware.de>

Erik Rull wrote:
> 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
> -- 
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

fixed, apic on host side was disabled, kvm / qemu seems to need it.

  reply	other threads:[~2009-11-16 22:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 15:54 Serial Port Driver does not handle interrupt Erik Rull
2009-11-16 22:59 ` Erik Rull [this message]
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=4B01D953.30103@rdsoftware.de \
    --to=spamfolder@rdsoftware.de \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox