Skip to contentSkip to conversation

keyboard suddenly stops working in VM and problem persists until host reboot. All super-standard setup no funny stuff

Qemu-devel John Smith 2 participants 4 messages Oct 27, 2014 – Jun 18, 2018

lore
Share & tools
lore

John Smith

author
#0 lore raw

Public bug reported:

QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp 4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor telnet:127.0.0.1:4446,server,nowait -vga qxl -spice port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive file=/mnt/2/VM /vm-centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native -boot c -vnc :6

I already had this with ubanto VM so I installed a centos one but then I type HDD password in VNC suddenly keyboard stops working forever. Kill qemu, stop qemu, start again ... same issue. Very strange. Problem in VNC, problem in vga std problem in spicec problem with options problem without options, SDL no SDL and nothing helps. dmesg only shows unhandled wrmsr like always .. so irrelevant.

Must be problem with new kernel or nvidia driver mystery magic I suppose? But I had riced CK kernel before and no issue. Hardware didn't change. Nothing works, what is this? Can do sendkey 1 1 in console no issue. So why is all keyboard input dead in mid-operation? You see after reboot I open VM and no matter what VNC or spicec or SDL I input keyboard all normal then this! BAM all keyboard input gone! So in ubuntu I still had mouse so I used onscreen keyboard to enable SSH and then I didn't care. But now I have harddrive password, what can I do? Install different QEMU but I suppose problem with new kernel xorg stuff rather ... Can't change that! Help much appreciated.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 41 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1386197

Title:
  keyboard suddenly stops working in VM and problem persists until host
  reboot. All super-standard setup no funny stuff

Status in QEMU:
  New

Bug description:
  QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard
  Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

  qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp
  4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor
  telnet:127.0.0.1:4446,server,nowait -vga qxl -spice
  port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net
  tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net
  nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive
  file=/mnt/2/VM/vm-
  centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native
  -boot c -vnc :6

  
  I already had this with ubanto VM so I installed a centos one but then I type HDD password in VNC suddenly keyboard stops working forever. Kill qemu, stop qemu, start again ... same issue. Very strange. Problem in VNC, problem in vga std problem in spicec problem with options problem without options, SDL no SDL and nothing helps. dmesg only shows unhandled wrmsr like always .. so irrelevant. 

  Must be problem with new kernel or nvidia driver mystery magic I
  suppose? But I had riced CK kernel before and no issue. Hardware
  didn't change. Nothing works, what is this? Can do sendkey 1 1 in
  console no issue. So why is all keyboard input dead in mid-operation?
  You see after reboot I open VM and no matter what VNC or spicec or SDL
  I input keyboard all normal then this! BAM all keyboard input gone! So
  in ubuntu I still had mouse so I used onscreen keyboard to enable SSH
  and then I didn't care. But now I have harddrive password, what can I
  do? Install different QEMU but I suppose problem with new kernel xorg
  stuff rather ... Can't change that! Help much appreciated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1386197/+subscriptions
author
#1 lore raw

So installed qemu-git 2.2.r35796.gff0d487-1 from AUR shows up as QEMU emulator version 2.1.50, Copyright (c) 2003-2008 Fabrice Bellard no host system reboot but still exact same ... no wait!

Now I see this: I can press all the printable character keys except 0-9 A-Z :space: and KP_keys so basically just -=[]\;',./` . Cheated myself into grub edit mode with sendkey now I test it and yes it is like that no shift no ESC no insert, delete, etc just those keys. What is this?! I am not sure but I think the bug was always like this I just didn't bother about the -=[]\;',./` keys.

** Description changed:

QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp 4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor telnet:127.0.0.1:4446,server,nowait -vga qxl -spice port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive file=/mnt/2/VM /vm-centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native -boot c -vnc :6

-
- I already had this with ubanto VM so I installed a centos one but then I type HDD password in VNC suddenly keyboard stops working forever. Kill qemu, stop qemu, start again ... same issue. Very strange. Problem in VNC, problem in vga std problem in spicec problem with options problem without options, SDL no SDL and nothing helps. dmesg only shows unhandled wrmsr like always .. so irrelevant.
+ I already had this with ubanto VM so I installed a centos one and it
+ worked for a whole, but then today I restart it and type HDD password in
+ VNC suddenly keyboard stops working forever. Kill qemu, stop qemu, start
+ again ... same issue. Very strange. Problem in VNC, problem in vga std
+ problem in spicec problem with options problem without options, SDL no
+ SDL and nothing helps. dmesg only shows unhandled wrmsr like always ..
+ so irrelevant.

Must be problem with new kernel or nvidia driver mystery magic I suppose? But I had riced CK kernel before and no issue. Hardware didn't change. Nothing works, what is this? Can do sendkey 1 1 in console no issue. So why is all keyboard input dead in mid-operation? You see after reboot I open VM and no matter what VNC or spicec or SDL I input keyboard all normal then this! BAM all keyboard input gone! So in ubuntu I still had mouse so I used onscreen keyboard to enable SSH and then I didn't care. But now I have harddrive password, what can I do? Install different QEMU but I suppose problem with new kernel xorg stuff rather ... Can't change that! Help much appreciated.

