New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows7 HVM: Cannot Mount or Attach USB Devices #1783

Open
dfirence opened this Issue Feb 26, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@dfirence

dfirence commented Feb 26, 2016

Hi,

Thank you for this awesome project. My main use-case for Qubes is to be able to virtualize Windows 7 VMs. Everything is working fine except successfully Attaching USB Devices. Unfortunately, this is a show stopper for me :-(

My Software:

  1. QUBES R3.1.rc2 64 bit
  2. Windows 7 64 Bit SP1 Professional
  3. Qubes Windows Tools installed from your testing repo

My Problem:

  1. I cannot see the attached USB or its contents in my Windows7 HVM. I can attach it via CLI and the VM Manager GUI, but I never see the USB device within the Windows OS.

I can attach the USB Device on other VMs like personal, work and access it's contents via Nautilus file manager. I can't see the USB mounted on the Windows 7_x64_SP1 HVM I created


What I have done:

  1. I have used your recommended steps via CLI with QVM-BLOCK. Here's the output when I run.
    (attached to 'windows7' as 'xvdi')
  2. I have tried attaching the USB drive from the GUI VM Manager. When I do so, I can see the USB is mounted as:
    (attached to 'windows7' as 'xvdi')

I have followed your Documentation steps here:


Your help is greatly appreciated for me to continue on this QUBES Journey :)

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 5, 2016

Member

Unfortunately this probably will not work in the near future. This is one of known issues listed here: https://www.qubes-os.org/doc/releases/3.1/release-notes/
Technically the problem is with Xen block frontend driver (PV disk driver), or its integration into Qubes Windows Tools. The result is random BSODs and/or data corruption. So in default installation this driver is disabled. But without this driver, dynamic block devices can't work.
One workaround is to attach such devices before VM startup (VM settings - advanced tab, or qvm-start --hddisk option). But that may mean a lot of VM restarts (to change that device).

Member

marmarek commented May 5, 2016

Unfortunately this probably will not work in the near future. This is one of known issues listed here: https://www.qubes-os.org/doc/releases/3.1/release-notes/
Technically the problem is with Xen block frontend driver (PV disk driver), or its integration into Qubes Windows Tools. The result is random BSODs and/or data corruption. So in default installation this driver is disabled. But without this driver, dynamic block devices can't work.
One workaround is to attach such devices before VM startup (VM settings - advanced tab, or qvm-start --hddisk option). But that may mean a lot of VM restarts (to change that device).

andrewdavidwong added a commit that referenced this issue Jun 7, 2016

@andrewdavidwong andrewdavidwong added this to the Far in the future milestone Dec 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment