[PVE-User] No keyboard in guest when using mouse/keyboard while the guest boots

Tomasz Chmielewski mangoo at wpkg.org
Mon Jun 15 11:36:21 CEST 2009


Currently, qemu's implementation of i8042 controller is broken (probably 
some BIOS issue) - if you type on the keyboard / move mouse while the 
guest boots, Linux guest will boot without keyboard.

The core of the problem is: qemu's i8042 buffer (256 characters) will 
get full, and Linux i8042 controller initialization will not be able to 
empty this buffer, as it assumes i8042 controller has a 16 characters 
buffer.


The cause was more or less identified in "i8042.c: No controller found" 
thread on qemu-devel list; a workaround is to decrease "PS2_QUEUE_SIZE 
256" to "PS2_QUEUE_SIZE 15".

The fix is not in upstream qemu yet, but I would be glad if it was 
integrated in Proxmox VE, as currently, my Linux guests (didn't try with 
Windows) almost always loose its keyboard as I reboot them and have VNC 
console open.


See also:

http://lists.gnu.org/archive/html/qemu-devel/2009-06/msg00274.html

http://lists.gnu.org/archive/html/qemu-devel/2009-06/msg00357.html

and the rest of the thread.


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the pve-user mailing list