** Description changed:

QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp 4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor telnet:127.0.0.1:4446,server,nowait -vga qxl -spice port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive file=/mnt/2/VM /vm-centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native -boot c -vnc :6

I already had this with ubanto VM so I installed a centos one and it
- worked for a whole, but then today I restart it and type HDD password in
+ worked for a while, but then today I restart it and type HDD password in VNC suddenly keyboard stops working forever. Kill qemu, stop qemu, start again ... same issue. Very strange. Problem in VNC, problem in vga std problem in spicec problem with options problem without options, SDL no SDL and nothing helps. dmesg only shows unhandled wrmsr like always .. so irrelevant.

Must be problem with new kernel or nvidia driver mystery magic I suppose? But I had riced CK kernel before and no issue. Hardware didn't change. Nothing works, what is this? Can do sendkey 1 1 in console no issue. So why is all keyboard input dead in mid-operation? You see after reboot I open VM and no matter what VNC or spicec or SDL I input keyboard all normal then this! BAM all keyboard input gone! So in ubuntu I still had mouse so I used onscreen keyboard to enable SSH and then I didn't care. But now I have harddrive password, what can I do? Install different QEMU but I suppose problem with new kernel xorg stuff rather ... Can't change that! Help much appreciated.

** Description changed:

QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp 4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor telnet:127.0.0.1:4446,server,nowait -vga qxl -spice port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive file=/mnt/2/VM /vm-centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native -boot c -vnc :6

I already had this with ubanto VM so I installed a centos one and it worked for a while, but then today I restart it and type HDD password in
- VNC suddenly keyboard stops working forever. Kill qemu, stop qemu, start
- again ... same issue. Very strange. Problem in VNC, problem in vga std
- problem in spicec problem with options problem without options, SDL no
- SDL and nothing helps. dmesg only shows unhandled wrmsr like always ..
- so irrelevant.
+ VNC suddenly keyboard stops working forever again. Kill qemu, stop qemu,
+ start again ... same issue. Very strange. Problem in VNC, problem in vga
+ std problem in spicec problem with options problem without options, SDL
+ no SDL and nothing helps. dmesg only shows unhandled wrmsr like always
+ .. so irrelevant.

Must be problem with new kernel or nvidia driver mystery magic I suppose? But I had riced CK kernel before and no issue. Hardware didn't change. Nothing works, what is this? Can do sendkey 1 1 in console no issue. So why is all keyboard input dead in mid-operation? You see after reboot I open VM and no matter what VNC or spicec or SDL I input keyboard all normal then this! BAM all keyboard input gone! So in ubuntu I still had mouse so I used onscreen keyboard to enable SSH and then I didn't care. But now I have harddrive password, what can I do? Install different QEMU but I suppose problem with new kernel xorg stuff rather ... Can't change that! Help much appreciated.

** Description changed:

QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp 4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor telnet:127.0.0.1:4446,server,nowait -vga qxl -spice port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive file=/mnt/2/VM /vm-centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native -boot c -vnc :6

I already had this with ubanto VM so I installed a centos one and it worked for a while, but then today I restart it and type HDD password in VNC suddenly keyboard stops working forever again. Kill qemu, stop qemu, start again ... same issue. Very strange. Problem in VNC, problem in vga std problem in spicec problem with options problem without options, SDL no SDL and nothing helps. dmesg only shows unhandled wrmsr like always .. so irrelevant.

Must be problem with new kernel or nvidia driver mystery magic I suppose? But I had riced CK kernel before and no issue. Hardware didn't change. Nothing works, what is this? Can do sendkey 1 1 in console no issue. So why is all keyboard input dead in mid-operation? You see after
- reboot I open VM and no matter what VNC or spicec or SDL I input
- keyboard all normal then this! BAM all keyboard input gone! So in ubuntu
- I still had mouse so I used onscreen keyboard to enable SSH and then I
- didn't care. But now I have harddrive password, what can I do? Install
- different QEMU but I suppose problem with new kernel xorg stuff rather
- ... Can't change that! Help much appreciated.
+ host system reboot I open VM and no matter what VNC or spicec or SDL I
+ input keyboard all normal then randomly this! BAM all keyboard input
+ gone! So in ubuntu I still had mouse so I used onscreen keyboard to
+ enable SSH and then I didn't care. But now I have harddrive password,
+ what can I do? Install different QEMU but I suppose problem with new
+ kernel xorg stuff rather ... Can't change that! Help much appreciated.

Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1386197

Title:
  keyboard suddenly stops working in VM and problem persists until host
  reboot. All super-standard setup no funny stuff

Status in QEMU:
  New

