VirtualBox

Opened 8 years ago

Last modified 7 years ago

#15616 closed defect

Linux 5.1 aborts when using a KVM switch — at Initial Version

Reported by: Christopher Juckins Owned by:
Component: GUI Version: VirtualBox 5.1.0
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

When using a KVM (keyboard/video/mouse) switch with VirtualBox 5.1 running on Linux Centos7, the guest VMs abort when I switch from my host computer to my second computer.

Here is my setup:

Host computer Centos7 version 7.2.1511 with kernel 3.10.0-327.22.2.el7.x86_64. I installed VirtualBox VirtualBox-5.1-5.1.0_108711_el7-1.x86_64.rpm this morning.

I can start up my two guest VMs (also running Centos7) without issues.

When I toggle my KVM switch from my host Linux computer to my other computer (Windows 10) and then go back to my host Linux computer, both of my guest VMs are gone from my screen. When I restart the main VirtualBox program GUI, both of my guest VMs show "Aborted".

I downgraded back to Virtual Box 5.0 (VirtualBox-5.0-5.0.24_108355_el7-1.x86_64.rpm) and the KVM abort problem disappears.

Here is the output from /var/log/messages on my host machine immediately after I switch from one machine to the other using my KVM switch:

[root@crescent: /var/log]# cat messages Jul 14 11:13:59 crescent kernel: usb 6-1: USB disconnect, device number 57 Jul 14 11:13:59 crescent kernel: usb 6-1.3: USB disconnect, device number 58 Jul 14 11:13:59 crescent kernel: usb 6-1.4: USB disconnect, device number 59 Jul 14 11:13:59 crescent systemd-udevd: error opening USB device 'descriptors' file Jul 14 11:13:59 crescent systemd-udevd: error opening USB device 'descriptors' file Jul 14 11:13:59 crescent kernel: VirtualBox[22407]: segfault at 0 ip 00007f4a1f969d8c sp 00007ffd68819b10 error 4 in libQt5XcbQpaVBox.so.5[7f4a1f908000+145000] Jul 14 11:13:59 crescent systemd-udevd: error opening USB device 'descriptors' file Jul 14 11:13:59 crescent kernel: device enp1s0 left promiscuous mode Jul 14 11:13:59 crescent kernel: vboxnetflt: 0 out of 5183 packets were not sent (directed to host) Jul 14 11:13:59 crescent kernel: VirtualBox[22360]: segfault at 0 ip 00007f8205d5148a sp 00007ffe1fa51060 error 4 in libQt5XcbQpaVBox.so.5[7f8205ce8000+145000] Jul 14 11:14:05 crescent kernel: usb 6-1: new high-speed USB device number 60 using ehci-pci Jul 14 11:14:05 crescent kernel: usb 6-1: New USB device found, idVendor=1a40, idProduct=0101 Jul 14 11:14:05 crescent kernel: usb 6-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 Jul 14 11:14:05 crescent kernel: usb 6-1: Product: USB 2.0 Hub Jul 14 11:14:05 crescent kernel: hub 6-1:1.0: USB hub found Jul 14 11:14:05 crescent kernel: hub 6-1:1.0: 4 ports detected Jul 14 11:14:06 crescent kernel: usb 6-1.3: new low-speed USB device number 61 using ehci-pci Jul 14 11:14:06 crescent kernel: usb 6-1.3: New USB device found, idVendor=046d, idProduct=c016 Jul 14 11:14:06 crescent kernel: usb 6-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jul 14 11:14:06 crescent kernel: usb 6-1.3: Product: Optical USB Mouse Jul 14 11:14:06 crescent kernel: usb 6-1.3: Manufacturer: Logitech Jul 14 11:14:06 crescent kernel: input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:13.2/usb6/6-1/6-1.3/6-1.3:1.0/input/input693 Jul 14 11:14:06 crescent kernel: hid-generic 0003:046D:C016.02AB: input,hidraw1: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:13.2-1.3/input0 Jul 14 11:14:06 crescent kernel: usb 6-1.4: new low-speed USB device number 62 using ehci-pci Jul 14 11:14:06 crescent kernel: usb 6-1.4: New USB device found, idVendor=04f2, idProduct=1060 Jul 14 11:14:06 crescent kernel: usb 6-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jul 14 11:14:06 crescent kernel: usb 6-1.4: Product: USB Keyboard Jul 14 11:14:06 crescent kernel: usb 6-1.4: Manufacturer: CHICONY Jul 14 11:14:06 crescent kernel: input: CHICONY USB Keyboard as /devices/pci0000:00/0000:00:13.2/usb6/6-1/6-1.4/6-1.4:1.0/input/input694 Jul 14 11:14:06 crescent kernel: hid-generic 0003:04F2:1060.02AC: input,hidraw2: USB HID v1.11 Keyboard [CHICONY USB Keyboard] on usb-0000:00:13.2-1.4/input0 Jul 14 11:14:06 crescent kernel: input: CHICONY USB Keyboard as /devices/pci0000:00/0000:00:13.2/usb6/6-1/6-1.4/6-1.4:1.1/input/input695 Jul 14 11:14:06 crescent kernel: hid-generic 0003:04F2:1060.02AD: input,hiddev0,hidraw3: USB HID v1.11 Device [CHICONY USB Keyboard] on usb-0000:00:13.2-1.4/input1 Jul 14 11:14:06 crescent mtp-probe: checking bus 6, device 61: "/sys/devices/pci0000:00/0000:00:13.2/usb6/6-1/6-1.3" Jul 14 11:14:06 crescent mtp-probe: bus: 6, device: 61 was not an MTP device Jul 14 11:14:06 crescent mtp-probe: checking bus 6, device 62: "/sys/devices/pci0000:00/0000:00:13.2/usb6/6-1/6-1.4" Jul 14 11:14:06 crescent mtp-probe: bus: 6, device: 62 was not an MTP device

If I can provide any more information just let me know.

I am trying to attach my VBox log file as well.

Thank you for your help.

Christopher Juckins

Change History (2)

by Christopher Juckins, 8 years ago

VBox log file when my session aborted

by Christopher Juckins, 8 years ago

Attachment: messages.log added

/var/log/messages file from Host Linux computer

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use