From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Tomasz Chmielewski <mangoo@wpkg.org>, Avi Kivity <avi@redhat.com>,
Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: [Qemu-devel] [SOLUTION] "i8042.c: No controller found" -> OS sees no keyboard if I type "in BIOS"
Date: Mon, 8 Jun 2009 16:28:30 +0100 [thread overview]
Message-ID: <200906081628.32080.paul@codesourcery.com> (raw)
In-Reply-To: <4A2D2743.4050501@redhat.com>
> > BTW, with "PS2_QUEUE_SIZE 16" I'm still able to trigger:
> >
> > i8042.c: No controller found.
> >
> >
> > Only with "PS2_QUEUE_SIZE 15" keyboard is detected every time I boot
> > the guest (unless that's what you meant by setting it to 16).
>
> I think this points to a bug in the bios. The keyboard-internal queue
> size shouldn't cause any problems.
Either way, you're just papering over bugs in the bios/kernel.
My guess is that the bios is assuming it can drain the queue faster than
external events can fill it back up. On real hardware this is often true (CPU
and system bus speeds are many orders of magnitude greater than the keyboard
serial line). However in a non cycle accurate simulator (like qemu) the
keyboard events can happen infinitely fast. i.e. even with an internal queue
size of 1 the bug will still trigger if sufficiently many PS2 events occur
while the guest is draining the queue.
Paul
next prev parent reply other threads:[~2009-06-08 15:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 13:57 [Qemu-devel] "i8042.c: No controller found" -> OS sees no keyboard if I type "in BIOS" Tomasz Chmielewski
2009-05-20 9:30 ` Tomasz Chmielewski
2009-05-20 13:30 ` [Qemu-devel] [SOLUTION] " Tomasz Chmielewski
2009-06-07 4:04 ` Marcelo Tosatti
2009-06-08 13:51 ` Tomasz Chmielewski
2009-06-08 14:13 ` Tomasz Chmielewski
2009-06-08 14:30 ` Marcelo Tosatti
2009-06-08 15:11 ` Tomasz Chmielewski
2009-06-08 15:48 ` Mark Cave-Ayland
2009-06-23 12:27 ` Mark Cave-Ayland
2009-06-08 14:59 ` Avi Kivity
2009-06-08 15:08 ` Tomasz Chmielewski
2009-06-08 15:28 ` Paul Brook [this message]
2009-07-08 21:08 ` [Qemu-devel] " Dinesh Subhraveti
2009-07-09 1:07 ` Dinesh Subhraveti
2009-07-09 20:52 ` [Qemu-devel] Re: [SOLUTION] "i8042.c: No controller found" ->OS " Dinesh Subhraveti
2009-07-10 8:21 ` Mark Cave-Ayland
2009-07-10 21:45 ` Dinesh Subhraveti
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=200906081628.32080.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=mangoo@wpkg.org \
--cc=mtosatti@redhat.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).