Bug description:
  QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard
  Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

  qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp
  4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor
  telnet:127.0.0.1:4446,server,nowait -vga qxl -spice
  port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net
  tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net
  nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive
  file=/mnt/2/VM/vm-
  centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native
  -boot c -vnc :6

  I already had this with ubanto VM so I installed a centos one and it
  worked for a while, but then today I restart it and type HDD password
  in VNC suddenly keyboard stops working forever again. Kill qemu, stop
  qemu, start again ... same issue. Very strange. Problem in VNC,
  problem in vga std problem in spicec problem with options problem
  without options, SDL no SDL and nothing helps. dmesg only shows
  unhandled wrmsr like always .. so irrelevant.

  Must be problem with new kernel or nvidia driver mystery magic I
  suppose? But I had riced CK kernel before and no issue. Hardware
  didn't change. Nothing works, what is this? Can do sendkey 1 1 in
  console no issue. So why is all keyboard input dead in mid-operation?
  You see after host system reboot I open VM and no matter what VNC or
  spicec or SDL I input keyboard all normal then randomly this! BAM all
  keyboard input gone! So in ubuntu I still had mouse so I used onscreen
  keyboard to enable SSH and then I didn't care. But now I have
  harddrive password, what can I do? Install different QEMU but I
  suppose problem with new kernel xorg stuff rather ... Can't change
  that! Help much appreciated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1386197/+subscriptions
#2 lore raw
In reply to John Smith

Looking through old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
Status: New => Incomplete

Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1386197

Title:
  keyboard suddenly stops working in VM and problem persists until host
  reboot. All super-standard setup no funny stuff

Status in QEMU:
  Incomplete

Bug description:
  QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard
  Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

  qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp
  4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor
  telnet:127.0.0.1:4446,server,nowait -vga qxl -spice
  port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net
  tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net
  nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive
  file=/mnt/2/VM/vm-
  centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native
  -boot c -vnc :6

  I already had this with ubanto VM so I installed a centos one and it
  worked for a while, but then today I restart it and type HDD password
  in VNC suddenly keyboard stops working forever again. Kill qemu, stop
  qemu, start again ... same issue. Very strange. Problem in VNC,
  problem in vga std problem in spicec problem with options problem
  without options, SDL no SDL and nothing helps. dmesg only shows
  unhandled wrmsr like always .. so irrelevant.

  Must be problem with new kernel or nvidia driver mystery magic I
  suppose? But I had riced CK kernel before and no issue. Hardware
  didn't change. Nothing works, what is this? Can do sendkey 1 1 in
  console no issue. So why is all keyboard input dead in mid-operation?
  You see after host system reboot I open VM and no matter what VNC or
  spicec or SDL I input keyboard all normal then randomly this! BAM all
  keyboard input gone! So in ubuntu I still had mouse so I used onscreen
  keyboard to enable SSH and then I didn't care. But now I have
  harddrive password, what can I do? Install different QEMU but I
  suppose problem with new kernel xorg stuff rather ... Can't change
  that! Help much appreciated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1386197/+subscriptions
#3 lore raw
In reply to John Smith

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1386197

Title:
  keyboard suddenly stops working in VM and problem persists until host
  reboot. All super-standard setup no funny stuff

Status in QEMU:
  Expired

Bug description:
  QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard
  Linux HOST 3.16.3-1-ck #1 SMP PREEMPT Sun Sep 21 11:27:46 CEST 2014 x86_64 GNU/Linux

  qemu-system-x86_64 -daemonize -enable-kvm -cpu host -smp
  4,maxcpus=4,sockets=1,cores=2,threads=1 -m 4096 -monitor
  telnet:127.0.0.1:4446,server,nowait -vga qxl -spice
  port=5556,ipv4,addr=127.0.0.1,disable-ticketing -soundhw all -net
  tap,script=no,ifname=vm6,vlan=0,vnet_hdr=on -net
  nic,macaddr=52:54:00:2A:F1:16,vlan=0,model=virtio -drive
  file=/mnt/2/VM/vm-
  centos.qcow2,cache=writeback,index=0,media=disk,if=virtio,aio=native
  -boot c -vnc :6

  I already had this with ubanto VM so I installed a centos one and it
  worked for a while, but then today I restart it and type HDD password
  in VNC suddenly keyboard stops working forever again. Kill qemu, stop
  qemu, start again ... same issue. Very strange. Problem in VNC,
  problem in vga std problem in spicec problem with options problem
  without options, SDL no SDL and nothing helps. dmesg only shows
  unhandled wrmsr like always .. so irrelevant.

  Must be problem with new kernel or nvidia driver mystery magic I
  suppose? But I had riced CK kernel before and no issue. Hardware
  didn't change. Nothing works, what is this? Can do sendkey 1 1 in
  console no issue. So why is all keyboard input dead in mid-operation?
  You see after host system reboot I open VM and no matter what VNC or
  spicec or SDL I input keyboard all normal then randomly this! BAM all
  keyboard input gone! So in ubuntu I still had mouse so I used onscreen
  keyboard to enable SSH and then I didn't care. But now I have
  harddrive password, what can I do? Install different QEMU but I
  suppose problem with new kernel xorg stuff rather ... Can't change
  that! Help much appreciated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1386197/+subscriptions