From: Ingo Molnar Subject: Re: [PATCH] kvm tools: Add support for PS/2 keyboard system Date: Thu, 2 Jun 2011 11:34:39 +0200 Message-ID: <20110602093439.GA10741@elte.hu> References: <1306940036-15540-1-git-send-email-levinsasha928@gmail.com> <1307005827.2785.26.camel@lappy> <20110602091811.GA9787@elte.hu> <1307006604.27309.0.camel@jaguar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sasha Levin , kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, John Floren To: Pekka Enberg Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:51450 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932439Ab1FBJes (ORCPT ); Thu, 2 Jun 2011 05:34:48 -0400 Content-Disposition: inline In-Reply-To: <1307006604.27309.0.camel@jaguar> Sender: kvm-owner@vger.kernel.org List-ID: * Pekka Enberg wrote: > On Thu, 2011-06-02 at 11:18 +0200, Ingo Molnar wrote: > > * Pekka Enberg wrote: > > > > > On Thu, 2 Jun 2011, Sasha Levin wrote: > > > >Strange, those are the same errors you're supposed to get when theres no > > > >i8042 device at all. > > > > > > > >Could you verify that hw/pckbd.c is being built? Did the makefile get > > > >updated? > > > > > > > >What I'm seeing here is: > > > > > > > >[ 49.326316] i8042: PNP: No PS/2 controller found. Probing ports > > > >directly. > > > >[ 50.410492] serio: i8042 KBD port at 0x60,0x64 irq 1 > > > >[ 51.518829] serio: i8042 AUX port at 0x60,0x64 irq 12 > > > >[ 51.519104] mousedev: PS/2 mouse device common for all mice > > > > > > kbd_init() is called if that's what you wanted to know. > > > > btw., i suspect port IO printf()s in i8042.c would be rather > > informative now: they would nicely and synchronously interlace with > > guest serial console output, showing exactly what is going on in the > > probing sequence. > > Do you mean a generic ioport tracing thing? > > ./kvm run --trace=ioport > > or something? heh, yeah :-) btw., i'm getting the same message here: [ 1.458000] usbcore: registered new interface driver libusual [ 1.460000] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 1.463000] i8042: Can't read CTR while initializing i8042 [ 1.464000] i8042: probe of i8042 failed with error -5 [ 1.465000] mousedev: PS/2 mouse device common for all mice [ 1.467000] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 Thanks, Ingo