Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-block attach not working in 4.0? #3186
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
Oct 19, 2017
Member
I think this is a duplicate of #3172. Try installing just uploaded xen update and check if that helps. After the update you need to either reboot, or restart libvrtd + qubesd services (in that order).
|
I think this is a duplicate of #3172. Try installing just uploaded xen update and check if that helps. After the update you need to either reboot, or restart libvrtd + qubesd services (in that order). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
joshuathayer
commented
Oct 19, 2017
|
Awesome, that seemed to fix it for both debian and fedora VMs. Thanks. |
joshuathayer
closed this
Oct 19, 2017
andrewdavidwong
added
the
duplicate
label
Oct 19, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Oct 19, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
joshuathayer commentedOct 19, 2017
Qubes OS version:
Qubes 4.0rc1, with dom0 and templates up to date with
current-testingas of today.Affected TemplateVMs:
Not working with fedora-25 or debian-8
Steps to reproduce the behavior:
Attach a USB drive to a free USB port. It's recognized in the USB VM and I can mount the drive there.
qvm-block lin dom0 shows the drive assda, as expected:qvm-block a personal sys-usb:sdain dom0 executes without error. The only thing logged with that command, either onpersonalor in dom0, seems to be two identical lines in dom0 in/var/log/xen/console/guest-sys-usb.log:At this point,
qvm-block lin dom0 shows the drive attached topersonal, as expected:However, nothing is logged in
personalwhen theqvm-block acommand is run, and no new device becomes available.ls /dev/xvdi*shows nothing.Running
xl block-list personalin dom0 is revealing:The new device is in state 3 ("XenbusStateInitialised") rather than state 4 ("XenbusStateConnected"). This seems similar to #2126, which was resolved by running
systemctl restart xendriverdomainin the target VM (in that case, a disposable VM). That command seemed not to help my problem.Expected behavior:
I'd expect running
qvm-block a personal sys-usb:sdain dom0 to cause a new device to appear in thepersonalVM, and to allow that device to be mounted as normal in that VM.Actual behavior:
See above-the device does not appear in the target VM (
personal). Runningxl block personalin dom0 shows the device to be in the wrong state: "XenbusStateInitialized" rather than "XenbusStateonnected".General notes:
I'm on a Thinkpad T440s running Qubes 4.0rc1 with dom0 and the domU templates up to date with
current-testing. The same behavior seems to take place with both debian- and fedora-templated VMs.Related issues:
#2126 seems related- the symptoms match mine closely, but the resolution there did not address my issue.
Thanks!