All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: M A Young <m.a.young@durham.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: xen 4 only seeing one keyboard and mouse
Date: Fri, 23 Jul 2010 10:27:24 -0400	[thread overview]
Message-ID: <20100723142724.GB4008@phenom.dumpdata.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1007221925480.6600@vega1.dur.ac.uk>

On Thu, Jul 22, 2010 at 07:54:17PM +0100, M A Young wrote:
> On Thu, 22 Jul 2010, Konrad Rzeszutek Wilk wrote:
> 
> >Looking briefly at the code, it looks to be sending two bytes down the
> >port. What does 'dmesg | grep serio' show? Something like this:
> >
> >serio: i8042 KBD port at 0x60,0x64 irq 1
> >serio: i8042 AUX port at 0x60,0x64 irq 12
> >input: AT Translated Set 2 keyboard as
> >/devices/platform/i8042/serio0/input/input4
> >
> >
> >Do you see both ports in /proc/ioports and the IRQ utilized in
> >/proc/interrupts? Are there an interrupts being sent when you type on
> >the keyboard?
> 
> For a baremetal boot
> serio: i8042 KBD port at 0x60,0x64 irq 1
> serio: i8042 AUX0 port at 0x60,0x64 irq 12
> serio: i8042 AUX1 port at 0x60,0x64 irq 12
> serio: i8042 AUX2 port at 0x60,0x64 irq 12
> serio: i8042 AUX3 port at 0x60,0x64 irq 12
> input: AT Translated Set 2 keyboard as
> /devices/platform/i8042/serio0/input/input4
> input: PS/2 Mouse as /devices/platform/i8042/serio2/input/input5
> input: AlpsPS/2 ALPS GlidePoint as
> /devices/platform/i8042/serio2/input/input6
> 
> for the xen boot
> 
> serio: i8042 KBD port at 0x60,0x64 irq 1
> serio: i8042 AUX0 port at 0x60,0x64 irq 12
> serio: i8042 AUX1 port at 0x60,0x64 irq 12
> serio: i8042 AUX2 port at 0x60,0x64 irq 12
> serio: i8042 AUX3 port at 0x60,0x64 irq 12
> input: AT Translated Set 2 keyboard as
> /devices/platform/i8042/serio0/input/input4
> input: PS/2 Generic Mouse as /devices/platform/i8042/serio2/input/input9
> psmouse.c: Failed to enable mouse on isa0060/serio2
> 
> /proc/ioports is the same for xen and baremetal. /proc/interrupts says
>   1:        120         38   IO-APIC-edge      i8042
>  12:        609        115   IO-APIC-edge      i8042
> for baremetal, and for xen
>   1:          8          0  xen-pirq-ioapic-edge  i8042
>  12:          3          0  xen-pirq-ioapic-edge  i8042
> but for xen the counts don't change.

OK. So we need to dig in this a bit further. Can you enable all of the
debugging options on Xen and Linux and send the serial log? And also
run 'apic=debug' on Xen command line. Pasi's PV-OPS Wiki page has a
whole section on what to set for a full debug enabled boot.

Another thing that might be worth checking is to boot the PV-OPS kernel
with a 3.4-testing Xen hypervisor (it actually does boot at least on my
SuperMicro X8DBN+- but don't try to use the 4.x-unstable tool stack with
it :-)).

That would eliminate the problem being in the Linux kernel.

FYI, I don't have a PS/2 mouse, but I do have a PS/2 keyboard that works
OK.

  reply	other threads:[~2010-07-23 14:27 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 20:27 xen 4 only seeing one keyboard and mouse M A Young
2010-07-21 20:40 ` Pasi Kärkkäinen
2010-07-21 21:16   ` M A Young
2010-07-21 21:41     ` Pasi Kärkkäinen
2010-07-21 22:10       ` M A Young
2010-07-22 17:51         ` Konrad Rzeszutek Wilk
2010-07-22 18:54           ` M A Young
2010-07-23 14:27             ` Konrad Rzeszutek Wilk [this message]
2010-08-08 18:50               ` M A Young
2010-08-08 20:16                 ` M A Young
2010-08-09  4:42                   ` Konrad Rzeszutek Wilk
2010-08-16 15:46                   ` Konrad Rzeszutek Wilk
2010-08-16 21:05                     ` M A Young
2010-08-16 22:33                       ` Konrad Rzeszutek Wilk
2010-08-18 23:25                         ` Konrad Rzeszutek Wilk
2010-08-20 21:59                           ` M A Young
2010-08-22 20:03                           ` M A Young
2010-08-23 15:18                             ` Konrad Rzeszutek Wilk
2010-08-23 19:34                               ` M A Young
2010-08-23 20:37                                 ` M A Young
2010-08-24 17:10                                   ` Konrad Rzeszutek Wilk
2010-08-24 19:06                                     ` M A Young
2010-08-24 19:47                                     ` Keir Fraser
2010-08-24 20:31                                     ` M A Young
2010-08-24 21:16                                       ` Konrad Rzeszutek Wilk
2010-08-24 22:40                                         ` M A Young
2010-08-25 14:28                                           ` Konrad Rzeszutek Wilk
2010-08-25 21:32                                             ` M A Young
2010-08-26 14:04                                               ` Konrad Rzeszutek Wilk
2010-08-26 14:08                                                 ` Keir Fraser
2010-08-26 20:53                                                 ` M A Young
2010-08-26 22:15                                                   ` M A Young
2010-08-26 22:24                                                     ` M A Young
2010-08-27  7:34                                                       ` Keir Fraser
2010-08-31 15:00                                                       ` Konrad Rzeszutek Wilk
2010-09-03 18:50                                                         ` M A Young
2010-09-08 15:44                                                           ` Konrad Rzeszutek Wilk
2010-09-08 21:36                                                             ` M A Young
2010-09-08 23:17                                                               ` Konrad Rzeszutek Wilk
2010-09-17 22:49                                                                 ` M A Young
2010-09-20 14:51                                                                   ` Konrad Rzeszutek Wilk
2010-09-20 15:05                                                                     ` xen 4 only seeing one keyboard and mouse, fixed in xen 4.0.2-rc-pre Pasi Kärkkäinen
2010-08-21 21:00                         ` xen 4 only seeing one keyboard and mouse M A Young
2010-08-23 14:24                           ` Konrad Rzeszutek Wilk

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=20100723142724.GB4008@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=m.a.young@durham.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /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.