Re: [qubes-users] Device attached failed with USB3
On Thursday, August 11, 2016 at 2:16:28 AM UTC-4, Andrew David Wong wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 2016-08-10 18:42, raahe...@gmail.com wrote: > > On Friday, August 5, 2016 at 7:49:03 PM UTC-4, Marek Marczykowski-Górecki > > Unfortunately drivers we use (usbip) doesn't support USB3.0 yet. > > > > Anyway, for hard drivers, you should use block attach (qvm-block command). > > > > https://www.qubes-os.org/doc/usb/#tocAnchor-1-1-5 Stating with Qubes 3.2, > > it is possible to attach a single USB device to any Qube. While this is > > useful feature, it should be used with care, because there are many > > security implications from using USB devices and USB passthrough will > > expose your target qube for most of them. *If possible, use use method > > specific for particular device type (for example block devices described > > above), instead of this generic one.* > > > > > > I'm confused I use a usb 3.0 hdd with no problems? > > > > There are (at least) three different ways you can attempt to use a USB 3.0 > drive: > > 1. qvm-usb (usbip) > 2. qvm-block (same as "Attach/detach block devices" in Qubes Manager) > 3. Directly connected to a USB qube. > > Marek is saying that method 1 doesn't yet support USB 3.0. Methods 2 and 3 > should still support it. > > - -- > Andrew David Wong (Axon) > Community Manager, Qubes OS > https://www.qubes-os.org > -BEGIN PGP SIGNATURE- > > iQIcBAEBCgAGBQJXrBgyAAoJENtN07w5UDAwQzoP/1pDq5GuaaYqPVgcIlcBcra0 > LM7kpsAGXepBPSWfIzllvfmLaeubBUpx3HxJPgyECMKPitf7tCpv9SdB4zOyIr4r > MMUvJYYkfB3uD0S4bs+BtfmWf4ZlDzFbUNyMlyABGN8AvavvhdHAefOxAWjnPDdH > bb23EYLP+U4Ee+geQ7Nu9x8k6Cawn079SeaWhe03EecDuTnnMbqiJKA5wZpgT36v > QIwHYyucCTRypNsKD+ZcP202yECL4gaOPy6JSvart3/ditfGnTNdBsT+1XUjsWJv > 6ckL0hPVEfAm72CTOgq7HtcYB+57Zce1efif5sZcwtmFO/XW8Wz6X7tfsqIOtkxO > IV4QtKKkYOf4LzE+IzsKZ8pgTmzlUq7oQjCXysT0cwrY/TsMleSCi1jPtsObzx0B > wNkF7w/Y3O9DBeORnb0NCd8vHXppUcSpOY66za1lZi+QLVgF6OVqu8Gb3NX5sD3p > I9XFHYRxDHqTWq/kkmjhQf1tFGW2bnPikhEYdd3TFdSxNtl/vOKUl3rWcPTZnJyc > gVgR0LV8zKZ8NduxEjIYnyi87V809SCqgBjhiwuxxkdIjLzwcBd1J+egsKp83CBK > VvW2A/sqV/WO3gj2vxe79rONb4swI3HAQYRYYp3+KH7ZjNPoX/Mc3xTvz9nH8t7E > nbWCW8kGG4BO/zh+SNj5 > =zTIZ > -END PGP SIGNATURE- tks -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/3f49215e-332e-42cf-8dd9-b11a7aef543b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Device attached failed with USB3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2016-08-10 18:42, raahe...@gmail.com wrote: > On Friday, August 5, 2016 at 7:49:03 PM UTC-4, Marek Marczykowski-Górecki > Unfortunately drivers we use (usbip) doesn't support USB3.0 yet. > > Anyway, for hard drivers, you should use block attach (qvm-block command). > > https://www.qubes-os.org/doc/usb/#tocAnchor-1-1-5 Stating with Qubes 3.2, > it is possible to attach a single USB device to any Qube. While this is > useful feature, it should be used with care, because there are many > security implications from using USB devices and USB passthrough will > expose your target qube for most of them. *If possible, use use method > specific for particular device type (for example block devices described > above), instead of this generic one.* > > > I'm confused I use a usb 3.0 hdd with no problems? > There are (at least) three different ways you can attempt to use a USB 3.0 drive: 1. qvm-usb (usbip) 2. qvm-block (same as "Attach/detach block devices" in Qubes Manager) 3. Directly connected to a USB qube. Marek is saying that method 1 doesn't yet support USB 3.0. Methods 2 and 3 should still support it. - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJXrBgyAAoJENtN07w5UDAwQzoP/1pDq5GuaaYqPVgcIlcBcra0 LM7kpsAGXepBPSWfIzllvfmLaeubBUpx3HxJPgyECMKPitf7tCpv9SdB4zOyIr4r MMUvJYYkfB3uD0S4bs+BtfmWf4ZlDzFbUNyMlyABGN8AvavvhdHAefOxAWjnPDdH bb23EYLP+U4Ee+geQ7Nu9x8k6Cawn079SeaWhe03EecDuTnnMbqiJKA5wZpgT36v QIwHYyucCTRypNsKD+ZcP202yECL4gaOPy6JSvart3/ditfGnTNdBsT+1XUjsWJv 6ckL0hPVEfAm72CTOgq7HtcYB+57Zce1efif5sZcwtmFO/XW8Wz6X7tfsqIOtkxO IV4QtKKkYOf4LzE+IzsKZ8pgTmzlUq7oQjCXysT0cwrY/TsMleSCi1jPtsObzx0B wNkF7w/Y3O9DBeORnb0NCd8vHXppUcSpOY66za1lZi+QLVgF6OVqu8Gb3NX5sD3p I9XFHYRxDHqTWq/kkmjhQf1tFGW2bnPikhEYdd3TFdSxNtl/vOKUl3rWcPTZnJyc gVgR0LV8zKZ8NduxEjIYnyi87V809SCqgBjhiwuxxkdIjLzwcBd1J+egsKp83CBK VvW2A/sqV/WO3gj2vxe79rONb4swI3HAQYRYYp3+KH7ZjNPoX/Mc3xTvz9nH8t7E nbWCW8kGG4BO/zh+SNj5 =zTIZ -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/588112ea-43c3-03d7-1d35-0c01a6d6002c%40qubes-os.org. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Device attached failed with USB3
On Friday, August 5, 2016 at 7:49:03 PM UTC-4, Marek Marczykowski-Górecki wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On Fri, Aug 05, 2016 at 04:43:02PM -0700, kotot...@gmail.com wrote: > > Hi, > > > > When attaching a USB3 hard-drive to the untrusted VM I get the following > > error: > > > > dom0$ qvm-usb -a untrusted sys-usb:4-1 > > ERROR: Device attach failed: sh: printf: I/O error > > > > untrusted$ dmesg > > <...> > > [ 7482.281057] vhci_hcd: connection closed > > [ 7482.281166] vhci_hcd: stop threads > > [ 7482.281197] vhci_hcd: release socket > > [ 7482.281219] vhci_hcd: disconnect device > > [ 7489.228732] vhci_hcd: Failed attach request for unsupported USB speed: > > super-speed > > > > sys-usb$ dmesg > > <...> > > [ 7627.651333] usbip-host 3-2: recv a header, 0 > > [ 7627.651449] usbip-host 3-2: lock for reset > > [ 7634.596562] usbip-host 4-1: stub up > > [ 7634.601226] usbip-host 4-1: recv a header, 0 > > [ 7634.705358] usbip-host 4-1: reset SuperSpeed USB device number 3 using > > xhci_hcd > > [ 7634.716919] usbip-host 4-1: device reset > > > > Any ideas? I'm using Qubes 3.2RC2. > > Unfortunately drivers we use (usbip) doesn't support USB3.0 yet. > > Anyway, for hard drivers, you should use block attach (qvm-block > command). > > https://www.qubes-os.org/doc/usb/#tocAnchor-1-1-5 > Stating with Qubes 3.2, it is possible to attach a single USB device to > any Qube. While this is useful feature, it should be used with care, > because there are many security implications from using USB devices and > USB passthrough will expose your target qube for most of them. *If > possible, use use method specific for particular device type (for > example block devices described above), instead of this generic one.* > > - -- > Best Regards, > Marek Marczykowski-Górecki > Invisible Things Lab > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > -BEGIN PGP SIGNATURE- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJXpSXoAAoJENuP0xzK19csyBoH+QFiQKphsMQxV09d88GF4u4D > kb4c6eLtx/W6mJ7m0PVyejkXExIaWej0Y1XyQsFAshcw1dpku/OLlFV7GE9gBJ9d > Gu0GK/JIjGnULgKmP2F+6mp4KbF5RpzdfFzAakeTWrmgWyNBVRO7a/ick9e/rvvN > 1cjf4RMRcNTBiFuFlThRXppT66CmGSCVmxc2G0ufNTgEmVMRtGK7VMw5U2+5wcoy > TWzDGgKc1JU1/Yj9XdDFOtCf4MlqMiEP19H6vXhYKkJoDIVCi2+Pktl8HTmB7VMg > Sjk0+3cyFgnsV/zj2vs6eUm+Be1hl4oWWgCSrHu4ORD26K4S3dF9pYTp6n/OD3w= > =hNr7 > -END PGP SIGNATURE- I'm confused I use a usb 3.0 hdd with no problems? -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/f9e1c1a3-1dfb-481d-aad3-913c15dcbfc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Device attached failed with USB3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Fri, Aug 05, 2016 at 04:43:02PM -0700, kotot...@gmail.com wrote: > Hi, > > When attaching a USB3 hard-drive to the untrusted VM I get the following > error: > > dom0$ qvm-usb -a untrusted sys-usb:4-1 > ERROR: Device attach failed: sh: printf: I/O error > > untrusted$ dmesg > <...> > [ 7482.281057] vhci_hcd: connection closed > [ 7482.281166] vhci_hcd: stop threads > [ 7482.281197] vhci_hcd: release socket > [ 7482.281219] vhci_hcd: disconnect device > [ 7489.228732] vhci_hcd: Failed attach request for unsupported USB speed: > super-speed > > sys-usb$ dmesg > <...> > [ 7627.651333] usbip-host 3-2: recv a header, 0 > [ 7627.651449] usbip-host 3-2: lock for reset > [ 7634.596562] usbip-host 4-1: stub up > [ 7634.601226] usbip-host 4-1: recv a header, 0 > [ 7634.705358] usbip-host 4-1: reset SuperSpeed USB device number 3 using > xhci_hcd > [ 7634.716919] usbip-host 4-1: device reset > > Any ideas? I'm using Qubes 3.2RC2. Unfortunately drivers we use (usbip) doesn't support USB3.0 yet. Anyway, for hard drivers, you should use block attach (qvm-block command). https://www.qubes-os.org/doc/usb/#tocAnchor-1-1-5 Stating with Qubes 3.2, it is possible to attach a single USB device to any Qube. While this is useful feature, it should be used with care, because there are many security implications from using USB devices and USB passthrough will expose your target qube for most of them. *If possible, use use method specific for particular device type (for example block devices described above), instead of this generic one.* - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQEcBAEBCAAGBQJXpSXoAAoJENuP0xzK19csyBoH+QFiQKphsMQxV09d88GF4u4D kb4c6eLtx/W6mJ7m0PVyejkXExIaWej0Y1XyQsFAshcw1dpku/OLlFV7GE9gBJ9d Gu0GK/JIjGnULgKmP2F+6mp4KbF5RpzdfFzAakeTWrmgWyNBVRO7a/ick9e/rvvN 1cjf4RMRcNTBiFuFlThRXppT66CmGSCVmxc2G0ufNTgEmVMRtGK7VMw5U2+5wcoy TWzDGgKc1JU1/Yj9XdDFOtCf4MlqMiEP19H6vXhYKkJoDIVCi2+Pktl8HTmB7VMg Sjk0+3cyFgnsV/zj2vs6eUm+Be1hl4oWWgCSrHu4ORD26K4S3dF9pYTp6n/OD3w= =hNr7 -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20160805234855.GW32095%40mail-itl. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Device attached failed with USB3
Hi, When attaching a USB3 hard-drive to the untrusted VM I get the following error: dom0$ qvm-usb -a untrusted sys-usb:4-1 ERROR: Device attach failed: sh: printf: I/O error untrusted$ dmesg <...> [ 7482.281057] vhci_hcd: connection closed [ 7482.281166] vhci_hcd: stop threads [ 7482.281197] vhci_hcd: release socket [ 7482.281219] vhci_hcd: disconnect device [ 7489.228732] vhci_hcd: Failed attach request for unsupported USB speed: super-speed sys-usb$ dmesg <...> [ 7627.651333] usbip-host 3-2: recv a header, 0 [ 7627.651449] usbip-host 3-2: lock for reset [ 7634.596562] usbip-host 4-1: stub up [ 7634.601226] usbip-host 4-1: recv a header, 0 [ 7634.705358] usbip-host 4-1: reset SuperSpeed USB device number 3 using xhci_hcd [ 7634.716919] usbip-host 4-1: device reset Any ideas? I'm using Qubes 3.2RC2. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/6a089818-9785-4311-991a-d4a57b7391f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.