From: Tomasz Chmielewski <mangoo@wpkg.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] "i8042.c: No controller found" -> OS sees no keyboard if I type "in BIOS"
Date: Wed, 20 May 2009 11:30:44 +0200 [thread overview]
Message-ID: <4A13CDC4.3000704@wpkg.org> (raw)
In-Reply-To: <4A0C232D.1020201@wpkg.org>
Tomasz Chmielewski schrieb:
> When I boot the guest and type (just hit any keys) in the VNC window
> before the operating system boots, sometimes, the system loads with no
> keyboard present - as signified in dmesg on guest:
>
> i8042.c: No controller found
>
> As a result, I can't use the keyboard in the VNC window.
>
> If I start qemu process and I don't press any key, I can use the
> keyboard once the operating system boots.
>
> Rebooting the guest doesn't fix the problem, even if I don't touch the
> keyboard before the OS boots any more.
> Only stopping the guest and starting a new qemu process fixes the problem.
>
> Anyone else saw it as well? If not, try something like that on your guests:
>
> grep i8042 /var/log/kern*
>
> (or grep "i8042.c: No controller found" /var/log/kern*)
>
> Some more confirmations of this problem in the internet:
>
> http://qemu-forum.ipi.fi/viewtopic.php?f=5&t=4461
> http://osdir.com/ml/fedora-virt/2009-04/msg00066.html
> http://www.proxmox.com/forum/showthread.php?t=1163
drivers/input/serio/i8042.c in the Linux kerne has this:
static int i8042_controller_check(void)
{
if (i8042_flush() == I8042_BUFFER_SIZE) {
printk(KERN_ERR "i8042.c: No controller found.\n");
return -ENODEV;
}
return 0;
}
So, can it be that if we type anything on keyboard (or move mouse) while
Qemu's BIOS is still booting or later in the bootloader (GRUB, lilo),
some buffer is not flushed and Linux gets confused? And as a result,
decides there is no keyboard?
--
Tomasz Chmielewski
http://wpkg.org
next prev parent reply other threads:[~2009-05-20 9:30 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 [this message]
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
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=4A13CDC4.3000704@wpkg.org \
--to=mangoo@wpkg.org \
--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).