linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problem with multiple hvc consoles via virtio-console
@ 2010-03-24 15:34 Amit Shah
  2010-03-26  5:01 ` Amit Shah
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Shah @ 2010-03-24 15:34 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev, Virtualization List

Hello,

When multiple hvc console ports are initialised and used via the
virtio_console driver, I can interact with only the first console, the
2nd one doesn't respond.

If I call hvc_kick() even if hvc_poll() returns 0, the 2nd console
becomes responsive.

I've checked that hvc_poll() receives data via get_chars() and feeds it
to tty_insert_flip_char().

Any idea what could be going wrong? This is reproducible on Linus' git
kernel as the guest kernel with the qemu.git repo.

Any pointers?

Thanks,
		Amit

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with multiple hvc consoles via virtio-console
  2010-03-24 15:34 Problem with multiple hvc consoles via virtio-console Amit Shah
@ 2010-03-26  5:01 ` Amit Shah
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Shah @ 2010-03-26  5:01 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev, linux-kernel, Virtualization List

On (Wed) Mar 24 2010 [21:04:08], Amit Shah wrote:
> Hello,
> 
> When multiple hvc console ports are initialised and used via the
> virtio_console driver, I can interact with only the first console, the
> 2nd one doesn't respond.
> 
> If I call hvc_kick() even if hvc_poll() returns 0, the 2nd console
> becomes responsive.

Actually it's not that fancy: if I login to the first console (hvc0) and
then spawn another one (hvc1), I can't login into hvc1. If I spawn hvc1
before logging into hvc0, I can work with both.

		Amit

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-26  5:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 15:34 Problem with multiple hvc consoles via virtio-console Amit Shah
2010-03-26  5:01 ` Amit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).