{"id":51,"date":"2014-08-29T20:27:23","date_gmt":"2014-08-29T20:27:23","guid":{"rendered":"https:\/\/www.pendragonsfolly.com\/?p=51"},"modified":"2014-09-04T12:59:44","modified_gmt":"2014-09-04T12:59:44","slug":"qemu-2-7-1-usb-3-0-passthrough-fails-hall-of-shame-ubuntu-14-04-windows-7-guest","status":"publish","type":"post","link":"https:\/\/www.pendragonsfolly.com\/?p=51","title":{"rendered":"Qemu 2.1 USB 3.0 PassThrough Fails  (Hall of Shame)  Ubuntu 14.04 Windows 7 Guest"},"content":{"rendered":"<p>I guess I just need to suck it up and setup a Linux guest to see what (if any) parameters work and to rule out driver issues on the guest&#8230;<\/p>\n<p>Windows 7 guest drivers from here:\u00a0http:\/\/www.driverscape.com\/manufacturers\/renesas\/usb \u00a0(NEC 3.0 Controller)<\/p>\n<p>Using Ubuntu 14.04 with a custom complied qemu 2.1 with all the defaults (except PREFIX=\/opt\/qemu)<\/p>\n<p>With this (uncommented part),<\/p>\n<p>I get:<\/p>\n<p>qemu-system-x86_64: hw\/usb\/hcd-xhci.c:896: xhci_events_update: Assertion `intr-&gt;er_full&#8217; failed.<br \/>\nAborted (core dumped)<\/p>\n<p>also from dmesg:<\/p>\n<p>[16948.896976] usb 4-4: reset SuperSpeed USB device number 10 using xhci_hcd<br \/>\n[16948.914304] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88023580f600<\/p>\n<p>Tail end of qemu invocation shell script (showing previous ideas).<\/p>\n<p>-device nec-usb-xhci,id=xhci,bus=pci.0,addr=0x14.0 \\<br \/>\n-device usb-host,bus=xhci.0,vendorid=0x13fe,productid=0x5100<br \/>\n#-device usb-host,bus=xhci.0,hostbus=4,hostport=10<br \/>\n#-device usb-host,bus=xhci.0,vendorid=0x13fe,productid=0x5100<br \/>\n#below changes everytime I remove\/reinsert drive<br \/>\n#-device usb-host,bus=xhci.0,hostbus=3,hostport=11<br \/>\n#below failed with core dump usb_handle_packet assertion failed<br \/>\n#-device usb-host,vendorid=0x13fe,productid=0x5100<\/p>\n<p>#vfio-bind 0000:00:14.0<br \/>\n#-device vfio-pci,host=14:00.0,bus=pcie.0<br \/>\n#-device usb-storage,bus=xhci.4,port=2<br \/>\n#-device usb-host,vendorid=0x0480,productid=0x200<\/p>\n<p>-device nec-usb-xhci,id=xhci,bus=pci.0,addr=0x14.0 \\<br \/>\n-device usb-host,bus=xhci.0,vendorid=0x13fe,productid=0x5100<br \/>\n#-device usb-host,bus=xhci.0,hostbus=4,hostport=10<br \/>\n#-device usb-host,bus=xhci.0,vendorid=0x13fe,productid=0x5100<br \/>\n#below changes everytime I remove\/reinsert drive<br \/>\n#-device usb-host,bus=xhci.0,hostbus=3,hostport=11<br \/>\n#below failed with core dump usb_handle_packet assertion failed<br \/>\n#-device usb-host,vendorid=0x13fe,productid=0x5100<\/p>\n<p>#vfio-bind 0000:00:14.0<br \/>\n#-device vfio-pci,host=14:00.0,bus=pcie.0<br \/>\n#-device usb-storage,bus=xhci.4,port=2<br \/>\n#-device usb-host,vendorid=0x0480,productid=0x200<\/p>\n<p>Next steps, maybe I should try this with a Linux guest to test the parameters and rule out driver issues?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I guess I just need to suck it up and setup a Linux guest to see what (if any) parameters work and to rule out driver issues on the guest&#8230; Windows 7 guest drivers from here:\u00a0http:\/\/www.driverscape.com\/manufacturers\/renesas\/usb \u00a0(NEC 3.0 Controller) Using &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/www.pendragonsfolly.com\/?p=51\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,10,1],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-linux","category-qemukvm-work","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":5,"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pendragonsfolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}