kvm guest sometimes not recognising keyboard

fromport

Renowned Member
Feb 16, 2009
53
0
71
kvm guest sometimes not recognizing keyboard

I'm doing some experimenting with another great (imho) freeware project: http://www.vyatta.org

I've setup a kvm guest using the iso image.
Sometimes (currently about 50% when i try it) when it's started fromt the pve webinterface and when i open the VNC console it boots with an error that it cannot find the keyboard controller:
Code:
i8042.c: No controller found.
http://dth.net/pve/kvm_guest_keyboard_error.png
Since it doesn't have the acpid (yet) installed the only i can do is reset/poweroff. And hope for better luck next time.

Anyone else experienced this ? know a fix ?
 
Last edited:
Re: kvm guest sometimes not recognizing keyboard

I'm doing some experimenting with another great (imho) freeware project: http://www.vyatta.org

I've setup a kvm guest using the iso image.
Sometimes (currently about 50% when i try it) when it's started fromt the pve webinterface and when i open the VNC console it boots with an error that it cannot find the keyboard controller:
Code:
i8042.c: No controller found.
http://dth.net/pve/kvm_guest_keyboard_error.png
Since it doesn't have the acpid (yet) installed the only i can do is reset/poweroff. And hope for better luck next time.

Anyone else experienced this ? know a fix ?

Good clue.
I see it sometimes as well.

Keyboard works in BIOS, but after Linux boots (I haven't tried Windows), keyboard doesn't work any more.
VM reboots don't fix it.

The only thing which fixes it is when I shutdown the virtual machine and start it again (i.e. run a new kvm process).

I saw it in Proxmox VE 1.1 and 1.2.

I wonder if it is KVM bug, or KVM patches applied by Proxomox?
 
Anyone else seeing this? If you're not sure, on your Linux guest, do something like:

grep i8042 /var/log/kern*

(or grep "i8042.c: No controller found" /var/log/kern*)


This will output if the keyboard was there or not, historically.
 
Re: kvm guest sometimes not recognizing keyboard

Good clue.
I see it sometimes as well.

Keyboard works in BIOS, but after Linux boots (I haven't tried Windows), keyboard doesn't work any more.
VM reboots don't fix it.

The only thing which fixes it is when I shutdown the virtual machine and start it again (i.e. run a new kvm process).

I saw it in Proxmox VE 1.1 and 1.2.

I wonder if it is KVM bug, or KVM patches applied by Proxomox?

Most probably a bug in KVM - see this thread:

http://osdir.com/ml/fedora-virt/2009-04/msg00066.html