general protection fault: 0000 [#1] SMP passing usb host to guest ?

allan

Renowned Member
May 6, 2012
17
0
66
Hello, im using PM 2.1 and get random guest kernel freeze/Segmentation fault when the guest reads the usb port.
Both host and guest reinstalled yesterday and kept as simple as possible. Data is read out fine until guest kernel spew on me. (Im trying to forward data from a attached weather station. Host is a Sandy bridge 8gb ram. a ssd + sata disk.)

Only one guest running. I tried on different guests (ubuntu 12.04 server) with the same result, it works fine for a while, 10 min to 1 hour.

Is it possible to forward usb-ports reliable or am i "fighting windmills" here?

Ideas?
/A

when booting guest the hosts syslog got:

May 9 08:04:34 pm kernel: generic-usb 0003:1130:6801.0015: hiddev98,hidraw3: USB HID v1.10 Device [ ] on usb-0000:00:1d.0-1.6/input0
May 9 08:04:34 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:34 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:35 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:35 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:36 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:37 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:37 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:37 pm kernel: usb 2-1.6: usbfs: interface 0 claimed by usbhid while 'kvm' sets config #1
May 9 08:04:43 pm kernel: usb 2-1.6: reset low speed USB device using ehci_hcd and address 7
May 9 08:04:44 pm kernel: generic-usb 0003:1130:6801.0016: hiddev98,hidraw3: USB HID v1.10 Device [ ] on usb-0000:00:1d.0-1.6/input0

lsusb on host:
root@pm:~# lsusb
Bus 002 Device 007: ID 1130:6801 Tenx Technology, Inc.
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb on guest:
root@hsgw:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1130:6801 Tenx Technology, Inc.
Bus 004 Device 002: ID 0627:0001 Adomax Technology Co., Ltd



guest.conf
bootdisk: virtio0
cores: 1
memory: 512
name: hs2
net0: virtio=CA:0B:0A:DF:A5:08,bridge=vmbr1
ostype: l26
sockets: 1
usb0: host=1130:6801
virtio0: local:101/vm-101-disk-1.raw
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!